as
understands the following addressing modes for the SH.
R
n in the following refers to any of the numbered
registers, but not the control registers.
R
n
@R
n
@-R
n
@R
n
+
@(
disp
, R
n
)
@(R0, R
n
)
@(
disp
, GBR)
GBR
offset
@(R0, GBR)
@(
disp
, PC)
as
implementation allows you to use the simpler form
addr anywhere a PC relative address is called for; the alternate
form is supported for compatibility with other assemblers.
#
imm
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.