8.27.2.2 Register Names
You can use the predefined symbols r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, and r15 to refer to the SH registers.
The SH also has these control registers:
-
pr
- procedure register (holds return address)
-
pc
- program counter
-
mach
-
macl
- high and low multiply accumulator registers
-
sr
- status register
-
gbr
- global base register
-
vbr
- vector base register (for interrupt vectors)