add position to instruction (for relative calculations)
This commit is contained in:
@ -17,6 +17,7 @@ module Register
|
||||
@attributes = options
|
||||
end
|
||||
attr_reader :attributes
|
||||
attr_accessor :position
|
||||
def opcode
|
||||
@attributes[:opcode]
|
||||
end
|
||||
|
Reference in New Issue
Block a user