Ok, I'm writing an emulator for a microcontroller and I'm stuck on SBB commands.
If A=0 and B=1 and Carry flag is set. If I do a SBB B the result in a is FE which is correct. The problem is, the half carry flag is setting. Is this correct? Reading the Intel manual it looks like this is correct, but I'm checking my work with Altair32 and it is not setting the HC flag on this.
Thanks,
Vince
If A=0 and B=1 and Carry flag is set. If I do a SBB B the result in a is FE which is correct. The problem is, the half carry flag is setting. Is this correct? Reading the Intel manual it looks like this is correct, but I'm checking my work with Altair32 and it is not setting the HC flag on this.
Thanks,
Vince