Omron CS1G/H-CPUxxH Instructions Manual page 71

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
SIGNED BINARY
−C(412)
SUBTRACT
WITH CARRY
–C
@–C
412
Mi: Minuend word
Su: Subtrahend
word
R: Result word
DOUBLE
−CL(413)
SIGNED BINARY
WITH CARRY
–CL
@–CL
413
Mi: Minuend word
Su: Subtrahend
word
R: Result word
BCD SUBTRACT
−B(414)
WITHOUT
CARRY
–B
@–B
414
Mi: Minuend word
Su: Subtrahend
word
R: Result word
DOUBLE BCD
−BL(415)
SUBTRACT
WITHOUT
CARRY
–BL
@–BL
415
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
BCD SUBTRACT
−BC(416)
WITH CARRY
–BC
@–BC
416
Mi: Minuend word
Su: Subtrahend
word
R: Result word
50
Subtracts 4-digit (single-word) hexadecimal data and/or constants
with the Carry Flag (CY).
Mi
Su
R
CY will turn
ON when there
is a borrow.
Subtracts 8-digit (double-word) hexadecimal data and/or constants
with the Carry Flag (CY).
Mi
Su
R
CY will turn
ON when
there is a
CY
borrow.
Subtracts 4-digit (single-word) BCD data and/or constants.
Mi
Su
R
CY will turn
ON when there
is a carry.
Subtracts 8-digit (double-word) BCD data and/or constants.
Mi
Su
R
CY will turn
ON when there
is a borrow.
Subtracts 4-digit (single-word) BCD data and/or constants with the
Carry Flag (CY).
Mi
Su
R
CY will turn
ON when there
is a borrow.
Function
(Signed binary)
Mi
(Signed binary)
Su
CY
(Signed binary)
CY
R
Mi+1
Mi
Su+1
Su
CY
R+1
R
(BCD)
Mi
(BCD)
Su
(BCD)
CY
R
Mi +1
Mi
Su+1
Su
CY
R+1
R
(BCD)
Mi
(BCD)
Su
CY
(BCD)
CY
R
Section 2-2
Location
Execution
condition
Output
Required
Output
Required
(Signed binary)
(Signed binary)
(Signed binary)
Output
Required
Output
Required
(BCD)
(BCD)
(BCD)
Output
Required
Page
393
395
398
399
403

Advertisement

Table of Contents
loading

Table of Contents