Renesas R8C/Tiny Series Software Manual page 43

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 the displace-
dsp:8[A0]
ment (dsp) plus the content of the
dsp:8[A1]
address register (A0/A1)—added
dsp:16[A0]
without the sign bits—is the effective
address for the operation.
dsp:16[A1]
However, if the addition results in a
value exceeding 0FFFF
above are ignored, and the address
returns to 00000
SB relative
The address indicated by the content
dsp:8[SB]
of the static base register (SB) plus
dsp:16[SB]
the value indicated by the displace-
ment (dsp)—added without the sign
bits—is the effective address for the
operation.
However, if the addition results in a
value exceeding 0FFFF
above are ignored, and the address
returns to 00000
FB relative
The address indicated by the content
dsp:8[FB]
of the frame base register (FB) plus
the value indicated by the displace-
ment (dsp)—added including the sign
bits—is the effective address for the
operation.
However, if the addition results in a
value outside the range 00000
0FFFF
ignored, and the address returns to
00000
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
, bits 17 and
16
.
16
, bits 17 and
16
.
16
, bits 17 and above are
16
or 0FFFF
.
16
16
page 25 of 263
2.3 General Instruction Addressing
Register
A0 / A1
address
Register
SB
address
If the dsp value is negative
Register
FB
address
to
16
If the dsp value is positive
Memory
dsp
Memory
address
dsp
Memory
dsp
address
dsp

Advertisement

Table of Contents
loading

Table of Contents