introduce some helper methods

This commit is contained in:
Torsten Ruger
2018-06-02 23:02:59 +03:00
parent c2d450f779
commit 1d1c7105b4
9 changed files with 50 additions and 25 deletions

View File

@ -18,7 +18,7 @@ module Arm
@machine = Arm::ArmMachine
@binary = FakeBin.new
Risc::Position.clear_positions
Risc::Position.set(@binary , 0)
Risc::Position.new(@binary , 0)
end
# code is what the generator spits out, at least one instruction worth (.first)