Class: Dvi::Opcode::Z
- Inherits:
-
ChangeRegister
- Object
- Base
- ChangeRegister0
- ChangeRegister
- Dvi::Opcode::Z
- Defined in:
- lib/dvi/opcode.rb
Overview
Z is a class for z1 … z4 opcode.
Instance Attribute Summary
Attributes inherited from ChangeRegister
Instance Method Summary collapse
-
#interpret(ps) ⇒ Object
Changes processor’s z and moves down z.
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
Changes processor’s z and moves down z.
318 319 320 321 322 323 |
# File 'lib/dvi/opcode.rb', line 318 def interpret(ps) # change z. ps.z = @size # move down. ps.v += @size end |