aboutsummaryrefslogtreecommitdiff
path: root/ia32/math.sts
diff options
context:
space:
mode:
Diffstat (limited to 'ia32/math.sts')
-rw-r--r--ia32/math.sts68
1 files changed, 0 insertions, 68 deletions
diff --git a/ia32/math.sts b/ia32/math.sts
deleted file mode 100644
index 609a21a..0000000
--- a/ia32/math.sts
+++ /dev/null
@@ -1,68 +0,0 @@
-defasm +
- # 58 ?' ; pop eax
- # 01 ?' # 04 ?' # 24 ?' ; add [esp], eax
-next
-
-defasm -
- # 58 ?' ; pop eax
- # 29 ?' # 04 ?' # 24 ?' ; sub [esp], eax
-next
-
-defasm mul
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # f7 ?' # e3 ?' ; mul ebx
- # 50 ?' ; push eax
-next
-
-defasm mod
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 31 ?' # d2 ?' ; xor edx, edx
- # f7 ?' # f3 ?' ; div ebx
- # 52 ?' ; push edx
-next
-
-defasm div
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 31 ?' # d2 ?' ; xor edx, edx
- # f7 ?' # f3 ?' ; div ebx
- # 50 ?' ; push eax
-next
-
-defasm =
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 39 ?' # d8 ?' ; cmp eax, ebx
- # 0f ?' # 94 ?' # c0 ?' ; sete al
- # 0f ?' # b6 ?' # c0 ?' ; movzx eax, al
- # 50 ?' ; push eax
-next
-
-defasm !=
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 39 ?' # d8 ?' ; cmp eax, ebx
- # 0f ?' # 95 ?' # c0 ?' ; setne al
- # 0f ?' # b6 ?' # c0 ?' ; movzx eax, al
- # 50 ?' ; push eax
-next
-
-defasm <
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 39 ?' # d8 ?' ; cmp eax, ebx
- # 0f ?' # 92 ?' # c0 ?' ; setb al
- # 0f ?' # b6 ?' # c0 ?' ; movzx eax, al
- # 50 ?' ; push eax
-next
-
-defasm >
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 39 ?' # d8 ?' ; cmp eax, ebx
- # 0f ?' # 97 ?' # c0 ?' ; seta al
- # 0f ?' # b6 ?' # c0 ?' ; movzx eax, al
- # 50 ?' ; push eax
-next