Class: Whitespace::ISA::Sub

Inherits:
Binop show all
Defined in:
lib/whitespace/instructions/arithmetic/sub.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) ⇒ Sub

Returns a new instance of Sub.



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

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