some helper functions

for when i started the assembler div10
in the end i did the div10 in some, so no need
This commit is contained in:
Torsten Ruger
2015-11-13 20:47:08 +02:00
parent 4a8bb32039
commit 9ab3de234d
4 changed files with 15 additions and 0 deletions

View File

@ -13,6 +13,9 @@ module Register
"OperatorInstruction: #{left} #{operator} #{right}"
end
def self.op source , operator , left , right
OperatorInstruction.new source , operator , left , right
end
end
end