F, -F, *F, /F - Omron SYSMAC CP Series Instruction & Reference Manual

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

Advertisement

+F, –F, *F, /F
Instruction
FLOATING-POINT ADD
FLOATING-POINT SUBTRACT
FLOATING-POINT MULTIPLY
FLOATING-POINT DIVIDE
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
Au
First augend word
+F
AD
First addend word
Mi
First Minuend word
-F
Su
First Subtrahend word
Md
First Multiplicand word
*F
Mr
First Multiplier word
Dd
First Dividend word
/F
Dr
First Divisor word
R
First result word
Operand Specifications
Area
CIO
WR
Au, AD, Mi, Su,
Md, Mr, Dd, Dr
OK
OK
R
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
+F
@+F
–F
@–F
*F
@*F
/F
@/F
+F
+F(454)
Au: First augend word
Au
AD: First addend word
AD
R
R: First result word
*F
*F(456)
Md: First Multiplicand word
Md
Mr
Mr: First Multiplier word
R
R: First result word
Description
Word addresses
HR
AR
T
C
DM
OK
OK
OK
OK
OK
Function
code
Adds two 32-bit floating-point numbers and places
454
the result in the specified result words.
Subtracts one 32-bit floating-point number from
455
another and places the result in the specified
result words.
Multiplies two 32-bit floating-point numbers and
456
places the result in the specified result words.
Divides one 32-bit floating-point number by
457
another and places the result in the specified
result words.
–F(455)
/F(457)
Subroutines
OK
Indirect DM addresses
Constants
@DM
*DM
OK
OK
OK
---
2 Instructions
Function
–F
Mi: First Minuend word
Mi
Su: First Subtrahend word
Su
R
R: First result word
/F
Dd: First Dividend word
Dd
Dr
Dr: First Divisor word
R
R: First result word
Interrupt tasks
OK
Data type
Size
REAL
2
REAL
2
REAL
2
REAL
2
REAL
2
CF
Pulse bits
TR bits
---
---
---
2-237
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents