class Tataru::Instructions::CompareInstruction
compares whats in temp result to param
Public Instance Methods
run()
click to toggle source
# File lib/tataru/instructions/compare_instruction.rb, line 7 def run memory.hash[:temp][:result] = if memory.hash[:temp][:result] == @param 1 else 0 end end