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
232
the operand. For example, if Working Register R12 (CH) is the destination operand, then
ECh is used as the destination operand in the Op Code.
Example 1
If the contents of Working Register R6 are 31h (00110001B), the statement:
SRA R6
Op Code: D0 E6
leaves the value 98h (00011000) in Working Register R6. The C Flag is set, and the Z, V,
and S Flags are cleared.
Example 2
If Register C6 contains the value DFh, and Register DFh contains the value B8h
(10111000B)
, the statement:
SRA @C6
Op Code: D1 C6
leaves the value DCh (11011100B) in Register DFh. The C, Z, and V Flags are reset, and
the S Flag is set.
Edst

Table of Contents

Related product manuals