use factory functions consistently to create instructions

This commit is contained in:
Torsten Ruger
2016-12-28 19:01:58 +02:00
parent 4cf732d395
commit 9cf56b3aa6
13 changed files with 44 additions and 33 deletions

View File

@ -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