SPARC General Registers
The following table describes how TotalView treats each general register, and the actions you can take with each register.
Register
Description
Data Type
Edit
Dive
Specify in Expression
G0
Global zero register
$int
no
no
$g0
G1 - G7
Global registers
$int
yes
yes
$g1 - $g7
O0 - O5
Outgoing parameter registers
$int
yes
yes
$o0 - $o5
SP
Stack pointer
$int
yes
yes
$sp
O7
Temporary register
$int
yes
yes
$o7
L0 - L7
Local registers
$int
yes
yes
$l0 - $l7
I0 - I5
Incoming parameter registers
$int
yes
yes
$i0 - $i5
FP
Frame pointer
$int
yes
yes
$fp
I7
Return address
$int
yes
yes
$i7
PSR
Processor status register
$int
yes
no
$psr
Y
Y register
$int
yes
yes
$y
WIM
WIM register
$int
no
no
 
TBR
TBR register
$int
no
no
 
PC
Program counter
$code[]
no
yes
$pc
nPC
Next program counter
$code[]
no
yes
$npc