Class: RecallNode

Inherits:
Object
  • Object
show all
Defined in:
lib/ast.rb

Instance Method Summary collapse

Instance Method Details

#evaluateObject



217
218
219
# File 'lib/ast.rb', line 217

def evaluate()
  $calc.memory
end

#eweObject



220
221
222
223
# File 'lib/ast.rb', line 220

def ewe()
  recall = "M[sp + 0] := mem \n"
  return recall
end