EasyManua.ls Logo

Intel 8080 - ADI

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...
ADI
Chapter
3.
Instruction
Set
Examples:
Assume
that
the
accumulator
contains
6CH
and
register
D
contains
2EH.
The
instruction
ADD
D
performs
the
addition
as
follows:
2EH
001
0111
0
6CH
011011
00
9AH
1001
1010
The
accumulator
contains
the
value
9AH
following
execution
of
the
ADD
D
instruction.
The
contents
of
the
D
register
remain
unchanged.
The
condition
flags
are
set
as
follows:
Carry
0
Sign 1
Zero
0
Parity
=::
Aux.
Carry
The
following
instruction
double~
the
contents
of
the
accumulator:
ADD
A
ADD
IMMEDIATE
ADI
adds
the
contents
of
the
second
instruction
byte
of
the
contents
of
the
accumulator
and
stores
the
result
in
the
accumulator.
Opcode
Operand
ADI
data
The
operand
specifies
the
actual
data
to
be
added
to
the
accumulator.
This
data
may
be in
the
form
of
a
number,
an
ASCII
constant,
the
label
of
a
previously
defined
value,
or
an
expression.
The
data
may
not
exceed
one
byte.
The
assembler's
relocation
feature
treats
all
external
and
relocatable
symbols
as
16-bit
addresses.
When
one
of
these
symbols
appears
in
the
operand
expression
of
an
immediate
instruction,
it
must
be
preceded
by
either
the
HIGH
or
LOW
operator
to
specify
which
byte
of
the
address
is
to
be
used
in
the
evaluation
of
the
expression.
When
neither
operator
is
present,
the
assembler
assumes
the
LOW
operator
and
issues
an
error
message.
000
data
Cycles:
Sta
tes:
Addressing:
Flags:
o
2
7
immediate
Z,S,P,CY,AC
3-5

Table of Contents

Related product manuals