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
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue