break/continue N works

This commit is contained in:
anon
2024-07-28 21:50:42 +02:00
parent c90d0e1807
commit a9f77e5b8e
7 changed files with 112 additions and 15 deletions

21
test/break.eax Normal file
View File

@ -0,0 +1,21 @@
program my_break
u8 <> yeah = "yeah"
u8 <> nope = "nope"
begin
repeat
mov eax 1
mov edi 1
mov esi yeah
mov edx 4
syscall
break
mov eax 1
mov edi 1
mov esi nope
mov edx 4
syscall
end repeat
exit 0
end program