1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../css/manpage.css" type="text/css" /> 7 <title>Macro Instructions</title> 8 </head> 9 <body> 10 <h1>Macro Instructions</h1> 11 <h2>Description</h2> 12 <div class="section"> 13 <p>Macro instructions expand into a combination of arithmetic instructions.</p> 14 </div> 15 16 <a name="function" id="function"> 17 <h2>List of Instructions</h2> 18 <div class="section"> 19 <table class="members"> 20 <tr> 21 <th> 22 <a href="sub.html"><CODE>sub</CODE></a> 23 </th> 24 <th>Subtract</th> 25 <td>Calculates a difference (A - B).</td> 26 </tr> 27 <tr> 28 <th> 29 <a href="abs.html"><CODE>abs</CODE></a> 30 </th> 31 <th>Absolute</th> 32 <td>Returns the absolute value.</td> 33 </tr> 34 <tr> 35 <th> 36 <a href="crs.html"><CODE>crs</CODE></a> 37 </th> 38 <th>Cross product</th> 39 <td>Calculates the cross product of three components.</td> 40 </tr> 41 <tr> 42 <th> 43 <a href="frc.html"><CODE>frc</CODE></a> 44 </th> 45 <th>Fraction</th> 46 <td>Calculates the fraction.</td> 47 </tr> 48 <tr> 49 <th> 50 <a href="lrp.html"><CODE>lrp</CODE></a> 51 </th> 52 <th>Linear interpolation</th> 53 <td>Performs linear interpolation with two values.</td> 54 </tr> 55 <tr> 56 <th> 57 <a href="m3x2.html"><CODE>m3x2</CODE></a> 58 </th> 59 <th>3x2 multiply</th> 60 <td>Multiplies a 3x2 matrix by a 3-component vector.</td> 61 </tr> 62 <tr> 63 <th> 64 <a href="m3x3.html"><CODE>m3x3</CODE></a> 65 </th> 66 <th>3x3 multiply</th> 67 <td>Multiplies a 3x3 matrix by a 3-component vector.</td> 68 </tr> 69 <tr> 70 <th> 71 <a href="m3x4.html"><CODE>m3x4</CODE></a> 72 </th> 73 <th>3x4 multiply</th> 74 <td>Multiplies a 3x4 matrix by a 3-component vector.</td> 75 </tr> 76 <tr> 77 <th> 78 <a href="m4x3.html"><CODE>m4x3</CODE></a> 79 </th> 80 <th>4x3 multiply</th> 81 <td>Multiplies a 4x3 matrix by a 3-component vector.</td> 82 </tr> 83 <tr> 84 <th> 85 <a href="m4x4.html"><CODE>m4x4</CODE></a> 86 </th> 87 <th>4x4 multiply</th> 88 <td>Multiplies a 4x4 matrix by a 4-component vector.</td> 89 </tr> 90 <tr> 91 <th> 92 <a href="nrm.html"><CODE>nrm</CODE></a> 93 </th> 94 <th>Normalize</th> 95 <td>Normalizes a vector.</td> 96 </tr> 97 <tr> 98 <th> 99 <a href="pow.html"><CODE>pow</CODE></a> 100 </th> 101 <th>Power</th> 102 <td>Raises a value to a power.</td> 103 </tr> 104 <tr> 105 <th> 106 <a href="sgn.html"><CODE>sgn</CODE></a> 107 </th> 108 <th>Sign</th> 109 <td>Returns the sign.</td> 110 </tr> 111 <tr> 112 <th> 113 <a href="sincos.html"><CODE>sincos</CODE></a> 114 </th> 115 <th>Sine and cosine</th> 116 <td>Calculates approximate sine and cosine values.</td> 117 </tr> 118 119 </table> 120 </div> 121 </a> 122 123 124 <h2>Revision History</h2> 125 <div class="section"> 126 <dl class="history"> 127 <dt>2011/12/20</dt> 128 <dd>Initial version.<br /> 129 </dd> 130 </dl> 131 </div> 132 133 <hr><p>CONFIDENTIAL</p></body> 134</html> 135