8085simulator.github.io icon indicating copy to clipboard operation
8085simulator.github.io copied to clipboard

STAX instruction not working properly

Open cyberjupiter opened this issue 6 years ago • 2 comments

Consider this simple example:

            MVI H,10D
	    MVI A,0FH
	    LXI B,2500H

LOOP:       STAX B
	    INX B
	    DCR H
	    JNZ LOOP

After a complete pass through LOOP, register B should be 2501H which is correct in the registers window and the location 2500H is now written with 0FH. The second time it passes through LOOP, STAX B does not store the data into 2501H but to some other memory location, which is wrong.

cyberjupiter avatar Mar 25 '18 04:03 cyberjupiter

Is the project dead?

cyberjupiter avatar Jun 01 '18 01:06 cyberjupiter

STAX not working confirmed. Will it be fixed?

std044691 avatar May 25 '20 06:05 std044691