Class: Dvi::Opcode::W
- Inherits:
-
ChangeRegister
- Object
- Base
- ChangeRegister0
- ChangeRegister
- Dvi::Opcode::W
- Defined in:
- lib/dvi/opcode.rb
Overview
W is a class for w1 … w4 opcodes.
Instance Attribute Summary
Attributes inherited from ChangeRegister
Instance Method Summary collapse
Methods inherited from ChangeRegister
Methods inherited from ChangeRegister0
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dvi::Opcode::ChangeRegister
Instance Method Details
#interpret(ps) ⇒ Object
245 246 247 248 249 250 |
# File 'lib/dvi/opcode.rb', line 245 def interpret(ps) # change w. ps.w = @size # move right. ps.h += @size end |