0011 1100 = 3Ch
Register
, the statement:
5Fh
DA @45h
Op Code: 40 45
adjusts this result so the correct BCD representation is obtained.
0011 1100 = 3Ch
0000 0110 = 06h
0100 0010 = 42h
Register
undefined.
UM001604-0108
contains the value
45F
5Fh
now contains the value
5Fh
, and the result of the addition is stored in Register
. The C, Z, and S Flags are cleared, and V is
42h
®
Z8
CPU
User Manual
Instruction Description
174
Need help?
Do you have a question about the Z8 Series and is the answer not in the manual?