Renesas R8C/Tiny Series Software Manual page 42

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 2 Addressing Modes
Address register relative
The value indicated by displacement
dsp:8[A0]
(dsp) plus the content of address
dsp:8[A1]
register (A0/A1)—added not including
dsp:16[A0]
the sign bits—constitutes the effective
address to be operated on.
dsp:16[A1]
However, if the addition resulted in
exceeding 0FFFF
17 are ignored, and the address
returns to 00000
SB relative
The address indicated by the content
dsp:8[SB]
of static base register (SB) plus the
dsp:16[SB]
value indicated by displacement
(dsp)—added not including the sign
bits—constitutes the effective address
to be operated on.
However, if the addition resulted in
exceeding 0FFFF
17 are ignored, and the address
returns to 00000
FB relative
The address indicated by the content
dsp:8[FB]
of frame base register (FB) plus the
value indicated by displacement
(dsp)—added including the sign bits—
constitutes the effective address to be
operated on.
However, if the addition resulted in
exceeding 00000
above bit 17 are ignored, and the
address returns to 00000
0FFFF
16
, the bits above bit
16
.
16
, the bits above bit
16
.
16
- 0FFFF
, the bits
16
16
or
16
.
2.3 General Instruction Addressing
Register
A0 / A1
address
Register
SB
address
dsp
If the dsp value is negative
dsp
Register
FB
address
dsp
If the dsp value is positive
25
Memory
dsp
Memory
address
Memory
address

Advertisement

Table of Contents
loading

Table of Contents