EasyManuals Logo

ZiLOG Z8 Technical Manual

ZiLOG Z8
166 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
Page #81 background imageLoading...
Page #81 background image
",
SWAP
dst
Instruction
For.at:
OPC
Operation:
Flags:
Exmaple:
Note:
SWAP
Swap Nibbles
OPC
Address
Mode
Cycles
(Hex)
dst
I
I
dst
B
ro
R
B
F1
IR
dst(O - 3)
<-->
dst(4
-
7)
The
contents
of
the
lower four
bits
and upper four
bits
of
the
destination
operand
are
swapped.
C:
Undefined
Z:
Set
if
the
result
is
zero;
cleared
otherwise
V:
Undefined
S:
Set
if
the
result
bit
7
is
set;
cleared
otherwise
H:
Unaffected
0:
Unaffected
Suppose
the
register
named
BCD_nperands
contains
~B3
(10110011).
The
statement
SWAP
BCD_Operands
will
leave
the
value
%38
(00111011)
in
the
register.
The
Z and S
flags
are
cleared.
When
used
to
specify
a
4-bit
working-register
address,
address
modes
R
or
IR
use
the
format:
E
dst
5-47

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 and is the answer not in the manual?

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals