misc little test fixes

This commit is contained in:
Torsten Ruger
2018-07-03 10:12:40 +03:00
parent bb1d1495db
commit cab6bc389f
7 changed files with 30 additions and 34 deletions

View File

@ -6,7 +6,7 @@ module Risc
def setup
Parfait.boot!
@binary = Parfait::BinaryCode.new(1)
@bin_pos = CodeListener.init(@binary).set(0)
@bin_pos = CodeListener.init(@binary,:interpreter).set(0)
@label = Label.new("HI","ho" , FakeAddress.new(2))
@branch = DummyBranch.new( "Dummy" , @label )
@branch.insert @label