EasyManua.ls Logo

ZiLOG Z8 Series

ZiLOG Z8 Series
261 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Z8
®
CPU
User Manual
UM001604-0108 Instruction Description
174
0011 1100 = 3Ch
Register 45F contains the value 5Fh, and the result of the addition is stored in Register
5Fh, the statement:
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 5Fh now contains the value 42h. The C, Z, and S Flags are cleared, and V is
undefined.

Table of Contents

Related product manuals