Intel 8080 Laptop User Manual


 
Stack, I/O,
and
Machine Control Group:
FLAG
WORD
This
group
of
instructions
performs
I/O,
manipulates
the
Stack,
and
alters
internal
control
flags.
Unless
otherwise
specified,
condition
flags
are
not
affected
by
any
instructions
in
this
group.
D1
Do
PUSH
rp
(Push)
((SP) -
1)
~
(rh)
((SP) -
2)
~
(rl)
(SP)
~
(SP) - 2
The
content
of
the
high-order register
of
register pair
rp
is
moved
to
the
memory
location
whose
address
is
one
less
than
the
content
of
register SP.
The
content
of
the
low-order register
of
register pair
rp
is
moved
to
the
memory
location
whose
address
is
two
less
than
the
content
of
register SP.
The
cont~nt
of
reg-
ister SP
is
decremented
by
2.
Note:
Register
pair
rp
=
SP
may
not
be specified
..
POP
rp
(Pop)
(rl)
~((SP))
(rh)
~
((SP) + 1)
(SP)
~
(SP) + 2
The
content
of
the
memory
location,
whose
address
is
specified by
the
content
of
register SP,
is
moved
to
the
low-order register
of
register pair rp.
The
content
of
the
memory
location,
whose
address
is
one
more
than
the
content
of
register SP,
is
moved
to
the
high-
order
register
of
register pair rp.
The
content
of
reg-
ister SP
is
incremented
by
2.
Note:
Register
pair
rp
=
SP
may
not
be
specified.
3
10
reg.
indirect
none
1
I
1
I
R
P
I
0 0
Cycles:
3
States:
11
Addressing:
reg.
indirect
Flags:
none
I 1
P
Cycles:
States:
Addressing:
Flags:
o
o
o
I 1
PUSH
PSW
(Push
processor
status
word)
((SP)
-1)
~
(A)
((SP) -
2)0
..-
(CY) , ((SP) -
2)
1
~
1
((SP) -
2)2
~
(P),
((SP) -
2)3
~
0
((SP) -
2)4
~
(AC) , ((SP) - 2)5
~
0
((SP) -
2)6
..-
(Z),
((SP) -
2)7
~
(S)
(SP)
~
(SP) - 2
The
content
of
register A
is
moved
to
the
memory
location
whose
address
is
one
less
than
register SP.
The
contents
of
the
condition
flags
are
assembled
into
a processor
status
word
and
the
word
is
moved
to
the
memory
location
whose
address
is
two
less
than
the
content
of
register SP.
The
content
of
reg-
ister
SP
is
decremented
by
two.
POP
PSW
(Pop
processor
status
word)
(CY)
~
((SP))O
(P)
..-
((SP))2
(AC)
~
((SP))4
(Z)
~
((SP))6
(S)
~
((SP))7
(A)
...-
((SP) +
1)
(SP)
...-
(SP) + 2
The
content
of
the
memory
location
whose
address
is
specified by
the
content
of
register
SP
is
used
to
restore
the
condition
flags.
The
content
of
the
mem-
ory
location
whose
address
is
one
more
than
the
content
of
register SP
is
moved
to
register A.
The
content
of
register SP
is
incremented
by
2.
3
10
reg.
indirect
Z,S,P,CY
,Ae
o
I 1
Cycles:
States:
Addressing:
Flags:
I 1
3
11
reg.
indirect
none
Cycles:
States:
Addressing:
Flags:
1 I 1 I
4-13