class RiSC16::Object::Section::Reference

Overview

Represent a reference to a symbol. The #address is the offset within the block of code of the section where the reference is stored. The #offset is an value to add to the reference symbol value before writing it within the block of code. the #kind control how the referenced value should be written and which restriction must be applied.

Defined in:

assembler/object.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(address : UInt16, offset : Int32, kind : RiSC16::Object::Section::Reference::Kind) #

[View source]

Instance Method Detail

def address : UInt16 #

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

[View source]
def kind : Kind #

[View source]
def kind=(kind : Kind) #

[View source]
def offset : Int32 #

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

[View source]