컴퓨터 구조 pseudo instructions
MIPS pseudo instructions
MIPS assembler recognizes, but not real instructions
| Name | Assemly Syntax | Expantion |
|---|---|---|
| Load immediate | li reg, value |
lui reg, upper_hiori reg, reg, valure_lo</br> |
| move | move $t, $s |
add $t, $zero, $s |
li $t, 0x1234abcd
->
lui $t, 0x1234
ori $t, 0xabcd
move $t, $s
->
add $t, $0, $s