class SpecialRegister

SpecialRegister is the abstract implementation of any kind of register that isn't a general register, eg: segment registers, mmx registers, fpu registers, etc…

Attributes

id[RW]

Public Class Methods

on_id(machine, id) click to toggle source
# File lib/wilson.rb, line 1071
def self.on_id machine, id
  register = self.new
  register.machine = machine
  register.id = id
  register
end

Public Instance Methods

special_register?() click to toggle source
# File lib/wilson.rb, line 1078
def special_register?
  true
end