diff --git a/tests/input/valid.asm b/tests/input/valid.asm index de95bbe..274b656 100644 --- a/tests/input/valid.asm +++ b/tests/input/valid.asm @@ -1,5 +1,17 @@ +.section text + +; Small valid code snippet that should contain all different AST nodes + _start: - mov eax, 555 ; move 555 into eax + mov eax, ebx + lea eax, [eax + ebx * 4 + 8] + lea eax, [eax + 8] + lea eax, [eax + ebx * 8] + lea eax, [esp - 24] + lea eax, [eax + ebx * 4 - 8] + lea eax, [_start] + mov eax, _start + mov eax, 555 push 0o777 xor eax, 0xDEADBEEF and ecx, 0o770