Class: Dvi::Opcode::W0

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

Overview

W0 is a class for w0 opcode.

Instance Method Summary collapse

Methods inherited from ChangeRegister0

read

Methods inherited from Base

range, read, set_range

Instance Method Details

#interpret(ps) ⇒ Object



236
237
238
239
# File 'lib/dvi/opcode.rb', line 236

def interpret(ps)
  # move right.
  ps.h += ps.w
end