Long Addressing Mode
- In this mode, the operand is an address
- Instructions associated with this mode are LCALL and LJMP
- These are 3-byte instructions where the 16-bit address is specified as the operand
- It allows the use of full 64K code space
- Example: LCALL PORT_INIT
PORT_INIT: MOV P0, #0FH
PORT_INIT is a subroutine which can be anywhere in program memory
Related topics:
8051 Addressing Modes | 8051 Register Addressing Mode | 8051 Direct Addressing Mode | 8051 Indirect Addressing Mode | 8051 Immediate Addressing Mode | 8051 Relative Addressing Mode | 8051 Absolute Addressing Mode | 8051 Indexed Addressing Mode | 8051 External Addressing Mode
List of topics: 8051
No comments:
Post a Comment