587
CHAPTER 28 INSTRUCTION SET
Instruction
Mnemonic
Operands
Byte
Clock
Operation
Flag
Group
Note 1
Note 2
Z AC CY
8-bit
OR
A, #byte
2
4
—
A
←
A \/ byte
x
operation
saddr, #byte
3
6
8
(saddr)
←
(saddr) \/ byte
x
A, r
Note 3
2
4
—
A
←
A \/ r
x
r, A
2
4
—
r
←
r \/ A
x
A, saddr
2
4
5
A
←
A \/ (saddr)
x
A, !addr16
3
8
9 + n
A
←
A \/ (addr16)
x
A, [HL]
1
4
5 + n
A
←
A \/ (HL)
x
A, [HL + byte]
2
8
9 + n
A
←
A \/ (HL + byte)
x
A, [HL + B]
2
8
9 + n
A
←
A \/ (HL + B)
x
A, [HL + C]
2
8
9 + n
A
←
A \/ (HL + C)
x
XOR
A, #byte
2
4
—
A
←
A \/ byte
x
saddr, #byte
3
6
8
(saddr)
←
(saddr) \/ byte
x
A, r
Note 3
2
4
—
A
←
A \/ r
x
r, A
2
4
—
r
←
r \/ A
x
A, saddr
2
4
5 + n
A
←
A \/ (saddr)
x
A, !addr16
3
8
9 + n
A
←
A \/ (addr16)
x
A, [HL]
1
4
5 + n
A
←
A \/ (HL)
x
A, [HL + byte]
2
8
9 + n
A
←
A \/ (HL + byte)
x
A, [HL + B]
2
8
9 + n
A
←
A \/ (HL + B)
x
A, [HL + C]
2
8
9 + n
A
←
A \/ (HL + C)
x
CMP
A, #byte
2
4
—
A – byte
x
x
x
saddr, #byte
3
6
8
(saddr) – byte
x
x
x
A, r
Note 3
2
4
—
A – r
x
x
x
r, A
2
4
—
r – A
x
x
x
A, saddr
2
4
5 + n
A – (saddr)
x
x
x
A, !addr16
3
8
9 + n
A – (addr16)
x
x
x
A, [HL]
1
4
5 + n
A – (HL)
x
x
x
A, [HL + byte]
2
8
9 + n
A – (HL + byte)
x
x
x
A, [HL + B]
2
8
9 + n
A – (HL + B)
x
x
x
A, [HL + C]
2
8
9 + n
A – (HL + C)
x
x
x
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.
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...