enum RiSC16::Object::Section::Reference::Kind

Defined in:

assembler/object.cr

Enum Members

Imm = 0

Value must be converted to a 7 bit complement form signed integer, to write in the 7 lsb of the Reference#offset'th word of Section#text.

Lui = 1

Value must be converted to a 16 bit complement form signed integer, to write the 10 msb of in the 10 lsb of the Reference#offset'th word of Section#text.

Lli = 2

Value must be converted to a 16 bit complement form signed integer, to write the 6 lsb of in the 7 lsb of the Reference#offset'th word of Section#text.

Data = 3

Value must be converted to a 16 bit complement form signed integer, to write in the Reference#offset'th word of Section#text.

Beq = 4

Value must be made relative to reference addres, then converted to a 7 bit complement form signed integer, to write in the 7 lsb of the Reference#offset'th word of Section#text.

Instance Method Summary

Instance Method Detail

def beq? #

[View source]
def data? #

[View source]
def imm? #

[View source]
def lli? #

[View source]
def lui? #

[View source]