aboutsummaryrefslogtreecommitdiff
path: root/sts/ia32/core.sts
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-10-18 18:22:31 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-10-18 18:22:31 +0300
commitdf0d6a4503a26508553510b4050eaa79f52e4e4e (patch)
tree2517b6070319270a4cb0df9dcf3814b16ecaece9 /sts/ia32/core.sts
parent9eadc7bac8863b7fd3a39edc9ba31cf4d3b5ab95 (diff)
downloadcryptrobber-df0d6a4503a26508553510b4050eaa79f52e4e4e.tar
cryptrobber-df0d6a4503a26508553510b4050eaa79f52e4e4e.tar.xz
cryptrobber-df0d6a4503a26508553510b4050eaa79f52e4e4e.zip
Another step to release.
Diffstat (limited to 'sts/ia32/core.sts')
-rw-r--r--sts/ia32/core.sts17
1 files changed, 17 insertions, 0 deletions
diff --git a/sts/ia32/core.sts b/sts/ia32/core.sts
new file mode 100644
index 0000000..4a5e692
--- /dev/null
+++ b/sts/ia32/core.sts
@@ -0,0 +1,17 @@
+defasm docol
+ # 83 ?' # ed ?' # 4 ?' ; sub ebp, 4
+ # 89 ?' # 75 ?' # 0 ?' ; mov [ebp], esi
+ # 83 ?' # c0 ?' # 4 ?' ; add eax, 4
+ # 89 ?' # c6 ?' ; mov esi, eax
+ # ad ?' # ff ?' # 20 ?' ; go next
+next
+
+defasm exit
+ # 8b ?' # 75 ?' # 0 ?' ; mov esi, [ebp]
+ # 83 ?' # c5 ?' # 4 ?' ; add ebp, 4
+next
+
+defasm lit
+ # ad ?' ; lodsd
+ # 50 ?' ; push eax
+next