529
CHAPTER 28 INSTRUCTION OPERATION
User’s Manual U12697EJ3V0UM
(3) 24-bit data transfer instruction: MOVG
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
MOVG
rg, #imm24
5
rg
←
imm24
rg, rg'
2
rg
←
rg'
rg, !!addr24
5
rg
←
(addr24)
!!addr24, rg
5
(addr24)
←
rg
rg, saddrg
3
rg
←
(saddrg)
saddrg, rg
3
(saddrg)
←
rg
WHL, [%saddrg]
3/4
WHL
←
((saddrg))
[%saddrg], WHL
3/4
((saddrg))
←
WHL
WHL, mem1
2-5
WHL
←
(mem1)
mem1, WHL
2-5
(mem1)
←
WHL
(4) 8-bit data exchange instruction: XCH
Mnemonic
Operand
Bytes
Operation
Flag
S
Z
AC P/V CY
XCH
r, r'
2/3
r
↔
r'
A, r
1/2
A
↔
r´
A, saddr2
2
A
↔
(saddr2)
r, saddr
3
r
↔
(saddr)
r, sfr
3
r
↔
sfr
saddr, saddr'
4
(saddr)
↔
(saddr')
r, !addr16
4
r
↔
(addr16)
r, !!addr24
5
r
↔
(addr24)
A, [saddrp]
2/3
A
↔
((saddrp))
A, [%saddrg]
3/4
A
↔
((saddrg))
A, mem
2-5
A
↔
(mem)
Содержание mPD784225 Series
Страница 2: ...2 User s Manual U12697EJ3V0UM MEMO...