EasyManuals Logo

VIPA CPU 21 Series User Manual

VIPA CPU 21 Series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #366 background imageLoading...
Page #366 background image
Chapter 12 Instruction list Manual VIPA CPU 21x
Command
Operand
Parameter
Status word
Function
Length
in
BR CC1 CC0 OV OS OR STA RLO /FC
words
: Instruction depends on
: Instruction influences
12-12 HB103E - Rev. 05/45
Square root an square
instructions (32Bit)
Status word The result of the instructions is in ACCU1. The
instructions may be interrupted by alarms.
SQRT -
BR CC1 CC0 OV OS OR STA RLO /FC
Calculate the Square root of a real number in ACCU1. 1
- - - - -----
SQR -
- Y Y Y Y - - - - Form the square of a real number in ACCU1. 1
Logarithmic function
(32Bit)
Status word The result of the logarithm function is in
A
CCU1. The instructions may be interrupted b
y
alarms.
LN -
BR CC1 CC0 OV OS OR STA RLO /FC
Calculate the natural logarithm of a real number in 1
- - - - -----ACCU1.
EXP -
- Y Y Y Y - - - - Calculate the exponential value of a real number in ACCU1 1
on basis e (=2.71828).
Trigonometrical functions
(32Bit)
Status word The result of the trigonometrical function is in
ACCU1. The instructions may be interrupted b
alarms.
SIN
1
-
BR CC1 CC0 OV OS OR STA RLO /FC
Calculate the sine of the real number. 1
- - - - -----
ASIN
2
-
- Y Y Y Y - - - - Calculate the arcsine of the real number. 1
COS
1
-
Calculate the cosine of the real number. 1
ACOS
2
-
Calculate the arccosine of the real number. 1
TAN
1
-
Calculate the tangent of the real number. 1
ATAN
2
-
Calculate the arctangent of the real number. 1
Addition of constants
A
ddition of integer constants to ACCU1. The
condition code bits are not affected.
+ i8
Add an 8Bit integer constant. 1
+ i16
Add a 16Bit integer constant. 2
+ i32
Add a 32Bit integer constant. 3
Addition via
address register
A
dding a 16Bit integer to contents of address
register. The value is in the instruction or in
ACCU1-L. Condition code bits are not affected
+AR1 -
Add the contents of ACCU1-L to AR1. 1
+AR1 m
Add a pointer constant to the contents of AR1. 2
+AR2 -
Add the contents of ACCU1-L to those of AR2. 1
+AR2 m
Add pointer constant to the contents of AR2. 2
1 Specify the angle in radians; the angle must be given as a floating point value in ACCU 1.
2 The result is an angle in radians.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VIPA CPU 21 Series and is the answer not in the manual?

VIPA CPU 21 Series Specifications

General IconGeneral
BrandVIPA
ModelCPU 21 Series
CategoryControl Unit
LanguageEnglish

Related product manuals