RosettaCodeData/Task/Special-variables/MIPS-Assembly/special-variables.mips
2023-07-01 13:44:08 -04:00

5 lines
208 B
Text

li $t0,0x4500
li $t1,0xFFFF
multu $t0,$t1 ;unsigned multiplication of $t0 and $t1
mfhi $t0 ;load the top 32 bits of the product into $t0
mflo $t1 ;load the bottom 32 bits of the product into $t1