![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681207.webp)
1168
Other Instructions
Section 3-31
Applicable Program Areas
Description
When the execution condition is ON, CLC(040) turns OFF the Carry Flag
(CY). Although CLC(040) turns the Carry Flag OFF, the flag will be turned ON/
OFF by the execution of subsequent instructions which affect the Carry Flag.
Flags
Note
In CS1-H, CJ1-H, CJ1M, and CS1D (for Single-CPU System) CPU Units,
these Flags are left unchanged.
In CS1 and CJ1 CPU Units, these Flags are turned OFF.
Precautions
+C(402), +CL(403), +BC(406), and +BCL(407) make use of the Carry Flag in
their addition operations. Use CLC(041) just before any of these instructions
to prevent any influence from other preceding instructions.
–C(412), –CL(413), –BC(416), and –BCL(417) make use of the Carry Flag in
their subtraction operations. Use CLC(041) just before any of these instruc-
tions to prevent any influence from other preceding instructions.
ROL(027), ROLL(572), ROR(028), and RORL(573) make use of the Carry
Flag in their rotation shift operations. When using any of these instructions,
use STC(040) and CLC(041) to set and clear the Carry Flag.
Note
The +(400), +L(401), +B(404), +BL(405), –(410), –L(411), –B(414), and
–BL(415) instructions do no include the Carry Flag in their addition and sub-
traction operations. In general, use these instructions when performing addi-
tion or subtraction.
3-31-3 SELECT EM BANK: EMBC(281)
Purpose
Changes the current EM bank.
Ladder Symbol
Variations
Applicable Program Areas
Operands
N: EM Bank Number
Specifies the new EM bank number in hexadecimal (0000 to 000C).
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Name
Label
Operation
Error Flag
ER
Unchanged (See note.)
Equals Flag
=
Unchanged (See note.)
Carry Flag
CY
OFF
Negative Flag
N
Unchanged (See note.)
EMBC(281)
N
N
: EM bank number
Variations
Executed Each Cycle for ON Condition
EMBC(281)
Executed Once for Upward Differentiation
@EMBC(281)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...