Bcd Subtraction: -B(414)/ -Bl(415)/-Bc(416)/-Bcl(417) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Symbol Math Instructions
5-20-4 BCD Subtraction: –B(414)/ –BL(415)/–BC(416)/–BCL(417)
BCD SUBTRACT WITHOUT CARRY: –B(414)
Ladder Symbol
(414)
–B
Mi
Variations
j –B(414)
DOUBLE BCD SUBTRACT WITHOUT CARRY: –BL(415)
Ladder Symbol
(415)
–BL
Mi
Variations
j –BL(415)
BCD SUBTRACT WITH CARRY: –BC(416)
Ladder Symbol
(416)
–BC
Mi
Variations
j –BC(416)
DOUBLE BCD SUBTRACT WITH CARRY: –BCL(417)
Ladder Symbol
(417)
–BCL
Mi
Variations
j –BCL(417)
Description
268
Operand Data Areas
Mi: Minuend word
Su
R
Su: Subtrahend word
R: Result word
Operand Data Areas
Mi: 1
Su
R
Su: 1
R: 1
Operand Data Areas
Mi: Minuend word
Su
R
Su: Subtrahend word
R: Result word
Operand Data Areas
Mi: 1
Su
R
Su: 1
R: 1
BCD SUBTRACT WITHOUT CARRY
When the execution condition is OFF, –B(414) is not executed. When the execu-
tion condition is ON, –B(414) subtracts the BCD contents of Su from Mi, and
places the result in R. If the result is negative, CY is set and the 10's complement
of the actual result is placed in R. To convert the 10's complement to the true
result, subtract the content of R from 0000.
Mi
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, DM, DR, IR
st
minuend word
CIO, G, A, T, C, #, DM
st
subtrahend wordCIO, G, A, T, C, #, DM
st
result word
CIO, G, A, DM
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, DM, DR, IR
st
minuend word
CIO, G, A, T, C, #, DM
st
subtrahend wordCIO, G, A, T, C, #, DM
st
result word
CIO, G, A, DM
– Su
CY
Section 5-20
R

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents