Class: Dvi::Opcode::Y
- Inherits:
-
ChangeRegister
- Object
- Base
- ChangeRegister0
- ChangeRegister
- Dvi::Opcode::Y
- Defined in:
- lib/dvi/opcode.rb
Overview
Y is a class for y1 … y4 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
295 296 297 298 299 300 |
# File 'lib/dvi/opcode.rb', line 295 def interpret(ps) # change y. ps.y = @size # move down. ps.v += @size end |