Omron SYSMAC CP Series Instruction & Reference Manual page 217

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

/, /L
Instruction
SIGNED BINARY DIVIDE
DOUBLE SIGNED BINARY
DIVIDE
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
/:
Dividend word
Dd
/L: First dividend word
/:
Divisor word
Dr
/L: First divisor word
R
First result word
Operand Specifications
Word addresses
Area
CIO
WR
HR
Dd, Dr
OK
OK
OK
R
Flags
Name
Error Flag
P_ER
Equals Flag
P_EQ
Negative Flag
P_N
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
/
@/
/L
@/L
/
/(430)
Dd
Dd: Dividend word
Dr
Dr: Divisor word
R
R: Result word
Step program areas
OK
Description
AR
T
C
DM
OK
OK
OK
OK
Label
• ON when the divisor is 0.
• OFF in all other cases.
• ON when as a result of the division, R/R+1, R is 0.
• OFF in all other cases.
• ON when the leftmost bit of the R/R+1, R is 1.
• OFF in all other cases.
Function
code
Divides 4-digit (single-word) signed hexadecimal
430
data and/or constants.
Divides 8-digit (double-word) signed hexadecimal
431
data and/or constants.
Subroutines
OK
Data type
/
/L
INT
DINT
INT
DINT
DWORD
LWORD
Indirect DM addresses
Constants
@DM
*DM
OK
OK
OK
---
Operation
2 Instructions
Function
/L
/L(431)
Dd
Dd: 1st dividend word
Dr
Dr: 1st divisor word
R
R: 1st result word
Interrupt tasks
OK
Size
/
/L
1
2
1
2
2
4
CF
Pulse bits
TR bits
---
---
---
2-181
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents