class RiSC16::Object::Section::Symbol

Overview

Represent a symbol defined by a section. It can be static to the section or global depending on #exported. The #address is relative to the block of code of the section it belongs to.

Defined in:

assembler/object.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(address : Int32, exported : Bool) #

[View source]

Instance Method Detail

def address : Int32 #

NOTE the address is sometimes used to store macros values from the specification. file RiSC16::Spec. This is why it must allows negative values.


[View source]
def address=(address : Int32) #

NOTE the address is sometimes used to store macros values from the specification. file RiSC16::Spec. This is why it must allows negative values.


[View source]
def exported : Bool #

[View source]
def exported=(exported : Bool) #

[View source]