9
User's Manual U12326EJ4V0UM
CONTENTS
CHAPTER 1 MEMORY SPACE ...............................................................................................................12
1.1
Memory Spaces ................................................................................................................12
1.2
Internal Program Memory (Internal ROM) Space ..........................................................12
1.3
Vector Table Area.............................................................................................................12
1.4
CALLT Instruction Table Area.........................................................................................12
1.5
CALLF Instruction Entry Area.........................................................................................12
1.6
Internal Data Memory (Internal RAM) Space..................................................................12
1.7
Special Function Register (SFR) Area............................................................................13
1.8
External Memory Space...................................................................................................13
1.9
IEBus
TM
Register Area......................................................................................................13
CHAPTER 2 REGISTERS ........................................................................................................................14
2.1
Control Registers .............................................................................................................14
2.1.1
Program counter (PC) ......................................................................................................... 14
2.1.2
Program status word (PSW) ............................................................................................... 14
2.1.3
Stack pointer (SP)................................................................................................................ 16
2.2
General-Purpose Registers .............................................................................................17
2.3
Special Function Registers (SFRs).................................................................................19
CHAPTER 3 ADDRESSING.....................................................................................................................20
3.1
Instruction Address Addressing.....................................................................................20
3.1.1
Relative addressing............................................................................................................. 20
3.1.2
Immediate addressing......................................................................................................... 21
3.1.3
Table indirect addressing ................................................................................................... 22
3.1.4
Register addressing ............................................................................................................ 23
3.2
Operand Address Addressing ........................................................................................24
3.2.1
Implied addressing .............................................................................................................. 24
3.2.2
Register addressing ............................................................................................................ 25
3.2.3
Direct addressing ................................................................................................................ 26
3.2.4
Short direct addressing ...................................................................................................... 27
3.2.5
Special-function register (SFR) addressing...................................................................... 28
3.2.6
Register indirect addressing .............................................................................................. 29
3.2.7
Based addressing................................................................................................................ 30
3.2.8
Based indexed addressing ................................................................................................. 30
3.2.9
Stack addressing ................................................................................................................. 31
CHAPTER 4 INSTRUCTION SET ............................................................................................................32
4.1
Operation ..........................................................................................................................32
4.1.1
Operand identifiers and description methods .................................................................. 32
4.1.2
Description of “operation” column.................................................................................... 33
4.1.3
Description of “flag operation” column ............................................................................ 33
4.1.4
Description of number of clocks........................................................................................ 34
4.1.5
Instructions listed by addressing type .............................................................................. 34
4.2
Instruction Codes.............................................................................................................38
4.2.1
Description of instruction code table ................................................................................ 38
4.2.2
Instruction code list............................................................................................................. 39