summaryrefslogtreecommitdiff
path: root/test/local.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/local.asm')
-rw-r--r--test/local.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/local.asm b/test/local.asm
new file mode 100644
index 0000000..8a42bb8
--- /dev/null
+++ b/test/local.asm
@@ -0,0 +1,19 @@
+;Testname=test; Arguments=-fbin -olocal.bin; Files=stdout stderr local.bin
+ bits 32
+
+%push bluttan
+
+%define %$localsize 0
+
+%stacksize flat
+%local l1:qword, l2:dword, l3:dword, l4:qword
+%arg a1:qword, a2:dword, a3:dword, a4:qword
+
+ mov eax,[a1]
+ mov ebx,[a2]
+ mov ecx,[a3]
+ mov edx,[a4]
+ mov [l1],eax
+ mov [l2],ebx
+ mov [l3],ecx
+ mov [l4],edx