Chapter
3.
Instruction
Set
JPE
3-30
Cycles:
States:
Addressi
ng:
Flags:
Example:
o 0 0
low
addr
high
addr
3
(2
or 3 on
8085)
10
(7
or 10 on
8085)
immediate
none
EXJmples
of
the variations
of
the jump instruction dPpear
in
the description
of
the J
PO
instruction.
JUMP
IF
PARITY
EVEN
Parity
is
even
if
the
byte
in
the
accumulator
has an even number
of
one bit>. The parity fldg
i~
set
to
one
to
indicate this
condition.
The J
PE
instruction tests the setting of
the
pdrity flag. If the parity flag
is
set to one, program
execution
resumes
dt the dddress specified
in
the J
PE
instruction.
If
the flag
is
re~et
to
fero,
execution
continues
with the next
sequential instruction.
Opcode Operand
JPE
The dddress may be specified as a number, d Idbel, or
an
expres,>ion. The ds>embler inverts the high and low
addre'>s
bytes
when
it
dssembles the instruction.
The J
PE
dnd J
PO
(jump if parity odd) instructions dre especidlly useful for
te<,\ing
the parity
of
input
data.
However, the
IN
imtruction
docs not set dny of the
condition
flag,. The
flag'>
can be
'>et
by adding
OOH
to
the
contents
of
the
accumulator.
Cycle,:
Stdte,>:
Addres,ing:
Flags:
Example:
o
o
o
low addr
high
addr
3
(2
or 3
on
8085)
10
(7 or
10
on
8(85)
immediate
none
Examples of the variations
of
the jump instruction appear
In
the description
of
the JPO instruction.