NEC PD750008 User Manual
Page 48

2 8
µPD750008 USER'S MANUAL
Example 2. The data memory of 00H to FFH is cleared to 0.
CLR1
RBE
CLR1
MBE
MOV
XA,#00H
MOV
HL,#04H
LOOP:
MOV
@HL,A
; (HL) <– A
INCS
HL
; HL <– HL + 1
BR
LOOP
Figure 3-3. Updating Static RAM Addresses
INCS D
DECS D
INCS L
DECS L
INCS D
DECS D
INCS E
DECS E
INCS H
DECS H
INCS L
DECS L
INCS H
DECS H
x 0H
0 x H
F x H
@DL
4-bit transfer
@DE
4-bit transfer
@HL
4-bit
manipulation
8-bit
manipulation
@H + mem.bit
Bit manipulation
Direct
addressing
Bit manipulation
4-bit transfer
8-bit transfer
x FH
DECS DE
INCS DE
DECS HL
INCS HL
Automatic
decrement
Automatic
increment