From b38b5d220af34e43c48ecdc7a626fd08b7106bd0 Mon Sep 17 00:00:00 2001 From: omicron Date: Mon, 7 Apr 2025 10:52:49 +0200 Subject: [PATCH] Add .import and .export to the input test file --- tests/input/valid.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/input/valid.asm b/tests/input/valid.asm index 274b656..d56c48d 100644 --- a/tests/input/valid.asm +++ b/tests/input/valid.asm @@ -2,6 +2,9 @@ ; Small valid code snippet that should contain all different AST nodes +.export _start +.import exit + _start: mov eax, ebx lea eax, [eax + ebx * 4 + 8] @@ -19,3 +22,5 @@ _start: push 0xffff:64 push 0o777:16 push 0b0001:16 + mov rax, 0 + call exit