Class: Wardite::MemorySection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite.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.



65
66
67
68
69
70
# File 'lib/wardite.rb', line 65

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

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer|nil]]



62
63
64
# File 'lib/wardite.rb', line 62

def limits
  @limits
end