aboutsummaryrefslogtreecommitdiff
path: root/sts
diff options
context:
space:
mode:
authorexegete <nikitf-97@mail.ru>2020-10-29 15:26:21 +0300
committerexegete <nikitf-97@mail.ru>2020-10-29 15:26:21 +0300
commit9392f52163b6629160fdb840c3e69126651df6cc (patch)
tree84d281a221d8f8722e390415de428b2fed687c3a /sts
parent43ed5a384531400083a06dbb5929eafb621610bd (diff)
downloadcryptrobber-9392f52163b6629160fdb840c3e69126651df6cc.tar
cryptrobber-9392f52163b6629160fdb840c3e69126651df6cc.tar.xz
cryptrobber-9392f52163b6629160fdb840c3e69126651df6cc.zip
SML language overview added.
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 =