diff options
Diffstat (limited to 'ia32/float/stack.sts')
-rw-r--r-- | ia32/float/stack.sts | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ia32/float/stack.sts b/ia32/float/stack.sts new file mode 100644 index 0000000..ca95196 --- /dev/null +++ b/ia32/float/stack.sts @@ -0,0 +1,19 @@ +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 |