Section 10. Processing Instructions
10-3
Instruction 37: X * F
This instruction multiplies X by F (where F is a fixed multiplier) and places the
result in an input location.
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
4
Input location of X
[X]
02:
FP
Fixed multiplier
[F]
03:
4
Dest. input location for X*F
[Z]
Input locations altered: 1
Instruction 38: X / Y
This instruction divides X by Y and places the result in an input location. Division
by 0 causes the result to be set to 99999.
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
4
Input location of X
[X]
02:
4
Input location of Y
[Y]
03:
4
Dest. input location for X/Y
[Z]
Input locations altered: 1
Instruction 39: Square Root (X
1/2
)
This instruction takes the square root of X and places the result in an input
location. If X is negative, 0 is stored as the result.
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
4
Input location of X
[X]
02:
4
Dest. input location for X
1/2
[Y]
Input locations altered: 1
Instruction 40: LN(X)
This instruction takes the natural logarithm of X and places the result in an input
location. If X is 0 or negative, -99999 is stored as the result.
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
4
Input location of X
[X]
02:
4
Dest. input location for LN(X)
[Z]
Input locations altered: 1