Class: Dvi::Opcode::X
- Inherits:
-
ChangeRegister
- Object
- Base
- ChangeRegister0
- ChangeRegister
- Dvi::Opcode::X
- Defined in:
- lib/dvi/opcode.rb
Overview
X is a class for x1 … x4 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
265 266 267 268 269 270 |
# File 'lib/dvi/opcode.rb', line 265 def interpret(ps) # change x. ps.x = @size # move right. ps.h += ps.x end |