Class: Dvi::Opcode::Y0

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

Overview

Y0 is a class for y0 opcode.

Instance Method Summary collapse

Methods inherited from ChangeRegister0

read

Methods inherited from Base

range, read, set_range

Instance Method Details

#interpret(ps) ⇒ Object



286
287
288
289
# File 'lib/dvi/opcode.rb', line 286

def interpret(ps)
  # move down.
  ps.v += ps.y
end