528
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
(2) 16-bit data transfer instruction: MOVW
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
MOVW
rp, #word
3
rp
←
word
saddrp, #word
4/5
(saddrp)
←
word
sfrp, #word
4
sfrp
←
word
!addr16, #word
6
(addr16)
←
word
!!addr24, #word
7
(addr24)
←
word
rp, rp'
2
rp
←
rp'
AX, saddrp2
2
AX
←
(saddrp2)
rp, saddrp
3
rp
←
(saddrp)
saddrp2, AX
2
(saddrp2)
←
AX
saddrp, rp
3
(saddrp)
←
rp
AX, sfrp
2
AX
←
sfrp
rp, sfrp
3
rp
←
sfrp
sfrp, AX
2
sfrp
←
AX
sfrp, rp
3
sfrp
←
rp
saddrp, saddrp'
4
(saddrp)
←
(saddrp')
rp, !addr16
4
rp
←
(addr16)
!addr16, rp
4
(addr16)
←
rp
rp, !!addr24
5
rp
←
(addr24)
!!addr24, rp
5
(addr24)
←
rp
AX, [saddrp]
3/4
AX
←
((saddrp))
AX, [%saddrg]
3/4
AX
←
((saddrg))
AX, mem
2-5
AX
←
(mem)
[saddrp], AX
3/4
((saddrp))
←
AX
[%saddrg], AX
3/4
((saddrg))
←
AX
mem, AX
2-5
(mem)
←
AX