Class: Dvi::Opcode::ChangeRegister

Inherits:
ChangeRegister0 show all
Defined in:
lib/dvi/opcode.rb

Direct Known Subclasses

Down, Right, W, X, Y, Z

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ChangeRegister0

read

Methods inherited from Base

#interpret, range, read, set_range

Constructor Details

#initialize(size) ⇒ ChangeRegister

Returns a new instance of ChangeRegister.



219
220
221
# File 'lib/dvi/opcode.rb', line 219

def initialize(size)
  @size = size
end

Instance Attribute Details

#sizeObject (readonly)

Returns the value of attribute size.



217
218
219
# File 'lib/dvi/opcode.rb', line 217

def size
  @size
end