Section number Title Page
9.3 Addressing Modes.......................................................................................................................................................... 117
9.3.1 Inherent Addressing Mode (INH)....................................................................................................................118
9.3.2 Relative Addressing Mode (REL)....................................................................................................................118
9.3.3 Immediate Addressing Mode (IMM)...............................................................................................................118
9.3.4 Direct Addressing Mode (DIR)........................................................................................................................119
9.3.5 Extended Addressing Mode (EXT)..................................................................................................................119
9.3.6 Indexed Addressing Mode............................................................................................................................... 120
9.3.6.1 Indexed, No Offset (IX)...............................................................................................................120
9.3.6.2 Indexed, No Offset with Post Increment (IX+)............................................................................120
9.3.6.3 Indexed, 8-Bit Offset (IX1)..........................................................................................................120
9.3.6.4 Indexed, 8-Bit Offset with Post Increment (IX1+)...................................................................... 121
9.3.6.5 Indexed, 16-Bit Offset (IX2)........................................................................................................121
9.3.6.6 SP-Relative, 8-Bit Offset (SP1)................................................................................................... 121
9.3.6.7 SP-Relative, 16-Bit Offset (SP2)................................................................................................. 122
9.3.7 Memory to memory Addressing Mode............................................................................................................122
9.3.7.1 Direct to Direct.............................................................................................................................122
9.3.7.2 Immediate to Direct..................................................................................................................... 122
9.3.7.3 Indexed to Direct, Post Increment................................................................................................122
9.3.7.4 Direct to Indexed, Post-Increment............................................................................................... 123
9.4 Operation modes............................................................................................................................................................. 123
9.4.1 Stop mode........................................................................................................................................................ 123
9.4.2 Wait mode........................................................................................................................................................123
9.4.3 Background mode............................................................................................................................................ 124
9.4.4 Security mode.................................................................................................................................................. 125
9.5 HCS08 V6 Opcodes........................................................................................................................................................127
9.6 Special Operations.......................................................................................................................................................... 127
9.6.1 Reset Sequence................................................................................................................................................ 127
9.6.2 Interrupt Sequence........................................................................................................................................... 127
9.7 Instruction Set Summary.................................................................................................................................................128
MC9S08PB16 Reference Manual, Rev. 2, 10/2019
8 NXP Semiconductors