diff options
Diffstat (limited to 'ia32/core.sts')
-rw-r--r-- | ia32/core.sts | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/ia32/core.sts b/ia32/core.sts index 17b7d89..4a5e692 100644 --- a/ia32/core.sts +++ b/ia32/core.sts @@ -1,19 +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 + # 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 + # 8b ?' # 75 ?' # 0 ?' ; mov esi, [ebp] + # 83 ?' # c5 ?' # 4 ?' ; add ebp, 4 next defasm lit - # ad ?' ; lodsd - # 50 ?' ; push eax + # ad ?' ; lodsd + # 50 ?' ; push eax next - -defconst word_size 4 |