Omron CJ2 CPU UNIT SOFTWARE User Manual page 523

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Code
FLOAT-
*F
456
ING-
@*F
POINT
MULTIPLY
FLOAT-
/F
457
ING-
@/F
POINT
DIVIDE
DEGREES
RAD
458
TO RADI-
@RAD
ANS
RADIANS
DEG
459
TO
@DEG
DEGREES
SINE
SIN
460
@SIN
HIGH-
SINQ
475
SPEED
@SINQ
SINE
COSINE
COS
461
@COS
CJ2 CPU Unit Software User's Manual
Symbol/Operand
*F(456)
Multiplies two 32-bit floating-point numbers and places
the result in the specified result words.
Md
Mr
R
×
Md: 1st
Multiplicand word
Mr: 1st Multiplier
word
R: 1st result word
Divides one 32-bit floating-point number by another and places
/F(457)
the result in the specified result words.
Dd
Dr
R
÷
Dd: 1st Dividend
word
Dr: 1st Divisor
word
R: 1st result word
Converts a 32-bit floating-point number from degrees to
RAD(458)
radians and places the result in the specified result words.
S
R
S: 1st source word
R: 1st result word
Converts a 32-bit floating-point number from radians to
DEG(459)
degrees and places the result in the specified result words.
S
R
S: 1st source word
R: 1st result word
Calculates the sine of a 32-bit floating-point number (in
SIN(460)
radians) and places the result in the specified result words.
S
SIN
R
S: 1st source word
R: 1st result word
Calculates the sine of a 32-bit floating-point number (in
SINQ (475)
radians) and places the result in the specified result words.
S
SIN
R
S: 1st source word
R: 1st result word
Calculates the cosine of a 32-bit floating-point number (in
COS(461)
radians) and places the result in the specified result words.
S
COS
R
S: 1st source
word
R: 1st result word
Function
Md+1
Md
Mr+1
Mr
R+1
R
Dd
Dd+1
Dr+1
Dr
R+1
R
Source (degrees, 32-bit
S+1
S
floating-point data)
Result (radians, 32-bit
R+1
R
floating-point data)
Source (radians, 32-bit
S+1
S
floating-point data)
Result (degrees, 32-bit
R+1
R
floating-point data)
S+1
S
R+1
R
S+1
S
R+1
R
S+1
S
R+1
R
Appendices
Execution
Location
condition
Output
Required
Multiplicand
(floating-point
data, 32 bits)
Multiplier
(floating-point data,
32 bits)
Result (floating-point
data, 32 bits)
Output
Required
Dividend
(floating-point data,
32 bits)
Divisor
(floating-point data,
32 bits)
Result
(floating-point data,
32 bits)
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
A-39

Advertisement

Table of Contents
loading

Table of Contents