[A86] Carry flag
[Prev][Next][Index][Thread]
[A86] Carry flag
I was recently messing around with the flags register, and noticed something
queer with the carry flag. If I load a register with $ff and increment it,
it should set the carry flag. Normally this is true; however, If I "XOR A"
right before loading the register with $ff and incrementing it, the carry
flag is not set. This makes no sense to me since regardless of the fact that
"xor A" resets the carry flag, incrementing $ff should set it again. If
anybody knows why the calculator decides not to set the carry flag, please
respond.
Marc McG
Follow-Ups: