STR

Stores a register or immediate value in the dereferenced value of a register. The destination register supports offsetting.

Instruction

Operand 1

Operand 2

Operand 3

Description

STR

Reg

Imm

Reg/Imm

[OP1+OP2] <= OP3

// Stores 1337 into [REG_SP+0]
block->str(REG_SP, 0, 1337);

Last updated