Appendix BProgramming Instructions
309
IR SR HR TR AR LR TC DM #
00000 to 23515 23600 to 25507 HR 0000 to 9915 TR 0 to 7 AR 0000 to 2715 LR 0000 to 6315 TC 000 to 511 Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
0000 to 9999
or 0000 to FFFF
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
Data Areas
Name
Mnemonic
Operand Data AreasFunctionSymbol
REVERSIBLE SHIFT
REGISTER
(@)SFTR(84)
SFTR(84)
C
St
E
Shifts bits in the specified word or series of
words either left or right. Starting (St) and
ending words (E) must be specified. Con-
trol word (C) contains shift direction, reset
input, and data input. (Bit 12: 0 = shift right,
1 = shift left. Bit 13 is the value shifted into
the source data, with the bit at the opposite
end being moved to CY. Bit 14: 1 = shift en-
abled, 0 = shift disabled. If bit 15 is ON
when SFTR(89) is executed with an ON
condition, the entire shift register and CY
will be set to zero.) St and E must be in the
same data area and St must be less than
or equal to E.
CY
ESt
15
00
CY
E
IN
St
IN
001112131415
Not used
C
00 15 00
15 00 15
St/E/C:
IR
HR
AR
TC
LR
DM
TABLE COMPARE
(@)TCMP(85)
TCMP(85)
CD
TB
R
Compares a 4-digit hexadecimal value
(CD) with values in table consisting of 16
words (TB: is the first word of the compari-
son table). If the value of CD falls within
any of the comparison ranges, corre-
sponding bits in result word (R) are set (1
for agreement, and 0 for disagreement).
The table must be entirely within the one
data area.
CD
Tb
Tb+1
Tb+13
Tb+14
Tb+15
1: agreement
0: disagreement
0
1
1
0
1
R
0
CD:
IR
SR
HR
AR
LR
TC
DM
#
TB/R:
IR
HR
AR
LR
TC
DM