Processing Related To Index Registers - Omron CJ2 CPU - REV 10-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

5-7-3

Processing Related to Index Registers

The CJ-series CPU Unit's Table Data Processing Instructions complement the functions of the Index
Registers. Table Data Processing Instructions can be broadly divided into stack processing instructions
and table processing instructions.
Stack processing
Table pro-
Tables with
cessing
one-word
records
(Range
instructions)
Tables with multiple-word
records
CJ2 CPU Unit Software User's Manual
Processing
Basic pro-
cessing
Special pro-
cessing
5 Understanding Programming
Purpose
Operate FIFO (first-in
SSET(630), PUSH(632), FIFO(633),
first-out) or LIFO (last-in
LIFO(634), SREAD(639),
first-out) data tables, and
SWRIT(640), SINS(641),
read, write, insert, delete,
SDEL(642), SNUM(638)
or count data entries in
data tables.
Find integer or floating-
MIN(183), MAX(182), MINL(175),
point decimal values
MAXL(174), MINF(177),
such as for the maximum
MAXDF(176), MIND(179),
value, minimum value, or
MAXD(178), SRCH(181),
checksum.
SUM(184), and FCS(180)
Perform various other
Combine Index Registers with
table processing such as
instructions such as SRCH(181),
comparisons or sorting.
MAX(182), MIN(183), and compari-
son instructions.
Search and sort records
RSRCH <(360), RSRCH <=(361),
in a specified area (num-
RSRCH =,(362), RSRCH >=(363),
ber of words and range)
RSRCH >(364), RSRCH2 <(370),
registered by the user.
RSRCH2 <=(371), RSRCH2 =(372),
RSRCH2 >=(373), RSRCH2 >(374),
RSRCH4 <(380), RSRCH4 <=(381),
RSRCH4 =(382), RSRCH4 >=(383),
RSRCH4 >(384), RSORT(204),
RSORT2(204), and RSORT4(205)
Perform operations on
Combine the following instructions
records in a specified
with Index Registers.
area (number of words
• DIM(631), SETR(635), and
and range) registered by
the user.
• Other instructions (e.g., compari-
Instructions
GETR(636) instructions
son instructions)
5
5-91

Advertisement

Table of Contents
loading

Table of Contents