198
Chapter 35. Renesas / SuperH SH Dependent Features
35.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)
35.2.3. Addressing Modes
as
understands the following addressing modes for the SH.
Rn
in the following refers to any of the
numbered registers, but not the control registers.
Rn
Register direct
@Rn
Register indirect
@ Rn
Register indirect with pre decrement
@Rn+
Register indirect with post increment
@(disp, Rn)
Register indirect with displacement
@(R0, Rn)
Register indexed
@(disp, GBR)
GBR
offset






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

canadian web hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved