??? 01/10/08 20:27 Modified: 01/10/08 20:31 Read: times |
#149279 - more to this Responding to: ???'s previous message |
In the cases you were showing before, Case 1 was correct and Case 2 can not occur for BCD addition. You can't have only AC set and have the upper nibble be empty (0x0A). You can have AC and C set and have the upper nibble be empty but this can't be done with BCD addition.
if the 0xa is produced as below, DA does, indeed, produce 0x10 mov a,#9 add a,#1 da a evidently there is some flase flagging going on in some of the examples and, I do believe, false flaggin is not allowed by the Geneva Convention. Erik |