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

@ -5,15 +5,17 @@
#
# nothing should ever be live at the entry
@start
function $test {
@start
%b =w copy 0
%x =w copy 10
jnz 0, @loop, @left
@left
@left
jmp @inloop
@loop
@loop
%x1 =w add %x, 1
@inloop
@inloop
%b1 =w add %b, 1
@endloop
@endloop
jmp @loop
}