Appendices
A MCS51 Instruction Set
Notes
Notes
Rn | Register R7–R0 of currently selected register bank |
direct | 8-bit internal data location’s address |
@Ri | Internal RAM location 0–255 addressed indirectly through R7–0 |
#data | 8-bit constant included in instruction |
#data16 | 16-bit constant included in instruction |
addr16 | 16-bit destination address (used in LCALL & LJMP) |
addr11 | 11-bit destination address (used in ACALL & AJMP) |
rel | Signed (2’s complement) 8-bit offset byte (SJMP) |
bit | Direct addressed bit in internal data RAM or Special Function Register |
Arithmetic Operations
Arithmetic Operations
ADD | A,Rn | Add register n to A |
ADD | A,direct | Add direct byte to A |
ADD | A,@Ri | Add indirect RAM to A |
ADD | A,#data | Add immediate data ... |
Get Microcontroller Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.