break/continue N works
This commit is contained in:
21
test/break.eax
Normal file
21
test/break.eax
Normal 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
|
Reference in New Issue
Block a user