aboutsummaryrefslogtreecommitdiff
path: root/ia32/float/float.sts
blob: 9f3ba52de0bc19724ba80643116e5c505620b5cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
defasm float_init
    # 9b ?'                             ; wait
    # db ?' # e3 ?'                     ; fninit
next

defasm float_cload
    # d9 ?' # 2c ?' # 24 ?'             ; fldcw [esp]
    # 58 ?'                             ; pop eax
next

defasm float_sstore
    # 9b ?' # df ?' # e0 ?'             ; fstsw ax
    # 50 ?'                             ; push eax
next

defasm float_cstore
    # 50 ?'                             ; push eax
    # d9 ?' # 3c ?' # 24 ?'             ; fstcw [esp]
next

defasm float_fload
    # d9 ?' # 04 ?' # 24 ?'             ; fld dword [esp]
    # 58 ?'                             ; pop eax
next

defasm float_iload
    # db ?' # 04 ?' # 24 ?'             ; fild dword [esp]
    # 58 ?'                             ; pop eax
next

defasm float_fstore
    # 50 ?'                             ; push eax
    # d9 ?' # 1c ?' # 24 ?'             ; fstp dword [esp]
next

defasm float_istore
    # 50 ?'                             ; push eax
    # db ?' # 1c ?' # 24 ?'             ; fistp dword [esp]
next

defasm float_add
    # de ?' # c1 ?'                     ; faddp st1, st0
next

defasm float_div
    # de ?' # f9 ?'                     ; fdivp st1, st0
next