|
|||||||||||
Technical Support Support Resources
Product Information |
A51: Moving Carry Bit into AccumulatorInformation in this article applies to:
QUESTIONI want to move the carry bit into the accumulator in 8051 assembly, but I keep getting a syntax error. What instruction should I use? ANSWERThe Intel data book uses the syntax CY for carry bit. However, the Keil assembler uses C for the carry bit. To correctly implement this instruction in A51, use the following code:
MORE INFORMATION
Last Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.