~R
NC,
Operation
:
If C
=
1,
continue
If C
=
0, PC
+
--
PC
+
e
I
0
: 0
> > :
0 :
a: a:
0
I
30
I'; :
:e-2: : : •.
I
This
instruction
provides
for
conditional
branching
t
o
o
ther
segments
of
a
program
depending
on
the
results
of
a
test
on
the
Carry
Flag
.
If
the
flag
is
equal
to
'
0
',
t
h
e
val
u
e
of
the
displacement
e
is
added
to
the
Progr
am
Counter
(PC)
and
the
next
instruction
is
fetched
from
the
location
designated
by
the
new
contents
of
the
PC
.
The
jump
is measured
from
the
address
of
the
instruct
ion
opcode
and
has
a range
of
-126
to +129
bytes.
The
as
s
e
mbl
e
r
ca
l
c
ul
a
t
e
s th
e
di
s
pla
ce
m
e
nt
e
a
nd
automati
c
all
y
a
dj
usts
fo
r
th
e
t
w
ic
e
in
c
rement
e
d
P
C.
I
f
the
flag
is
equal
to
a
'1',
the
next
instruction
t
o
be
executed
is
taken
from
the
location
following
this
instr
u
c
tion.
The
Carry
Flag
is
reset
and
it
is
required
to
repeat
t
he
jump
instruction.
The
assembly
la
n
guage
statement
is
:
Содержание ATES Z80
Страница 1: ......
Страница 5: ......
Страница 6: ...Juanlurn c cc r 11 SoJt 391262 Jr ml tOl...
Страница 32: ......
Страница 38: ...If Address 2130ll contains 65ll and address 2131H contains 78ll after the instruction...
Страница 56: ......
Страница 79: ......
Страница 80: ......
Страница 82: ...If the contents of the Accumulator are 44H and the contents of register Care IlH after the execution of...
Страница 86: ...10050 is 220 after the execution of ADD A IX SH the contents of the Accumulator will be 33H...
Страница 88: ......
Страница 104: ...If the contents of register Dare 280 after the execution of...
Страница 112: ......
Страница 117: ...Example If the contents of the Accumulator are...
Страница 119: ...SCF S z H P V N C Not affected Not affected Rese t Not affected Re se t Set...
Страница 127: ......
Страница 128: ......
Страница 130: ...If register pair HL contains the integer 42428 and register pair DE contains IlllH after the execution of...
Страница 132: ...If the register pair BC contains 2222H register pair HL contains 5437H and the Carry Flas is set after the execution of...
Страница 136: ...If the contents of Index Register IX are 333H and the contents of register pair Be are 5555H after the execution of...
Страница 138: ...If the contents of Index Register IY are 333H and the contents of register pair Be are SSSH after the execution of...
Страница 140: ...INC x 11 0 a I DO I0 a a a a I 23 If the Index Register IX contains the integer 3300H after the execution of...
Страница 141: ...INC IY I 1 0 1 I FD I 0 a a a a I 23 If the contents of the Index Register are 2977H after the execution of...
Страница 143: ...DEe IX 1 1 0 1 1 1 0 1 I DO I0 0 1 0 1 0 1 I 2B If the contents of Index Register IX are 2006ll after the execution of...
Страница 144: ...DEe IY I 1 0 I FD I 0 a a a I 28 If the contents of the Index Register IY are 7649H after the execution of...
Страница 145: ......
Страница 146: ......
Страница 148: ...Example If the contents of the Accumulator are...
Страница 150: ...If the contents of the Accumulator and the Carry Flag are the contents of the Accumulator and the Carry Flag will be...
Страница 152: ...the contents of the Accumulator and the Carry Flag will be...
Страница 154: ...If the contents of the Accumulator and the Carry Flag are the contents of the Accumulator and the Carry Flag will be...
Страница 185: ......
Страница 186: ......
Страница 203: ......
Страница 204: ......
Страница 212: ...The resulting object code and PC after the jump are shown below 480 LABEL JR NC LABEL 30 PC after jump 481 00...
Страница 214: ...The resulting object code and final PC value is shown below 300 JR Z LPBEL 301 302 303 304 305 LABEL...
Страница 216: ...The resulting object code and final PC value is shown below 47C LABEL 47D 47E 47F 480 JR NZ LABEL 481...
Страница 222: ......
Страница 237: ......
Страница 238: ......
Страница 243: ...memory location lOOOH will contain 7BH the HL register pair will contain lOOlH and register B will contain OFH...
Страница 261: ......
Страница 262: ......
Страница 267: ......