NEC PD78078 Manuale Utente

Pagina di 627
584
CHAPTER 28   INSTRUCTION SET
28.2  Operation List
Instruction
Mnemonic
Operands
Byte
Clock
Operation
Flag
Group
Note 1
Note 2
Z AC CY
8-bit data
MOV
r, #byte
2
4
 byte
transfer
saddr, #byte
3
6
7
(saddr) 
 byte
sfr, #byte
3
7
sfr 
 byte
A, r
Note 3
1
2
 r
r, A
Note 3
1
2
 A
A, saddr
2
4
5
 (saddr)
saddr, A
2
4
5
(saddr) 
 A
A, sfr
2
5
 sfr
sfr, A
2
5
sfr 
 A
A, !addr16
3
8
9 + n
 (addr16)
!addr16, A
3
8
9 + m
(addr16) 
 A
PSW, #byte
3
7
PSW 
 byte
x
x
x
A, PSW
2
5
 PSW
PSW, A
2
5
PSW 
 
A
x
x
x
A, [DE]
1
4
5 + n
 (DE)
[DE], A
1
4
5 + m
(DE) 
 A
A, [HL]
1
4
5 + n
 (HL)
[HL], A
1
4
5 + m
(HL) 
 A
A, [HL + byte]
2
8
9 + n
 (HL + byte)
[HL + byte], A
2
8
9 + m
(HL + byte) 
 A
A, [HL + B]
1
6
7 + n
 (HL + B)
[HL + B], A
1
6
7 + m
(HL + B) 
 A
A, [HL + C]
1
6
7 + n
 (HL + C)
[HL + C], A
1
6
7 + m
(HL + C) 
 A
XCH
A, r
Note 3
1
2
 r
A, saddr
2
4
6
 (saddr)
A, sfr
2
6
 sfr
A, !addr16
3
8
10+n+m A 
 (addr16)
A, [DE]
1
4
6+n+m
 (DE)
A, [HL]
1
4
6+n+m
 (HL)
A, [HL + byte]
2
8
10+n+m A 
 (HL + byte)
A, [HL + B]
2
8
10+n+m A 
 (HL + B)
A, [HL + C]
2
8
10+n+m A 
 (HL + C)
Notes 1. For instructions that access the internal high-speed RAM area or perform no data access
2. For instructions that access an area other than the internal high-speed RAM area
3. Except when “r = A”
Remarks 1. One clock in the “Clock” columns is equal to one cycle of the CPU clock (f
CPU
) selected by the processor
clock control register (PCC).
2. The values in the “Clock” column assumes that the internal ROM area contains programs.
3. n indicates wait cycles to be inserted when an external expansion memory area is read from.
4. m indicates wait cycles to be inserted when an external expansion memory area is written to.