aboutsummaryrefslogtreecommitdiff
path: root/ia32/math.sts
diff options
context:
space:
mode:
authorexegete <nikitf-97@mail.ru>2020-10-17 03:33:08 +0300
committerexegete <nikitf-97@mail.ru>2020-10-17 03:33:08 +0300
commitb6b9e29c1484c9c8b8af2b382d3a9d796c310217 (patch)
tree531c498be57a6ed4c61035e33dade9d6a18ae755 /ia32/math.sts
parent808a161313e0a03ead45f843fee3d9c40bec02bd (diff)
downloadcryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.tar
cryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.tar.xz
cryptrobber-b6b9e29c1484c9c8b8af2b382d3a9d796c310217.zip
Common dir added, stderr output, minor changes
Diffstat (limited to 'ia32/math.sts')
-rw-r--r--ia32/math.sts97
1 files changed, 44 insertions, 53 deletions
diff --git a/ia32/math.sts b/ia32/math.sts
index 95ca5f7..fefe1d4 100644
--- a/ia32/math.sts
+++ b/ia32/math.sts
@@ -1,79 +1,70 @@
defasm +
- # 58 ?' ; pop eax
- # 01 ?' # 04 ?' # 24 ?' ; add [esp], eax
+ # 58 ?' ; pop eax
+ # 01 ?' # 04 ?' # 24 ?' ; add [esp], eax
next
defasm -
- # 58 ?' ; pop eax
- # 29 ?' # 04 ?' # 24 ?' ; sub [esp], eax
+ # 58 ?' ; pop eax
+ # 29 ?' # 04 ?' # 24 ?' ; sub [esp], eax
next
defasm /
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 31 ?' # d2 ?' ; xor edx, edx
- # f7 ?' # f3 ?' ; div ebx
- # 52 ?' ; push edx
- # 50 ?' ; push eax
+ # 5b ?' ; pop ebx
+ # 58 ?' ; pop eax
+ # 31 ?' # d2 ?' ; xor edx, edx
+ # f7 ?' # f3 ?' ; div ebx
+ # 52 ?' ; push edx
+ # 50 ?' ; push eax
next
defasm mod
- # 5b ?' ; pop ebx
- # 58 ?' ; pop eax
- # 31 ?' # d2 ?' ; xor edx, edx
- # f7 ?' # f3 ?' ; div ebx
- # 52 ?' ; push edx
+ # 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
+ # 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
+ # 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 ?' ; 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 ?' ; sete al
- # 0f ?' # b6 ?' # c0 ?' ; movzx eax, al
- # 50 ?' ; push eax
+ # 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
+ # 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
+ # 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