![SGS ATES Z80 Скачать руководство пользователя страница 235](http://html1.mh-extra.com/html/sgs/ates-z80/ates-z80_instruction-set_1251267235.webp)
RST
p
The
current
Program
Counter
(PC)
contents
are
pushed
onto
the
external
memory
stack,
and
the
page
zero
memory
location
given
by
operand
p ~s
loaded
into
the
PC.
Program
execution
then
begins
with
the
opcode
in
the
address
now
pointed
to
by
PC.
Th~
push
is
performed
b
y
first
decrementing
the
contents
of
the
Stack
Pointer
(SP),
loading
the
high-order
byte
of
PC
into
the
memor
y
address
now
pointed
to
by
SP,
decrementing
SP
again,
and
loading
the
low-order
byte
of
PC
into
the
address
now
pointed
to by
SP.
The
ReSTart
instruction
allows
for
a
jump
to
one
of
eight
addresses
as
shown
in
the
table
below.
The
operand
p
is
assembled
into
the
object
cod
e
using
the
corresponding
T
state.
Note:
Since
all
addresses
are
in
page
zero
of
memory,
the
high
order
byte
of
PC
is
loaded
with
OOR.
The
number
selected
from
the
"p"
column
of
the
table
is
loaded
into
the
low-order
byte
of
PC.
P
OOR
08R
lOR
18R
ZOR
Z!lIl
30R
38Il
000
001
010
011
100
101
110
111
Содержание 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: ......