From be953c23a9ee9c328d186e0afd7fbc0855eefd3a Mon Sep 17 00:00:00 2001 From: exegete Date: Sat, 17 Oct 2020 20:59:23 +0300 Subject: float lib finished --- ia32/float/float.sts | 50 +++----------------------------------------------- 1 file changed, 3 insertions(+), 47 deletions(-) (limited to 'ia32/float/float.sts') diff --git a/ia32/float/float.sts b/ia32/float/float.sts index 9f3ba52..d6907ca 100644 --- a/ia32/float/float.sts +++ b/ia32/float/float.sts @@ -1,47 +1,3 @@ -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 +module ia32/float/control.sts +module ia32/float/stack.sts +module ia32/float/math.sts -- cgit v1.2.3