rename code.length tp mem_length with lots of noise impact

This commit is contained in:
Torsten Ruger
2014-09-16 17:16:56 +03:00
parent cffa7f1953
commit 8b8a8eea56
14 changed files with 124 additions and 50 deletions

View File

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