Sonic Alert msm85c154hvs Clock Radio User Manual


 
MSM80C154S/83C154S/85C154HVS
346
87. PUSH data address (Push memory onto stack)
11000000
70
Instruction code
Data address
Operations
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example PUSH P1
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(SP)(SP)+1
((SP))(data address)
:
C AC F0 RS1 RS0 OV F1 P
:
:
:
The stack pointer is incremented by 1, and the specified data
address contents are pushed in the stack addressed by the
stack pointer.
:
11000000
70
Byte 1
Port 1(90H)
11010101
70
2
2
10010000
70
Byte 2
Before execution
Port 1(90H)
11010101
70
After execution
:
Stack pointer
00010000
70
Stack pointer
00010001
70
11H (Stack)
00000000
70
11H (Stack)
11010101
70