alias Stacklang::Function::Kind

Alias Definition

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

Defined in:

stacklang/compiler/function/function.cr

Constant Summary

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.

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.

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.

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.

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.