![Omron CJ1G-CPU series Programming Manual Download Page 140](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489140.webp)
119
Table Data Processing Instructions
Section 3-15
STACK SIZE
READ
(CS1-H, CJ1-H,
or CJ1M only)
SNUM
@SNUM
638
Counts the amount of stack data (number of words) in the specified stack.
Output
required
STACK DATA
READ
(CS1-H, CJ1-H,
or CJ1M only)
SREAD
@SREAD
639
Reads the data from the specified data element in the stack. The offset value
indicates the location of the desired data element (how many data elements
before the current pointer position).
Output
required
STACK DATA
OVERWRITE
(CS1-H, CJ1-H,
or CJ1M only)
SWRIT
@SWRIT
640
Writes the source data to the specified data element in the stack (overwriting the
existing data). The offset value indicates the location of the desired data element
(how many data elements before the current pointer position).
Output
required
STACK DATA
INSERT
(CS1-H, CJ1-H,
or CJ1M only)
SINS
@SINS
641
Inserts the source data at the specified location in the stack and shifts the rest of
the data in the stack downward. The offset value indicates the location of the
insertion point (how many data elements before the current pointer position).
Output
required
STACK DATA
DELETE
(CS1-H, CJ1-H,
or CJ1M only)
SDEL
@SDEL
642
Deletes the data element at the specified location in the stack and shifts the rest
of the data in the stack upward. The offset value indicates the location of the
deletion point (how many data elements before the current pointer position).
Output
required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
TB: First stack
address
D: Destination
word
SNUM(638)
TB
D
TB: First stack
address
C: Offset value
D: Destination
word
SREAD(639)
TB
C
D
TB: First stack
address
C: Offset value
S: Source data
SWRIT(640)
TB
C
S
TB: First stack
address
C: Offset value
S: Source data
SINS(641)
TB
C
S
TB: First stack
address
C: Offset value
D: Destination
word
SDEL(642)
TB
C
D
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...