Class: Wardite::MemorySection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite/load.rb

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeMemorySection

Returns a new instance of MemorySection.



58
59
60
61
62
63
# File 'lib/wardite/load.rb', line 58

def initialize
  self.name = "Memory"
  self.code = 0x5

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer?]]



55
56
57
# File 'lib/wardite/load.rb', line 55

def limits
  @limits
end