8085simulator / 8085simulator.github.io

91 stars 57 forks source link

STAX instruction not working properly #5

Open cyberjupiter opened 6 years ago

cyberjupiter commented 6 years ago

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 commented 6 years ago

Is the project dead?

std044691 commented 4 years ago

STAX not working confirmed. Will it be fixed?