Shouldn't this code set the zero flag with CMP?
Asked by
BlackCow
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- gnusim8085 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Debjit Biswas
- Solved:
- Last query:
- Last reply:
To post a message you must log in.