![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268748.webp)
709
Table Data Processing Instructions
Section 3-17
Description
PUSH(632) writes the content of S to the address indicated by the stack
pointer (TB+3 and TB+2) and increments the stack pointer by one.
After PUSH(632) has been used to write data into a stack, FIFO(633) and
LIFO(634) can be used to read data from the stack.
Flags
Precautions
The stack must be defined in advance with SSET(630).
Index Registers
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
TB
S
m
n
n
m
D
D+1
D+2
D+3
S
m
m+1
n
n
m+1
D
D+1
D+2
D+3
A
A
A
PLC memory
address
PLC
memory
Write A.
Pointer
Increment
pointer by 1.
Pointer
Name
Label
Operation
Error Flag
ER
ON if the address specified by the stack pointer (TB+3
and TB+2) exceeds the last word in the stack.
(This is a stack overflow error.)
OFF in all other cases.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...