EasyManua.ls Logo

Intel 8080 - B2_Page_23

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...
JNZ
JP
Chapter 3.
Instruction
Set
Example:
Examples
of
the variations
of
the jump instruction appear
in
the description
of
the J
PO
instruction.
JUMP
IF NOT ZERO
The J
NZ
instruction tests the setting
of
the zero flag. If the
contents
of
the accumulator are
not
zero (zero
flag
= 0), program execution resumes
at
the address specified
in
the
JNZ
instruction. If the
contents
of
the
accumulator
are zero (zero flag = 1), execution continues with the next sequential instruction.
Opcode Operand
JNZ
address
The address may
be
specified as a number, a label, or an expression. The assembler inverts the high and low
address
bytes when
it
assembles the instruction.
Example:
o 0 0 0 0
~-----------------------------
Cycles:
States:
Addressing:
Flags:
lowaddr
high addr
3
(2
or 3 on 8085)
10
(7
or 10 on 8085)
immediace
none
Examples
of
the variation'>
of
the jump instruction appear
in
the description
of
the J
PO
instruction.
JUMP
IF POSITIVE
The J P instruction
te'>t<,
thc setting
of
the sign flag. If thc
contcnts
of
the accumulator are positive (sign
flag
c=
0),
program
cxccution
rcsumes
at
the address specified
in
thc
JP
in~truclion.
If the
contents
of
the accumulator arc
minus (sign flag
= 1), cxecution continues with thr,
next
sequential instruction.
Op co de Operand
JP
addre'>s
The
addrcs,>
may
bc
specificd
a,
a number, a label, or an expre.,,,ion. Thc asscmblcr
invert'>
the high and low urdcl
audrc'>s
bytcs when
it
assembles the instruction.
3-29

Table of Contents

Related product manuals