
UM008007-0715 Z80 Instruction Description
Z80 CPU
User Manual
239
P/V is set if the parity of the Accumulator is even after an operation; otherwise, it is reset.
N is reset.
C is not affected.
Example
The HL register pair contains 5000h and the Accumulator and memory location 5000h
contain the following data.
Upon the execution of an RRD instruction, the Accumulator and memory location
5000h
now contain:
10 0 00100
76 4 10253
Accumulator
00 0 00010
76 4 10253
(5000h)
10 0 00000
76 4 10253
Accumulator
01 0 10000
76 4 10253
(5000h)
Comentários a estes Manuais