
DS4830A User’s Guide
219
PUSH src Push Word to the Stack
Description: Increments the stack pointer (SP) and pushes a single word specified by src to the stack
(@SP).
Status Flags: None
Operation: SP ++SP
Encoding: 15 0
Example(s): PUSH GR ; GR=0F3Fh
PUSH #40h
Stack Data:
RET Return from Subroutine
Description: RET pops a single word from the stack (@SP) into the Instruction Pointer (IP) and
decrements the stack pointer (SP). The decremented SP is saved as the new stack pointer
(SP).
Status Flags: None
Operation: IP @ SP--
Encoding: 15 0
Example(s): RET
Code Execution:
Stack Data:
Komentáře k této Příručce