??? 01/11/08 20:10 Read: times |
#149324 - DAA on other Architectures Responding to: ???'s previous message |
After going through this thread I was interested on how some other microcontrollers implement the DAA instruction. I am currently not using an 8051 based devices where I work so I took a look at the documentation for an 8-bit Freescale part we are currently using. It seems it works in the same way as the SiLabs part that was tested here but has a more complete description of how it handles it's DAA command. At the following link on pages 107, 246 and 247 (this one really describes the operation) you can find the relevant information. Too bad the bible wasn't this indepth about the DA implementation for 8051's.
*HCS08 C-Bit = C for 8051's and *HCS08 H-Bit = AC for 8051's. Freescale HCS08 Instruction Set |