turn test files in one function definition

This commit is contained in:
Quentin Carbonneaux 2015-09-07 22:11:43 -04:00
parent 87ab8941ed
commit a1b3e82dc9
16 changed files with 114 additions and 82 deletions

View file

@ -1,13 +1,15 @@
@start
function $test {
@start
%x =w copy 1
@loop
@loop
jnz %x, @noz, @isz
@noz
@noz
%x =w copy 0
jnz %x, @loop, @end
@isz
@isz
%x =w copy 1
jmp @loop
@end
@end
%z =w add 10, %x
ret
}