Store Word (stw)

Syntax

stw $s_reg, address

Description

Store Word stores the two least significant bytes of the source register in the memory location specified by the effective address.

If the effective address is not evenly divisible by 2, a data alignment exception may be signaled.

Note   The assembler destroys the contents of temporary registers $at, $t9, $t10, and $t11 for this instruction unless the .arch directive or the /arch command-line option causes the assembler to generate a single machine instruction in response to the stw command.