11.4 Data Addressing Modes
Important: The execution of some instructions in the core
PIC18 instruction set are changed when the PIC18 extended instruction set is enabled. See
11.5 Data Memory and the Extended Instruction Set for more information.
Information in the data memory space can be addressed in several ways. For most instructions, the Addressing mode is fixed. Other instructions may use up to three modes, depending on which operands are used and whether or not the extended instruction set is enabled.
The Addressing modes are:
- Inherent
- Literal
- Direct
- Indirect
An additional Addressing mode, Indexed Literal Offset, is available when the extended instruction set is enabled (XINST Configuration bit = 1). Its operation is discussed in greater detail in 11.5.1 Indexed Addressing with Literal Offset.