turn test files in one function definition
This commit is contained in:
parent
87ab8941ed
commit
a1b3e82dc9
16 changed files with 114 additions and 82 deletions
|
@ -1,13 +1,15 @@
|
|||
@start
|
||||
function $test {
|
||||
@start
|
||||
%x =w copy 1
|
||||
@loop
|
||||
@loop
|
||||
jnz %x, @noz, @isz
|
||||
@noz
|
||||
@noz
|
||||
%x =w copy 0
|
||||
jmp @end
|
||||
@isz
|
||||
@isz
|
||||
%x =w copy 1
|
||||
jmp @loop
|
||||
@end
|
||||
@end
|
||||
%z =w add 10, %x
|
||||
ret
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue