Class: N65::Assembler::State

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

Instance Attribute Summary collapse

Instance Attribute Details

#bankObject (readonly)

Returns the value of attribute bank

Returns:

  • (Object)

    the current value of bank



18
19
20
# File 'lib/n65.rb', line 18

def bank
  @bank
end

#program_counterObject (readonly)

Returns the value of attribute program_counter

Returns:

  • (Object)

    the current value of program_counter



18
19
20
# File 'lib/n65.rb', line 18

def program_counter
  @program_counter
end

#scopeObject (readonly)

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



18
19
20
# File 'lib/n65.rb', line 18

def scope
  @scope
end

#segmentObject (readonly)

Returns the value of attribute segment

Returns:

  • (Object)

    the current value of segment



18
19
20
# File 'lib/n65.rb', line 18

def segment
  @segment
end