![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030092.webp)
52
Instruction Functions
Section 2-2
DOUBLE BCD
ADD WITHOUT
CARRY
+BL
@+BL
405
Output
Required
435
BCD ADD WITH
CARRY
+BC
@+BC
406
Output
Required
437
DOUBLE BCD
ADD WITH
CARRY
+BCL
@+BCL
407
Output
Required
439
SIGNED BINARY
SUBTRACT
WITHOUT
CARRY
–
@–
410
Output
Required
440
DOUBLE
SIGNED BINARY
SUBTRACT
WITHOUT
CARRY
– L
@– L
411
Output
Required
442
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
Au
Ad
R
Au: 1st augend
word
Ad: 1st addend
word
R: 1st result
word
+BL(405)
R+1
CY
+
(BCD)
(BCD)
(BCD)
R
Ad+1
Au
Ad
Au+1
CY will turn ON
when there is a
carry.
Adds 8-digit (double-word) BCD data and/or constants.
+BC(406)
R
Au
Ad
Au
: Augend word
Ad
: Addend word
R
: Result word
CY
+
R
CY
(BCD)
(BCD)
(BCD)
Au
Ad
Adds 4-digit (single-word) BCD data and/or constants with the Carry
Flag (CY).
CY will turn ON
when there is a
carry.
+BCL(407)
R
Au
Ad
Au
: 1st augend
word
Ad
: 1st addend
word
R
: 1st result word
R+1
CY
+
R
CY
(BCD)
(BCD)
(BCD)
Ad+1
Au
Ad
CY will turn
ON when there
is a carry.
Adds 8-digit (double-word) BCD data and/or constants with the Carry
Flag (CY).
Au+1
(410)
R
−
Mi
Su
Mi: Minuend word
Su: Subtrahend
word
R: Result word
R
CY
−
Mi
Su
Subtracts 4-digit (single-word) hexadecimal data and/or constants.
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn ON
when there is a
borrow.
L(411)
R
Mi
Su
Mi: Minuend word
Su: Subtrahend
word
R: Result word
−
CY
R
R+1
−
Mi+1
Su+1
Mi
Su
(Signed binary)
(Signed binary)
(Signed binary)
CY will turn
ON when
there is a
borrow.
Subtracts 8-digit (double-word) hexadecimal data and/or constants.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...