trying to get function calls to work (but will have to rework regeister handling)

This commit is contained in:
Torsten Ruger
2014-05-10 15:24:56 +03:00
parent 7d69132d90
commit 79a28ac5fa
9 changed files with 25 additions and 7 deletions

View File

@@ -31,6 +31,7 @@ module Arm
end
def word_load value , reg
raise "nnn " unless reg.class == Symbol
mov( :left => reg , :right => value )
end
def string_load str_lit , reg