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.



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

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

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer?]]



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

def limits
  @limits
end