Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory byte address
sd
Operands
$reg, [imm($reg) / imm / id / id+imm / ($reg) / id($reg) / id+imm($reg)]Variants
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory byte address sd $t1,-100($t2)
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,100000
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,label
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,label+100000
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,($t2)
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,100000($t2)
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,label($t2)
- Store Doubleword : Store contents of $t1 and the next register to the 64 bits starting at effective memory word address sd $t1,label+100000($t2)
.data
.align 3
data: .word 0, 0
.text
# sd stores a two-register value. Initialize $t0/$t1 as 0x12345678:0x55667788; inspect bytes: 88 77 66 55 78 56 34 12.
la $t2, data
li $t0, 0x55667788
li $t1, 0x12345678
sd $t0, 0($t2)