48
CHAPTER 3 CPU
3.3
General-purpose Register
The general-purpose register is a memory block allocated to addresses "000180
H
" to
"00037F
H
" in the internal RAM in 1 bank units of 16 bits x 8.
• General-purpose 8-bit register (byte registers R0 to R7)
• 16-bit register (word registers RW0 to RW7)
• 32-bit register (long-word registers RL0 to RL7)
■
Configuration of General-purpose Register
General-purpose registers are provided as 32 banks in the internal RAM from "000180
H
" to "00037F
H
".
The banks that are used are set by the register bank pointer (RP). The current banks are indicated by
reading the register bank pointer (RP).
The register bank pointer (RP) determines the starting address of each bank as the following expression.
Starting address of general-purpose register = 000180
H
+ RP x 10
H
Figure 3.3-1 shows the allocation and configuration of the general-purpose register banks in memory space.
Figure 3.3-1 Allocation and Configuration of General-Purpose Register Banks in Memory Space
Note:
The register bank pointer (RP) is initialized to "00000
B
" by a reset.
Internal RAM
Register bank 31
Register bank 30
Register bank 21
Register bank 20
Register bank 19
Register bank 1
Register bank 2
Register bank 0
R6
R7
R5
R3
R1
R0
R2
R4
RW3
RW2
RW1
RW0
RL3
RW6
RW5
RW4
RL2
RL1
RL0
RW7
Conversion expression [000180
H
+ RP x 10
H
]
R0 to R7: Byte register
RW0 to RW7: Word register
RL0 to RL3: Long word register
000380
H
02CE
H
02CC
H
02CA
H
02C8
H
02C6
H
02C4
H
02C2
H
02C0
H
02CF
H
02CD
H
02CB
H
02C9
H
02C7
H
02C5
H
02C3
H
02C1
H
000370
H
000360
H
0002E0
H
0001B0
H
0001A0
H
000190
H
000180
H
0002D0
H
0002C0
H
0002B0
H
RP
14
H
MSB: Most significant bit
LSB: Least significant bit
LSB
MSB
Byte
address
Byte
address
16bit
Summary of Contents for F2MC-16LX Series
Page 2: ......
Page 3: ...FUJITSU LIMITED F2MC 16LX 16 bit Microcontroller MB90895 series Hardware Manual ...
Page 4: ......
Page 8: ...iv ...
Page 10: ...vi ...
Page 36: ...18 CHAPTER 2 HANDLING DEVICES ...
Page 176: ...158 CHAPTER 3 CPU ...
Page 224: ...206 CHAPTER 5 Timebase timer ...
Page 294: ...276 CHAPTER 8 16 bit reload timer ...
Page 366: ...348 CHAPTER 12 DTP external interrupt ...
Page 398: ...380 CHAPTER 13 8 10 bit A D converter ...
Page 446: ...428 CHAPTER 14 UART0 ...
Page 588: ...570 CHAPTER 17 Address Match Detecting Function ...
Page 626: ...608 CHAPTER 19 512 KBIT FLASH MEMORY ...
Page 676: ...658 APPENDIX Table A 9 3 Bit Operation Instruction Map first byte 6CH ...
Page 678: ...660 APPENDIX Table A 9 5 2 byte Instruction Map first byte 6FH MUL MULW DIVU A A A ...
Page 680: ...662 APPENDIX Table A 9 7 ea Instruction 2 first byte 71H ...
Page 681: ...663 APPENDIX A Instructions Table A 9 8 ea Instruction 3 first byte 72H ...
Page 682: ...664 APPENDIX Table A 9 9 ea Instruction 4 first byte 73H ...
Page 683: ...665 APPENDIX A Instructions Table A 9 10 ea Instruction 5 first byte 74H ...
Page 684: ...666 APPENDIX Table A 9 11 ea Instruction 6 first byte 75H ...
Page 685: ...667 APPENDIX A Instructions Table A 9 12 ea Instruction 7 first byte 76H ...
Page 686: ...668 APPENDIX Table A 9 13 ea Instruction 8 first byte 77H ...
Page 687: ...669 APPENDIX A Instructions Table A 9 14 ea Instruction 9 first byte 78H ...
Page 688: ...670 APPENDIX Table A 9 15 MOVEA RWi ea Instruction first byte 79H ...
Page 689: ...671 APPENDIX A Instructions Table A 9 16 MOV Ri ea Instruction first byte 7AH ...
Page 690: ...672 APPENDIX Table A 9 17 MOVW RWi ea Instruction first byte 7BH ...
Page 691: ...673 APPENDIX A Instructions Table A 9 18 MOV ea Ri Instruction first byte 7CH ...
Page 692: ...674 APPENDIX Table A 9 19 MOVW ea Rwi Instruction first byte 7DH ...
Page 693: ...675 APPENDIX A Instructions Table A 9 20 XCH Ri ea Instruction first byte 7EH ...
Page 694: ...676 APPENDIX Table A 9 21 XCHW RWi ea Instruction first byte 7FH ...
Page 710: ......