Is there any simple way or macro to load 64bit address into mips64 GPR
问题 I want to load 64 bit address into MIPS64 General Purpose Register(GPR). I can do it by lui $at, LabelAddr[63:48] ori $at, $at, LabelAddr[47:32] sll $at, 16 ori $at, $at, LabelAddr[31:16] sll $at, 16 ori $at, $at, LabelAddr[15:0] But, Is there any other way to do it? I got some information from this But i want to know what is "constant pool" and how to create it and how to access it? 回答1: The "simple" way is to let the assembler handle it using the dla pseudoinstruction. It will expand to