Class: Whitespace::ISA::Add

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

Returns a new instance of Add.



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

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