User’s Manual U11047EJ3V0UM00
11
CONTENTS
CHAPTER 1 MEMORY SPACE................................................................................................................ 15
1.1
Memory Space........................................................................................................................................... 15
1.2
Internal Program Memory (Internal ROM) Space ................................................................................... 15
1.3
Vector Table Area ..................................................................................................................................... 17
1.4
CALLT Instruction Table Area ................................................................................................................. 20
1.5
Internal Data Memory Space .................................................................................................................... 20
1.6
Special Function Register (SFR) Area .................................................................................................... 22
CHAPTER 2 REGISTERS ........................................................................................................................ 23
2.1
Control Registers...................................................................................................................................... 23
2.1.1
Program counter (PC)................................................................................................................... 23
2.1.2
Program status word (PSW) ......................................................................................................... 23
2.1.3
Stack pointer (SP)......................................................................................................................... 24
2.2
General-Purpose Registers...................................................................................................................... 25
2.3
Special Function Registers (SFRs) ......................................................................................................... 27
CHAPTER 3 ADDRESSING ..................................................................................................................... 29
3.1
Addressing of Instruction Address ......................................................................................................... 29
3.1.1
Relative addressing ...................................................................................................................... 29
3.1.2
Immediate addressing .................................................................................................................. 30
3.1.3
Table indirect addressing.............................................................................................................. 31
3.1.4
Register addressing...................................................................................................................... 32
3.2
Addressing of Operand Address............................................................................................................. 33
3.2.1
Direct addressing.......................................................................................................................... 33
3.2.2
Short direct addressing................................................................................................................. 34
3.2.3
Special function register (SFR) addressing .................................................................................. 35
3.2.4
Register addressing...................................................................................................................... 36
3.2.5
Register indirect addressing ......................................................................................................... 37
3.2.6
Based addressing ......................................................................................................................... 38
3.2.7
Stack addressing .......................................................................................................................... 38
CHAPTER 4 INSTRUCTION SET ............................................................................................................. 39
4.1
Operation ................................................................................................................................................... 40
4.1.1
Operand representation and description formats ......................................................................... 40
4.1.2
Description of operation column ................................................................................................... 41
4.1.3
Description of flag column ............................................................................................................ 41
4.1.4
Description of clock column .......................................................................................................... 42
4.1.5
Operation list................................................................................................................................. 43
4.1.6
Instruction list by addressing ........................................................................................................ 48
4.2
Instruction Codes ..................................................................................................................................... 51
4.2.1
Description of instruction code table............................................................................................. 51
4.2.2
Instruction code list ....................................................................................................................... 52
Summary of Contents for 78K/0S Series
Page 2: ...User s Manual U11047EJ3V0UM00 2 MEMO ...
Page 14: ...User s Manual U11047EJ3V0UM00 14 MEMO ...
Page 28: ...User s Manual U11047EJ3V0UM00 28 MEMO ...
Page 118: ...User s Manual U11047EJ3V0UM00 118 MEMO ...
Page 120: ...User s Manual U11047EJ3V0UM00 120 MEMO ...