diff options
Diffstat (limited to 'sts/ia32/core.sts')
-rw-r--r-- | sts/ia32/core.sts | 17 |
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 |