From 405c4f104975e5456ce6b28ad31fd996d3f4b657 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 16 Oct 2020 12:45:33 +0300 Subject: Initial --- ia32/stack.sts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ia32/stack.sts (limited to 'ia32/stack.sts') diff --git a/ia32/stack.sts b/ia32/stack.sts new file mode 100644 index 0000000..a8ac749 --- /dev/null +++ b/ia32/stack.sts @@ -0,0 +1,25 @@ +defasm drop +; pop eax +# 58 ?' +next + +defasm dup +; push dword [esp] +# ff ?' # 34 ?' # 24 ?' +next + +defasm over +; push dword [esp + 4] +# ff ?' # 74 ?' # 24 ?' # 4 ?' +next + +defasm swap +; pop eax +# 58 ?' +; pop ebx +# 5b ?' +; push eax +# 50 ?' +; push ebx +# 53 ?' +next -- cgit v1.2.3