1
Vote

Subtraction of a Zero sets the Carry Flag

description

I've noticed that when subtracting a Zero from A, the Carry flag gets set.

eg:

MVI A, 1H
SUI 0

The Carry Flag gets set.

Unluckily, I dont have a real 8085 to try it out, but on an Emulator the same operation didnt set the carry flag.

Regards,
Asaad

comments