43
µ
PD17062
Example 1. When BANK0 is selected
AND RPL, #0001B ; RP 0000000B; The general-purpose register is allocated in row
; address 0H in BANK0.
ADD 04H, 56H ;
Executing the above instruction adds the contents of address 04H of BANK0, part of the general-purpose
register, to the contents of data memory address 56H, then stores the result into address 04H of the general-
purpose register. See Fig. 6-2.
Fig. 6-2 Execution of Instructions in Example 1
0123456789ABCDEF
0
2
3
4
5
6
7
1
M
RP
0000000B
BANK0
ADD 04H, 56H
System register
Column address
General-purpose register
Row address