Load Doubleword Pseudoinstruction in MIPS
I am trying to understand the ld (load double word) pseudo instruction in MIPS32. How could I translate something like:
ld $t1, 0($t0)
into an executable set of MIPS instructions without destroying the value of $t0? I understand that for a 32-bit quantity I should use a lui instruction (for the first 16 bits) followed by an ori instruction (for the last 16 bits), but I do not understand how to extend this logic for a 64-bit quantity. Thank you!
Edited to specify that I am using MIPS32, not MIPS64
链接地址: http://www.djcxy.com/p/19216.html上一篇: 寄存器长度,内存大小和32/64位计算(MIPS)
下一篇: 在MIPS中加载双字伪指令