527
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
28.2 List of Operations
(1) 8-bit data transfer instruction: MOV
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
MOV
r, #byte
2/3
r
←
byte
saddr, #byte
3/4
(saddr)
←
byte
sfr, #byte
3
sfr
←
byte
!addr16,, #byte
5
(saddr16)
←
byte
!!addr24, #byte
6
(addr24)
←
byte
r, r'
2/3
r
←
r'
A, r
1/2
A
←
r
A, saddr2
2
A
←
(saddr2)
r, saddr
3
r
←
(saddr)
saddr2, A
2
(saddr2)
←
A
saddr, r
3
(saddr)
←
r
A, sfr
2
A
←
sfr
r, sfr
3
r
←
sfr
sfr, A
2
sfr
←
A
sfr, r
3
sfr
←
r
saddr, saddr'
4
(saddr)
←
(saddr')
r, !addr16
4
r
←
(addr16)
!addr16, r
4
(addr16)
←
r
r, !!addr24
5
r
←
(addr24)
!!addr24, r
5
(addr24)
←
r
A, [saddrp]
2/3
A
←
((saddrp))
A, [%saddrg]
3/4
A
←
((saddrg))
A, mem
1-5
A
←
(mem)
[saddrp], A
2/3
((saddrp))
←
A
[%saddrg], A
3/4
((saddrg))
←
A
mem, A
1-5
(mem)
←
A
PSWL #byte
3
PSW
L
←
byte
×
×
×
×
×
PSWH #byte
3
PSW
H
←
byte
PSWL, A
2
PSW
L
←
A
×
×
×
×
×
PSWH, A
2
PSW
H
←
A
A, PSWL
2
A
←
PSW
L
A, PSWH
2
A
←
PSW
H
r3, #byte
3
r3
←
byte
A, r3
2
A
←
r3
r3, A
2
r3
←
A