First page Back Continue Last page Overview Graphics
The addressing mode determines how the CPU gets the data it needs to execute an instruction.
Types of addressing modes: Examples:
- Inherent ABA, DECA, INX
- Immediate LDAA #30, LDD #$16
- Direct LDD $3f, STX $3f
- Extended LDAB $3425
- Relative BEQ $10
- Indexed ADDA $10,X
- Indexed indirect LDAA [D,X]
The “extended” addressing mode of the 68HC12 is merely a specific case of direct addressing. When indexed addressing is used, pre- or post- incrementing or decrementing can be used to change the contents of the index register.