Class: Whitespace::ISA::Div

Inherits:
Binop show all
Defined in:
lib/whitespace/instructions/arithmetic/div.rb

Instance Attribute Summary

Attributes inherited from Instruction

#vm

Instance Method Summary collapse

Methods inherited from Binop

#execute

Methods inherited from Instruction

#execute

Constructor Details

#initialize(vm) ⇒ Div

Returns a new instance of Div.



5
6
7
# File 'lib/whitespace/instructions/arithmetic/div.rb', line 5

def initialize(vm)
  super(vm, :div)
end