rename code.length tp mem_length with lots of noise impact
This commit is contained in:
@ -12,12 +12,11 @@ module Register
|
||||
|
||||
# Instruction derives from Code, for the assembly api
|
||||
|
||||
class Instruction < Code
|
||||
class Instruction < Virtual::Object
|
||||
def initialize options
|
||||
@attributes = options
|
||||
end
|
||||
attr_reader :attributes
|
||||
attr_accessor :position
|
||||
def opcode
|
||||
@attributes[:opcode]
|
||||
end
|
||||
|
Reference in New Issue
Block a user