Rev 696 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
696 | andrew_pro | 1 | |
2 | include '../proc32.inc' |
||
7855 | Boppan | 3 | section '.text' executable |
696 | andrew_pro | 4 | |
5 | |||
6 | |||
7 | |||
8 | |||
9 | |||
10 | mov ebp,esp |
||
11 | sub esp,8 |
||
12 | |||
13 | |||
14 | mov dx,[ebp-12] |
||
15 | or dx,0x0800 |
||
16 | and dx,0xfbff |
||
17 | mov word[ebp-16],dx |
||
18 | fldcw [ebp-16] |
||
19 | |||
20 | |||
21 | frndint |
||
22 | |||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 |