Class: Dvi::Opcode::Z0

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

Overview

Z0 is a class for z0 opcode.

Instance Method Summary collapse

Methods inherited from ChangeRegister0

read

Methods inherited from Base

range, read, set_range

Instance Method Details

#interpret(ps) ⇒ Object

Moves down processor’s z.



308
309
310
# File 'lib/dvi/opcode.rb', line 308

def interpret(ps)
  ps.v += ps.z
end