From b6b9e29c1484c9c8b8af2b382d3a9d796c310217 Mon Sep 17 00:00:00 2001 From: exegete Date: Sat, 17 Oct 2020 03:33:08 +0300 Subject: Common dir added, stderr output, minor changes --- ia32/core.sts | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'ia32/core.sts') 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 -- cgit v1.2.3