T.I.M | ISA Specification
|
Stores a value from the source register into memory. The address used is made up of the 16 bit immediate and the contents of the second source register. The immediate is interpreted as a 4-byte aligned unsigned value. The STORI instruction does not allow byte masking like the STORR instruction does, hence it will always store an entire word into memory.
The STORI instruction can use any of the general purpose registers R0
to R15
as its two source operands.
This is a 4 byte instruction
When an immediate is supplied that does not fit into 16 bits, the lower 16 bits are used and any upper bits are discarded by the assembler.
Immediates that specify fewer than 4 bytes are padded with high order zeros to make them 16 bits long explicitly.