T.I.M | ISA Specification
|
Loads a value from memory into the destination register. The address used is the summation of the second and third operand registers. The contents of the second and third registers are treated as unsigned 4-byte aligned numbers. The final nibble of the instruction is a byte mask used to set which bytes are actually loaded from memory and which are discarded.
The LOADR instruction can use any of the general purpose registers R0
to R15
as either destination or source operands.
This is a 3 byte instruction
Note that the final byte mask is optional. If it is omitted (as in example 3) then it is assumed to be 1111. It should be 4 characters long and only '1' or '0'.