Macro Instructions

Macro Instructions

Description

Macro instructions expand into a combination of arithmetic instructions.

List of Instructions

sub Subtract Calculates a difference (A - B).
abs Absolute Returns the absolute value.
crs Cross product Calculates the cross product of three components.
frc Fraction Calculates the fraction.
lrp Linear interpolation Performs linear interpolation with two values.
m3x2 3x2 multiply Multiplies a 3x2 matrix by a 3-component vector.
m3x3 3x3 multiply Multiplies a 3x3 matrix by a 3-component vector.
m3x4 3x4 multiply Multiplies a 3x4 matrix by a 3-component vector.
m4x3 4x3 multiply Multiplies a 4x3 matrix by a 3-component vector.
m4x4 4x4 multiply Multiplies a 4x4 matrix by a 4-component vector.
nrm Normalize Normalizes a vector.
pow Power Raises a value to a power.
sgn Sign Returns the sign.
sincos Sine and cosine Calculates approximate sine and cosine values.

Revision History

2011/12/20
Initial version.

CONFIDENTIAL