105
CPU System Functions
Chapter 3
Preliminary User’s Manual U17566EE1V2UM00
3.2 CPU Register Set
There are two categories of registers:
• General purpose registers
• System registers
All registers are 32-bit registers. An overview is given in the figure below. For
details, refer to V850E1 User’s Manual Architecture.
Figure 3-2
CPU register set
Some registers are write protected. That means, writing to those registers is
protected by a special sequence of instructions. Refer to
“Write Protected
Registers“ on page 124
for more details.
r0
r1
r2
r3
r4
r5
r6
r7
r8
r9
r1 0
r1 1
r1 2
r1 3
r1 4
r1 5
r1 6
r1 7
r1 8
r1 9
r2 0
r2 1
r2 2
r2 3
r2 4
r2 5
r2 6
r2 7
r2 8
r2 9
r3 0
r3 1
3 1
0
3 1
0
(Zero Register)
(Reserved for Assembler)
(Interrupt Stack Pointer)
(Stack Pointer (SP))
(Global Pointer (GP))
(Text Pointer (TP))
(Element Pointer (EP))
(Link Pointer (LP))
(Program Counter)
PC
(CALLT Base Pointer)
CTBP
(Status Saving Register during exception/debug trap)
DBPSW
(Status Saving Register during exception/debug trap)
DBPC
(Status Saving Register during CALLT execution)
CTPSW
(Status Saving Register during CALLT execution)
CTPC
(Program Status Word)
PSW
(Interrupt/Execution Source Register)
ECR
(Status Saving Register during NMI)
FEPSW
(Status Saving Register during NMI)
FEPC
(Status Saving Register during interrupt)
EIPSW
(Status Saving Register during interrupt)
EIPC
electronic components distributor