Omron SYSMAC CS Series Programming Manual page 112

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Symbol Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
BCD MULTIPLY
*B(424)
*B
@*B
424
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE BCD
*BL(425)
MULTIPLY
*BL
@*BL
425
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
SIGNED BINARY
DIVIDE
/
@/
430
Dd: Dividend
word
Dr: Divisor word
R: Result word
DOUBLE
SIGNED BINARY
/L(431)
DIVIDE
/L
@/L
431
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
UNSIGNED
/U(432)
BINARY DIVIDE
/U
@/U
432
Dd: Dividend
word
Dr: Divisor word
R: Result word
92
Multiplies 4-digit (single-word) BCD data and/or constants.
Md
Mr
R
Multiplies 8-digit (double-word) BCD data and/or constants.
Md
Mr
×
R
R + 3
Divides 4-digit (single-word) signed hexadecimal data and/or constants.
/(430)
Dd
Dr
R
Remainder
Divides 8-digit (double-word) signed hexadecimal data and/or constants.
Dd
Dr
÷
R
R + 3
Remainder
Divides 4-digit (single-word) unsigned hexadecimal data and/or constants.
Dd
Dr
R
÷
R +1
Remainder
Function
Md
×
Mr
R +1
R
Md + 1
Mr + 1
R + 2
R + 1
Dd
÷
Dr
R
R +1
Quotient
Dd + 1
Dr + 1
R + 2
R + 1
Quotient
Dd
(Unsigned binary)
Dr
(Unsigned binary)
R
(Unsigned binary)
Quotient
(BCD)
(BCD)
(BCD)
(BCD)
Md
(BCD)
Mr
(BCD)
R
(Signed binary)
(Signed binary)
(Signed binary)
Dd
(Signed binary)
(Signed binary)
Dr
R
(Signed binary)
Section 3-9
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents