EasyManua.ls Logo

Intel 8080 - CMA

Intel 8080
224 pages
Print Icon
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...
CMA
Chapter 3.
Instruction
Set
Although
the
use
of
a label
is
most
common,
the
address may also be specified as a
number
or an expression.
Example:
I--0~
lowaddr
l
high
addr
]
L--_
Cycles:
States:
Addressing:
Flags:
3 or 5 (2
or
5 on
8085)
11
or
17 (9
or
18
on
8085)
immediate/register indirect
none
For
the
sake
of
brevity, an
example
is
given for
the
CALL instruction
but
not
for each
of
its closely related
variants.
COMPLEMENT
ACCUMULATOR
CMA
complements
each
bit
of
the
accumulator
to
produce
the
one's
complement.
All
condition
flags remain
unchanged.
Opcode Operand
CMA
Operands
are
not
permitted
with
the
CMA
instruction.
L-I
0_0
__
0
___
~
Cycles:
States:
4
Flags:
none
To
produce
the
two's
complement,
add
one
to
the
contents
of
the
accumulator
after
the
CMA
instructions
has
been
executed.
Example:
Assume
that
the
accumulator
contains
the
value
51
H; when
complemented
by CMA, it becomes OAEH:
51
H
OAEH
01010001
1010111 0
3-11

Table of Contents

Related product manuals