Maxim Integrated DS4830A Optical Microcontroller User Manual
Page 219
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
f000
1101
ssss
ssss
Example(s):
PUSH GR
; GR=0F3Fh
PUSH #40h
Stack Data:
xxxxh
0040h
SP (after PUSH #40h)
0F3Fh
SP (after PUSH GR)
xxxxh
SP (initial)
xxxxh
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
1000
1100
0000
1101
Example(s):
RET
Code Execution:
Addr (IP)
Opcode
0311h
…
0312h
RET
0103h
…
Stack Data:
xxxxh
xxxxh
0103h
SP (before RET)
xxxxh
SP (after RET)
xxxxh
- DS80C390 (58 pages)
- DS5001FP (26 pages)
- MAX1416 (14 pages)
- MAX5865 (18 pages)
- DS33Z41 (167 pages)
- MAX1202 (7 pages)
- USBTO232 (31 pages)
- HFAN-09.5.0: Pattern Creator/Converter Software (8 pages)
- MAX-IDE MAXQ Microcontrollers (11 pages)
- MAX6876 Power-Supply Tracker/Sequencer (6 pages)
- MAX6877 Power-Supply Tracker/Sequencer (3 pages)
- 78Q8430 ARM9(920T) Linux Driver Diagnostic Guide (19 pages)
- 78Q8430 Software Driver (54 pages)
- 78Q8430 ST 5100/OS-20 with NexGen TCP/IP Stack (28 pages)
- 6612_OMU_S2_URT_V1_13 (56 pages)
- 6612_OMU_S2+2_URT_V1_14 (58 pages)
- 71M6511 Power Meter IC Family Software (137 pages)
- 71M65xx ADM51 ICE Safety Notice (2 pages)
- 71M6511 2-Layer Demo Board (2 pages)
- 71M6511 4-Layer Demo Board (2 pages)
- 78Q8430 Linux Driver ARM Platform (22 pages)
- 71M6513 Demo Board (2 pages)
- 71M6521DE Energy Meter IC Family Software (138 pages)
- 71M6521 Demo Board (2 pages)
- 71M6531 Demo Board (2 pages)
- 71M6531 Energy Meter IC Family Software (116 pages)
- 71M6533 Demo Board (2 pages)
- 71M6534H Demo Board (2 pages)
- 71M6515H Demo Board (2 pages)
- 73S1209F Evaluation Board (2 pages)
- 73S12xxF (38 pages)
- 73S12xxF Software (93 pages)
- 73S1210F Evaluation Board Lite (2 pages)
- 73S1210F Evaluation Board (2 pages)
- 73S1210F Multi-SAM Evaluation Board Lite (2 pages)
- 73S12xxF USB-CCID Linux DFU Host Application (8 pages)
- 73S1215F Device Firmware Upgrade Host Driver/Application (10 pages)
- 73S12xxF USB-CCID Host GUI (22 pages)
- 73S1215F Windows XP 32 USB CCID and DFU Drivers (15 pages)
- 73S1215F CCID USB Linux Driver (16 pages)
- 73S1215F Evaluation Board (2 pages)
- 73S1215F Evaluation Board Lite (2 pages)
- 73S1217F Evaluation Board (2 pages)
- 73S1217F Evaluation Board Lite (2 pages)
- MAXQ Family (216 pages)