class Tataru::Memory

memory that can be manipulated by instructions

Attributes

call_stack[RW]
end[RW]
error[RW]
hash[RW]
program_counter[RW]

Public Class Methods

new() click to toggle source
# File lib/tataru/memory.rb, line 8
def initialize
  @program_counter = 0
  @hash = { temp: {} }
  @error = nil
  @call_stack = []
  @end = false
end