(173)
CCS
0000
00
(175)
REGL D10000
0000
00
367
5-28-2 SAVE FLAGS: CCS(173)
(173)
CCS
Variations
j CCS(173)
Ladder Symbol
When the execution condition is OFF, CCS(173) is not executed. When the ex-
ecution condition is ON, CCS(173) records the current status of the Arithmetic
Flags in the CPU for later retrieval by the CCL(172) instruction.
Refer to the table in
5-28-1 LOAD FLAGS: CCL(172)
for the Arithmetic Flags
recorded by CCS(173).
When CCS(173) is executed, it records over the data recorded by the previous
CCS(173) instruction.
No flags are affected by CCS(173).
Example When CIO 000000 is ON in the following example, the status of all the arithmetic
flags is stored in memory for possible later retrieval.
Address Instruction Operands
00000 LD 000000
00001 CCS(173)
5-28-3 LOAD REGISTER: REGL(175)
(175)
REGL S
S: 1
st
source word CIO, G, A, DM
Operand Data AreaLadder Symbol
Variations
j REGL(175)
When the execution condition is OFF, REGL(175) is not executed. When the ex-
ecution condition is ON, REGL(175) copies the data from S, S+1, and S+2 to
data registers DR0, DR1, and DR2, and copies the data from S+3, S+4, and S+5
to index registers IR0, IR1, and IR2.
Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
Example When CIO 000000 is ON in the following example, the contents of words
D10000 through D10005 is copied to the data and index registers.
Address Instruction Operands
00000 LD 000000
00001 REGL(175)
D10000
3 5 2 A
3 5 2 A
C 7 3 9
1 D A 2
E 5 2 A
5 1 B 0
0 E 7 3
C 7 3 9
1 D A 2
E 5 2 A
0 E 7 3
5 1 B 0
D10000
D10001
D10002
D10004
D10003
D10005
DR0
DR1
DR2
IR0
IR1
IR2
Description
Precautions
Flags
Description
Precautions
Flag/Register Instructions Section 5-28