544 lines
52 KiB
Plaintext
544 lines
52 KiB
Plaintext
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="generator" content="TempleOS V5.03">
|
||
|
<meta name="viewport" content="width=device-width">
|
||
|
<link rel="stylesheet" href="/style/templeos.css">
|
||
|
<script src="/script/templeos.js"></script>
|
||
|
<style type="text/css">
|
||
|
.cF0{color:#000000;background-color:#ffffff;}
|
||
|
.cF1{color:#0000aa;background-color:#ffffff;}
|
||
|
.cF2{color:#00aa00;background-color:#ffffff;}
|
||
|
.cF3{color:#00aaaa;background-color:#ffffff;}
|
||
|
.cF4{color:#aa0000;background-color:#ffffff;}
|
||
|
.cF5{color:#aa00aa;background-color:#ffffff;}
|
||
|
.cF6{color:#aa5500;background-color:#ffffff;}
|
||
|
.cF7{color:#aaaaaa;background-color:#ffffff;}
|
||
|
.cF8{color:#555555;background-color:#ffffff;}
|
||
|
.cF9{color:#5555ff;background-color:#ffffff;}
|
||
|
.cFA{color:#55ff55;background-color:#ffffff;}
|
||
|
.cFB{color:#55ffff;background-color:#ffffff;}
|
||
|
.cFC{color:#ff5555;background-color:#ffffff;}
|
||
|
.cFD{color:#ff55ff;background-color:#ffffff;}
|
||
|
.cFE{color:#ffff55;background-color:#ffffff;}
|
||
|
.cFF{color:#ffffff;background-color:#ffffff;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<pre id="content">
|
||
|
<a name="l1"></a><span class=cF1>asm</span><span class=cF0> {
|
||
|
<a name="l2"></a></span><span class=cF2>//************************************</span><span class=cF0>
|
||
|
<a name="l3"></a></span><span class=cFD>CMP_TEMPLATES</span><span class=cF0>::
|
||
|
<a name="l4"></a> </span><span class=cF1>DU32</span><span class=cF0> @@05,@@10,@@15,@@25,@@30,
|
||
|
<a name="l5"></a> @@35,@@40,@@45,@@55,@@60,
|
||
|
<a name="l6"></a> @@75,@@80,@@85,@@90,@@95,
|
||
|
<a name="l7"></a> @@100,@@105,@@110,@@120,@@130;
|
||
|
<a name="l8"></a>
|
||
|
<a name="l9"></a>@@05: </span><span class=cF2>//INC</span><span class=cF0>
|
||
|
<a name="l10"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l11"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l12"></a> </span><span class=cF1>FADD</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l13"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l14"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l15"></a>
|
||
|
<a name="l16"></a>@@10: </span><span class=cF2>//DEC</span><span class=cF0>
|
||
|
<a name="l17"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l18"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l19"></a> </span><span class=cF1>FSUBR</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l20"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l21"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l22"></a>
|
||
|
<a name="l23"></a>@@15: </span><span class=cF2>//MOD</span><span class=cF0>
|
||
|
<a name="l24"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l25"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l26"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RBX</span><span class=cF0>,</span><span class=cFC>RSP</span><span class=cF0>
|
||
|
<a name="l27"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RBX</span><span class=cF0>]
|
||
|
<a name="l28"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> 8[</span><span class=cFC>RBX</span><span class=cF0>]
|
||
|
<a name="l29"></a>@@20: </span><span class=cF1>FPREM</span><span class=cF0>
|
||
|
<a name="l30"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l31"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l32"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@20
|
||
|
<a name="l33"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RBX</span><span class=cF0>]
|
||
|
<a name="l34"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l35"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l36"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l37"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l38"></a>
|
||
|
<a name="l39"></a>@@25: </span><span class=cF2>//LESS</span><span class=cF0>
|
||
|
<a name="l40"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l41"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l42"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l43"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> 8[</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l44"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l45"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l46"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l47"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l48"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l49"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,16
|
||
|
<a name="l50"></a>
|
||
|
<a name="l51"></a>@@30: </span><span class=cF2>//GREATER</span><span class=cF0>
|
||
|
<a name="l52"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l53"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l54"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> 8[</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l55"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l56"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l57"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l58"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l59"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l60"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l61"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,16
|
||
|
<a name="l62"></a>
|
||
|
<a name="l63"></a>@@35: </span><span class=cF2>//LESS_EQU</span><span class=cF0>
|
||
|
<a name="l64"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l65"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l66"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> 8[</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l67"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l68"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l69"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l70"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l71"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l72"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l73"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,16
|
||
|
<a name="l74"></a>
|
||
|
<a name="l75"></a>@@40: </span><span class=cF2>//GREATER_EQU</span><span class=cF0>
|
||
|
<a name="l76"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l77"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l78"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l79"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> 8[</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l80"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l81"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l82"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l83"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l84"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l85"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,16
|
||
|
<a name="l86"></a>
|
||
|
<a name="l87"></a>@@45: </span><span class=cF2>//StrLen</span><span class=cF0>
|
||
|
<a name="l88"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>,</span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l89"></a>@@50: </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>BL</span><span class=cF0>,</span><span class=cF1>U8</span><span class=cF0> [</span><span class=cFC>RAX</span><span class=cF0>]
|
||
|
<a name="l90"></a> </span><span class=cF1>INC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l91"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>BL</span><span class=cF0>,</span><span class=cFC>BL</span><span class=cF0>
|
||
|
<a name="l92"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@50
|
||
|
<a name="l93"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,</span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l94"></a> </span><span class=cF1>DEC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l95"></a>
|
||
|
<a name="l96"></a>@@55: </span><span class=cF2>//RDTSC</span><span class=cF0>
|
||
|
<a name="l97"></a> </span><span class=cF1>RDTSC</span><span class=cF0>
|
||
|
<a name="l98"></a> </span><span class=cF1>SHL</span><span class=cF0> </span><span class=cFC>RDX</span><span class=cF0>,32
|
||
|
<a name="l99"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,</span><span class=cFC>RDX</span><span class=cF0>
|
||
|
<a name="l100"></a>
|
||
|
<a name="l101"></a>@@60: </span><span class=cF2>//SignI64</span><span class=cF0>
|
||
|
<a name="l102"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,</span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l103"></a> </span><span class=cF1>JZ</span><span class=cF0> @@70
|
||
|
<a name="l104"></a> </span><span class=cF1>JS</span><span class=cF0> @@65
|
||
|
<a name="l105"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l106"></a> </span><span class=cF1>JMP</span><span class=cF0> @@70
|
||
|
<a name="l107"></a>@@65: </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,-1
|
||
|
<a name="l108"></a>@@70:
|
||
|
<a name="l109"></a>@@75:
|
||
|
<a name="l110"></a>@@80:
|
||
|
<a name="l111"></a>@@85: </span><span class=cF2>//Sqr</span><span class=cF0>
|
||
|
<a name="l112"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l113"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l114"></a> </span><span class=cF1>FMUL</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l115"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l116"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l117"></a>
|
||
|
<a name="l118"></a>@@90: </span><span class=cF2>//Abs</span><span class=cF0>
|
||
|
<a name="l119"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l120"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l121"></a> </span><span class=cF1>FABS</span><span class=cF0>
|
||
|
<a name="l122"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l123"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l124"></a>
|
||
|
<a name="l125"></a>@@95: </span><span class=cF2>//Sqrt</span><span class=cF0>
|
||
|
<a name="l126"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l127"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l128"></a> </span><span class=cF1>FSQRT</span><span class=cF0>
|
||
|
<a name="l129"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l130"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l131"></a>
|
||
|
<a name="l132"></a>@@100: </span><span class=cF2>//Sin</span><span class=cF0>
|
||
|
<a name="l133"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l134"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l135"></a> </span><span class=cF1>FSIN</span><span class=cF0>
|
||
|
<a name="l136"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l137"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l138"></a>
|
||
|
<a name="l139"></a>@@105: </span><span class=cF2>//Cos</span><span class=cF0>
|
||
|
<a name="l140"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l141"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l142"></a> </span><span class=cF1>FCOS</span><span class=cF0>
|
||
|
<a name="l143"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l144"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l145"></a>
|
||
|
<a name="l146"></a>@@110: </span><span class=cF2>//Tan</span><span class=cF0>
|
||
|
<a name="l147"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l148"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l149"></a>@@115: </span><span class=cF1>FPTAN</span><span class=cF0>
|
||
|
<a name="l150"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l151"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l152"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@115
|
||
|
<a name="l153"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l154"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l155"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l156"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l157"></a>
|
||
|
<a name="l158"></a>@@120: </span><span class=cF2>//Atan</span><span class=cF0>
|
||
|
<a name="l159"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l160"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l161"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l162"></a>@@125: </span><span class=cF1>FPATAN</span><span class=cF0>
|
||
|
<a name="l163"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l164"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l165"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@125
|
||
|
<a name="l166"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l167"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l168"></a>
|
||
|
<a name="l169"></a>@@130:
|
||
|
<a name="l170"></a>
|
||
|
<a name="l171"></a></span><span class=cF2>//************************************</span><span class=cF0>
|
||
|
<a name="l172"></a></span><span class=cFD>CMP_TEMPLATES_DONT_POP</span><span class=cF0>::
|
||
|
<a name="l173"></a> </span><span class=cF1>DU32</span><span class=cF0> @@05,@@10,@@15,@@20,@@25,
|
||
|
<a name="l174"></a> @@30,@@35,@@40,@@45,@@50,
|
||
|
<a name="l175"></a> @@55,@@60,@@65,@@70,@@75,
|
||
|
<a name="l176"></a> @@80,@@85,@@90,@@100,@@110;
|
||
|
<a name="l177"></a>
|
||
|
<a name="l178"></a>@@05: </span><span class=cF2>//INC</span><span class=cF0>
|
||
|
<a name="l179"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l180"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l181"></a> </span><span class=cF1>FADD</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l182"></a> </span><span class=cF1>FST</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l183"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l184"></a>
|
||
|
<a name="l185"></a>@@10: </span><span class=cF2>//DEC</span><span class=cF0>
|
||
|
<a name="l186"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l187"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l188"></a> </span><span class=cF1>FSUBR</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l189"></a> </span><span class=cF1>FST</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l190"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l191"></a>
|
||
|
<a name="l192"></a>@@15:
|
||
|
<a name="l193"></a>@@20:
|
||
|
<a name="l194"></a>@@25:
|
||
|
<a name="l195"></a>@@30:
|
||
|
<a name="l196"></a>@@35:
|
||
|
<a name="l197"></a>@@40:
|
||
|
<a name="l198"></a>@@45:
|
||
|
<a name="l199"></a>@@50:
|
||
|
<a name="l200"></a>@@55:
|
||
|
<a name="l201"></a>@@60:
|
||
|
<a name="l202"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l203"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l204"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l205"></a>
|
||
|
<a name="l206"></a>@@65: </span><span class=cF2>//Sqr</span><span class=cF0>
|
||
|
<a name="l207"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l208"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l209"></a> </span><span class=cF1>FMUL</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l210"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l211"></a>
|
||
|
<a name="l212"></a>@@70: </span><span class=cF2>//Abs</span><span class=cF0>
|
||
|
<a name="l213"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l214"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l215"></a> </span><span class=cF1>FABS</span><span class=cF0>
|
||
|
<a name="l216"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l217"></a>
|
||
|
<a name="l218"></a>@@75: </span><span class=cF2>//Sqrt</span><span class=cF0>
|
||
|
<a name="l219"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l220"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l221"></a> </span><span class=cF1>FSQRT</span><span class=cF0>
|
||
|
<a name="l222"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l223"></a>
|
||
|
<a name="l224"></a>@@80: </span><span class=cF2>//Sin</span><span class=cF0>
|
||
|
<a name="l225"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l226"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l227"></a> </span><span class=cF1>FSIN</span><span class=cF0>
|
||
|
<a name="l228"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l229"></a>
|
||
|
<a name="l230"></a>@@85: </span><span class=cF2>//Cos</span><span class=cF0>
|
||
|
<a name="l231"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l232"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l233"></a> </span><span class=cF1>FCOS</span><span class=cF0>
|
||
|
<a name="l234"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l235"></a>
|
||
|
<a name="l236"></a>@@90: </span><span class=cF2>//Tan</span><span class=cF0>
|
||
|
<a name="l237"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l238"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l239"></a>@@95: </span><span class=cF1>FPTAN</span><span class=cF0>
|
||
|
<a name="l240"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l241"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l242"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@95
|
||
|
<a name="l243"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l244"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l245"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l246"></a>
|
||
|
<a name="l247"></a>@@100: </span><span class=cF2>//Atan</span><span class=cF0>
|
||
|
<a name="l248"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l249"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l250"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l251"></a>@@105: </span><span class=cF1>FPATAN</span><span class=cF0>
|
||
|
<a name="l252"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l253"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l254"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@105
|
||
|
<a name="l255"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l256"></a>@@110:
|
||
|
<a name="l257"></a>
|
||
|
<a name="l258"></a></span><span class=cF2>//************************************</span><span class=cF0>
|
||
|
<a name="l259"></a></span><span class=cFD>CMP_TEMPLATES_DONT_PUSH</span><span class=cF0>::
|
||
|
<a name="l260"></a> </span><span class=cF1>DU32</span><span class=cF0> @@05,@@10,@@15,@@20,@@30,
|
||
|
<a name="l261"></a> @@35,@@40,@@50,@@55,@@60,
|
||
|
<a name="l262"></a> @@65,@@70,@@75,@@80,@@85,
|
||
|
<a name="l263"></a> @@90,@@95,@@100,@@110,@@120;
|
||
|
<a name="l264"></a>
|
||
|
<a name="l265"></a>@@05: </span><span class=cF2>//INC</span><span class=cF0>
|
||
|
<a name="l266"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l267"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l268"></a> </span><span class=cF1>FADDP</span><span class=cF0> </span><span class=cFC>ST1</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l269"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l270"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l271"></a>
|
||
|
<a name="l272"></a>@@10: </span><span class=cF2>//DEC</span><span class=cF0>
|
||
|
<a name="l273"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l274"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l275"></a> </span><span class=cF1>FSUBP</span><span class=cF0> </span><span class=cFC>ST1</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l276"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l277"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l278"></a>
|
||
|
<a name="l279"></a>@@15:
|
||
|
<a name="l280"></a>@@20: </span><span class=cF2>//LESS</span><span class=cF0>
|
||
|
<a name="l281"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l282"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l283"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l284"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l285"></a> </span><span class=cF1>JZ</span><span class=cF0> @@25
|
||
|
<a name="l286"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l287"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l288"></a>@@25: </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l289"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l290"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l291"></a>
|
||
|
<a name="l292"></a>@@30: </span><span class=cF2>//GREATER</span><span class=cF0>
|
||
|
<a name="l293"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l294"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l295"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l296"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l297"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l298"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l299"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l300"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l301"></a>
|
||
|
<a name="l302"></a>@@35: </span><span class=cF2>//LESS_EQU</span><span class=cF0>
|
||
|
<a name="l303"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l304"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l305"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l306"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l307"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l308"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l309"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l310"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l311"></a>
|
||
|
<a name="l312"></a>@@40: </span><span class=cF2>//GREATER_EQU</span><span class=cF0>
|
||
|
<a name="l313"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l314"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l315"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l316"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l317"></a> </span><span class=cF1>JZ</span><span class=cF0> @@45
|
||
|
<a name="l318"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l319"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l320"></a>@@45: </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l321"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l322"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l323"></a>@@50:
|
||
|
<a name="l324"></a>@@55:
|
||
|
<a name="l325"></a>@@60:
|
||
|
<a name="l326"></a>@@65: </span><span class=cF2>//FSTP</span><span class=cF0>
|
||
|
<a name="l327"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l328"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l329"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l330"></a>@@70:
|
||
|
<a name="l331"></a>@@75: </span><span class=cF2>//Sqr</span><span class=cF0>
|
||
|
<a name="l332"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l333"></a> </span><span class=cF1>FMUL</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l334"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l335"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l336"></a>
|
||
|
<a name="l337"></a>@@80: </span><span class=cF2>//Abs</span><span class=cF0>
|
||
|
<a name="l338"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l339"></a> </span><span class=cF1>FABS</span><span class=cF0>
|
||
|
<a name="l340"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l341"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l342"></a>
|
||
|
<a name="l343"></a>@@85: </span><span class=cF2>//Sqrt</span><span class=cF0>
|
||
|
<a name="l344"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l345"></a> </span><span class=cF1>FSQRT</span><span class=cF0>
|
||
|
<a name="l346"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l347"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l348"></a>
|
||
|
<a name="l349"></a>@@90: </span><span class=cF2>//Sin</span><span class=cF0>
|
||
|
<a name="l350"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l351"></a> </span><span class=cF1>FSIN</span><span class=cF0>
|
||
|
<a name="l352"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l353"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l354"></a>
|
||
|
<a name="l355"></a>@@95: </span><span class=cF2>//Cos</span><span class=cF0>
|
||
|
<a name="l356"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l357"></a> </span><span class=cF1>FCOS</span><span class=cF0>
|
||
|
<a name="l358"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l359"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l360"></a>
|
||
|
<a name="l361"></a>@@100: </span><span class=cF2>//Tan</span><span class=cF0>
|
||
|
<a name="l362"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l363"></a>@@105: </span><span class=cF1>FPTAN</span><span class=cF0>
|
||
|
<a name="l364"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l365"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l366"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@105
|
||
|
<a name="l367"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l368"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l369"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l370"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l371"></a>
|
||
|
<a name="l372"></a>@@110: </span><span class=cF2>//Atan</span><span class=cF0>
|
||
|
<a name="l373"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l374"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l375"></a>@@115: </span><span class=cF1>FPATAN</span><span class=cF0>
|
||
|
<a name="l376"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l377"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l378"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@115
|
||
|
<a name="l379"></a> </span><span class=cF1>FSTP</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l380"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l381"></a>@@120:
|
||
|
<a name="l382"></a>
|
||
|
<a name="l383"></a></span><span class=cF2>//************************************</span><span class=cF0>
|
||
|
<a name="l384"></a></span><span class=cFD>CMP_TEMPLATES_DONT_PUSH_POP</span><span class=cF0>::
|
||
|
<a name="l385"></a> </span><span class=cF1>DU32</span><span class=cF0> @@05,@@10,@@15,@@20,@@25,
|
||
|
<a name="l386"></a> @@30,@@35,@@40,@@45,@@50,
|
||
|
<a name="l387"></a> @@55,@@60,@@65,@@70,@@75,
|
||
|
<a name="l388"></a> @@80,@@85,@@90,@@95,@@105;
|
||
|
<a name="l389"></a>
|
||
|
<a name="l390"></a>@@05: </span><span class=cF2>//INC</span><span class=cF0>
|
||
|
<a name="l391"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l392"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l393"></a> </span><span class=cF1>FADDP</span><span class=cF0> </span><span class=cFC>ST1</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l394"></a> </span><span class=cF1>FST</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l395"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l396"></a>
|
||
|
<a name="l397"></a>@@10: </span><span class=cF2>//DEC</span><span class=cF0>
|
||
|
<a name="l398"></a> </span><span class=cF1>SUB</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l399"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l400"></a> </span><span class=cF1>FSUBP</span><span class=cF0> </span><span class=cFC>ST1</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l401"></a> </span><span class=cF1>FST</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l402"></a> </span><span class=cF1>POP</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l403"></a>
|
||
|
<a name="l404"></a>@@15:
|
||
|
<a name="l405"></a>@@20:
|
||
|
<a name="l406"></a>@@25:
|
||
|
<a name="l407"></a>@@30:
|
||
|
<a name="l408"></a>@@35:
|
||
|
<a name="l409"></a>@@40:
|
||
|
<a name="l410"></a>@@45:
|
||
|
<a name="l411"></a>@@50:
|
||
|
<a name="l412"></a>@@55:
|
||
|
<a name="l413"></a>@@60:
|
||
|
<a name="l414"></a>@@65: </span><span class=cF2>//Sqr</span><span class=cF0>
|
||
|
<a name="l415"></a> </span><span class=cF1>FMUL</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l416"></a>
|
||
|
<a name="l417"></a>@@70: </span><span class=cF2>//Abs</span><span class=cF0>
|
||
|
<a name="l418"></a> </span><span class=cF1>FABS</span><span class=cF0>
|
||
|
<a name="l419"></a>
|
||
|
<a name="l420"></a>@@75: </span><span class=cF2>//Sqrt</span><span class=cF0>
|
||
|
<a name="l421"></a> </span><span class=cF1>FSQRT</span><span class=cF0>
|
||
|
<a name="l422"></a>
|
||
|
<a name="l423"></a>@@80: </span><span class=cF2>//Sin</span><span class=cF0>
|
||
|
<a name="l424"></a> </span><span class=cF1>FSIN</span><span class=cF0>
|
||
|
<a name="l425"></a>
|
||
|
<a name="l426"></a>@@85: </span><span class=cF2>//Cos</span><span class=cF0>
|
||
|
<a name="l427"></a> </span><span class=cF1>FCOS</span><span class=cF0>
|
||
|
<a name="l428"></a>
|
||
|
<a name="l429"></a>@@90: </span><span class=cF2>//Tan</span><span class=cF0>
|
||
|
<a name="l430"></a> </span><span class=cF1>FPTAN</span><span class=cF0>
|
||
|
<a name="l431"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l432"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l433"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@90
|
||
|
<a name="l434"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l435"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l436"></a>
|
||
|
<a name="l437"></a>@@95: </span><span class=cF2>//Atan</span><span class=cF0>
|
||
|
<a name="l438"></a> </span><span class=cF1>FLD1</span><span class=cF0>
|
||
|
<a name="l439"></a>@@100: </span><span class=cF1>FPATAN</span><span class=cF0>
|
||
|
<a name="l440"></a> </span><span class=cF1>FSTSW</span><span class=cF0>
|
||
|
<a name="l441"></a> </span><span class=cF1>TEST</span><span class=cF0> </span><span class=cFC>AX</span><span class=cF0>,0x400
|
||
|
<a name="l442"></a> </span><span class=cF1>JNZ</span><span class=cF0> @@100
|
||
|
<a name="l443"></a>@@105:
|
||
|
<a name="l444"></a>
|
||
|
<a name="l445"></a></span><span class=cF2>//************************************</span><span class=cF0>
|
||
|
<a name="l446"></a></span><span class=cFD>CMP_TEMPLATES_DONT_PUSH2</span><span class=cF0>::
|
||
|
<a name="l447"></a> </span><span class=cF1>DU32</span><span class=cF0> @@05,@@10,@@15,@@20,@@25,
|
||
|
<a name="l448"></a> @@35,@@45,@@50,@@55,@@60,
|
||
|
<a name="l449"></a> @@65,@@70,@@75,@@80,@@85,
|
||
|
<a name="l450"></a> @@90,@@95,@@100,@@105,@@110;
|
||
|
<a name="l451"></a>
|
||
|
<a name="l452"></a>@@05:
|
||
|
<a name="l453"></a>@@10:
|
||
|
<a name="l454"></a>
|
||
|
<a name="l455"></a>@@15:
|
||
|
<a name="l456"></a>@@20: </span><span class=cF2>//LESS</span><span class=cF0>
|
||
|
<a name="l457"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l458"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l459"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l460"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l461"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l462"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l463"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l464"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l465"></a>
|
||
|
<a name="l466"></a>@@25: </span><span class=cF2>//GREATER</span><span class=cF0>
|
||
|
<a name="l467"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l468"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l469"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l470"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l471"></a> </span><span class=cF1>JZ</span><span class=cF0> @@30
|
||
|
<a name="l472"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l473"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l474"></a>@@30: </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l475"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l476"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l477"></a>
|
||
|
<a name="l478"></a>@@35: </span><span class=cF2>//LESS_EQU</span><span class=cF0>
|
||
|
<a name="l479"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l480"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l481"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l482"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l483"></a> </span><span class=cF1>JZ</span><span class=cF0> @@40
|
||
|
<a name="l484"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l485"></a> </span><span class=cF1>ADC</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l486"></a>@@40: </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l487"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l488"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l489"></a>
|
||
|
<a name="l490"></a>@@45: </span><span class=cF2>//GREATER_EQU</span><span class=cF0>
|
||
|
<a name="l491"></a> </span><span class=cF1>PUSH</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>
|
||
|
<a name="l492"></a> </span><span class=cF1>FLD</span><span class=cF0> </span><span class=cF9>U64</span><span class=cF0> [</span><span class=cFC>RSP</span><span class=cF0>]
|
||
|
<a name="l493"></a> </span><span class=cF1>FCOMIP</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>,</span><span class=cFC>ST1</span><span class=cF0>
|
||
|
<a name="l494"></a> </span><span class=cF1>MOV</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,1
|
||
|
<a name="l495"></a> </span><span class=cF1>SBB</span><span class=cF0> </span><span class=cFC>RAX</span><span class=cF0>,0
|
||
|
<a name="l496"></a> </span><span class=cF1>FFREE</span><span class=cF0> </span><span class=cFC>ST0</span><span class=cF0>
|
||
|
<a name="l497"></a> </span><span class=cF1>FINCSTP</span><span class=cF0>
|
||
|
<a name="l498"></a> </span><span class=cF1>ADD</span><span class=cF0> </span><span class=cFC>RSP</span><span class=cF0>,8
|
||
|
<a name="l499"></a>@@50:
|
||
|
<a name="l500"></a>@@55:
|
||
|
<a name="l501"></a>@@60:
|
||
|
<a name="l502"></a>@@65:
|
||
|
<a name="l503"></a>@@70:
|
||
|
<a name="l504"></a>@@75:
|
||
|
<a name="l505"></a>@@80:
|
||
|
<a name="l506"></a>@@85:
|
||
|
<a name="l507"></a>@@90:
|
||
|
<a name="l508"></a>@@95:
|
||
|
<a name="l509"></a>@@100:
|
||
|
<a name="l510"></a>@@105:
|
||
|
<a name="l511"></a>@@110:
|
||
|
<a name="l512"></a>}
|
||
|
</span></pre></body>
|
||
|
</html>
|