EasyManua.ls Logo

Intel 8080 - ORA

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...
Chapter
3.
Instruction
Set
Summary
of
Logical Operations
AN
D produces a one bit
in
the result only when the corresponding bits
in
the test data and the mask data are
one.
OR produces a one bit
in
the result when the corresponding bits
in
either the test data or the mask data are
ones.
Exclusive
OR
produces a one bit only when the corresponding bits
in
the test data and the mask data are
different; i.e., a one bit
in
either the test data or the mask data - but not both - produces a one bit
in
the
result.
AND
1010 1010
0000
1111
0000 1010
OR Register with Accumulator
Op
co
de
ORA
OR
10101010
0000
1111
1010
1111
Operand
reg
EXCLUSIVE OR
10101010
0000
1111
10100101
The operand must specify one
of
the registers A through
E,
H or
L.
This instruction ORs the contents
of
the
specified register and the accumulator and stores the result
in
the accumulator. The carry and auxiliary carry
flags are reset
to
zero.
o
Cycles:
States:
Addressing:
Flags:
OR
Memory with Accumulator
Opcode
ORA
o S
<~
1
4
register
Z,S,P,CY,AC
Operand
M
The contents
of
the memory location specified
by
the
Hand
L registers are inclusive-ORed with the contents
of
the accumulator. The result
is
stored
in
the accumulator. The carry and auxiliary carry flags are reset to zero.
~
___
0
________
0
______
1_~
Cycles:
States:
Addressing:
Flags:
2
7
register indirect
Z,S,P,CY,AC
3-39

Table of Contents

Related product manuals