aboutsummaryrefslogtreecommitdiff
path: root/sts
diff options
context:
space:
mode:
Diffstat (limited to 'sts')
-rw-r--r--sts/ia32/math.sts8
1 files changed, 4 insertions, 4 deletions
diff --git a/sts/ia32/math.sts b/sts/ia32/math.sts
index 609a21a..2997aeb 100644
--- a/sts/ia32/math.sts
+++ b/sts/ia32/math.sts
@@ -15,20 +15,20 @@ defasm mul
# 50 ?' ; push eax
next
-defasm mod
+defasm div
# 5b ?' ; pop ebx
# 58 ?' ; pop eax
# 31 ?' # d2 ?' ; xor edx, edx
# f7 ?' # f3 ?' ; div ebx
- # 52 ?' ; push edx
+ # 50 ?' ; push eax
next
-defasm div
+defasm mod
# 5b ?' ; pop ebx
# 58 ?' ; pop eax
# 31 ?' # d2 ?' ; xor edx, edx
# f7 ?' # f3 ?' ; div ebx
- # 50 ?' ; push eax
+ # 52 ?' ; push edx
next
defasm =