![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_521.png)
MB90560 series
APPENDIX B INSTRUCTIONS
497
G
Register indirect addressing with displacement (@RWi+disp8 i = 0 to 7, @RWj+disp16 j =
0 to 3)
This type of addressing accesses memory at an address derived from the contents of the
general-purpose register RWj with a displacement added. Displacements may be either byte or
word length, and are added as signed numerical values. Address bits 16 to 23 are specified by
the DTB register if RW0, RW1, RW4, or RW5 is used, by the SSB or USB register if RW3 or
RW7 is used, and by the ADB register if RW2 or RW6 is used. Figure B.4-3 shows an example
of register indirect addressing with displacement (@RWi+disp8, i = 0 to 7; @RWj+disp16, j = 0
to 3).
Figure B.4-3 Example of register indirect addressing with displacement (@RWi+disp8 i = 0 to 7,
@RWj+disp16 j = 0 to 3)
G
Long-register indirect addressing with displacement (@RLi+disp8 i = 0 to 3)
This type of addressing accesses memory at an address derived by using the lower 24 bits of
the sum of the contents of general-purpose register RLi plus a displacement. The displacement
is 8 bits, and is added as a signed numerical value to the RLi contents. Figure B.4-4 shows an
example of long-register indirect addressing with displacement (@RLi+disp8, i = 0 to 3).
Figure B.4-4 Example of long-word register indirect addressing with displacement(@RLi+disp8 i = 0 to 3)
After execution
Before execution
MOVW A, @RW1+10H (Instruction that reads data by register indirect
addressing with displacement and stores it in A)
Memory space
After execution
Before execution
MOVW A, @RL2+25H (Instruction that reads data by long-word register indirect
addressing with displacement and stores it in a)
Memory space