gnusim8085-devel team mailing list archive
-
gnusim8085-devel team
-
Mailing list archive
-
Message #00324
[Question #137976]: Shouldn't this code set the zero flag with CMP?
New question #137976 on gnusim8085:
https://answers.launchpad.net/gnusim8085/+question/137976
Not sure if I found a bug or if its my lack of understanding but shouldn't this code set the zero flag on the CMP command?
mvi a, 0dh
sta 08000h
lxi b, 08000h
cmp b ;Shouldn't zero flag be set here?
hlt
--
You received this question notification because you are a member of
GNUSim8085 developers, which is an answer contact for gnusim8085.