??? 01/10/08 18:11 Read: times |
#149252 - Not quite ... Responding to: ???'s previous message |
Brett said:
How can AC be set when the MSB of the lower nibble of ACC is set? It's not possible, so this case is not accounted for. Not true. It's easy to have both AC and the MSB of the lower nibble set following an addition. For example: MOV A,#0Ch ADD A,#0ChBut this is not a valid BCD addition, so maybe we're still on the right track. By the way, I just checked the data sheet for the C8051F120 and it doesn't say anything about its interpretation of DA A being anything other than biblical. So I think there's still an open question, even if it's just an issue with the SiLabs documentation. -- Russ PS: Are you Brett the apps guy from SiLabs? |