Subtraction of a Zero sets the Carry Flag

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 Emulat...

Id #7213 | Release: None | Updated: Oct 6, 2016 at 2:27 PM by suleihi | Created: Oct 6, 2016 at 2:27 PM by suleihi

DAA instruction

.. ... ; Cy = 1 (from some previous instr.) MVI A,88h DAA ; result should be EEh, not 52h   Regards, Boris

Id #7212 | Release: None | Updated: Feb 21, 2013 at 11:33 PM by dboris | Created: Sep 4, 2010 at 11:28 AM by dboris

  • 1-2 of 2 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • All
    • Work Items