clean up intruction instantiation and fix tests

This commit is contained in:
Torsten Ruger
2014-05-14 10:47:30 +03:00
parent 46ea1df51e
commit 2230a4f25e
16 changed files with 86 additions and 76 deletions

View File

@ -7,10 +7,12 @@ module Core
def main_start block
#TODO extract args into array of strings
Vm::CMachine.instance.main_start block
block
end
def main_exit block
# Machine.exit mov r7 , 0 + swi 0
Vm::CMachine.instance.main_exit block
block
end
def function_entry block , f_name
Vm::CMachine.instance.function_entry block , f_name