use factory functions consistently to create instructions
This commit is contained in:
@ -81,7 +81,7 @@ class TestLogic < MiniTest::Test
|
||||
end
|
||||
|
||||
def label pos = 0x22
|
||||
l = Register::Label.new("some" , "Label")
|
||||
l = Register.label("some" , "Label")
|
||||
l.position = pos
|
||||
l
|
||||
end
|
||||
|
Reference in New Issue
Block a user