putint works, work on syntax goes on

This commit is contained in:
Torsten Ruger
2014-05-19 15:44:12 +03:00
parent 76ce9aa654
commit 285988f173
4 changed files with 25 additions and 24 deletions

View File

@@ -33,8 +33,8 @@ module Vm
@string = str + "\x00" * pad
end
def load reg_num
Machine.instance.string_load self , reg_num
def result= value
class_for(MoveInstruction).new(value , self , :opcode => :mov)
end
# the strings length plus padding