The "$at" Register

Hello,

I’m curious what the “$at”-register is actually used for.
The lecture notes only say: “Reserved. Used by linker.”, but it appears mutliple times
in the exercise-sheet solutions. For me, it seems like the functionality of “$at” is kind of important to understand, since it appears quiet often in the last sheet.

I hope that a better understanding of it will explain why the solutions actually work :see_no_evil:

Thanks in advance,
David

It is also used by the assembler to implement pseudo-instructions. You may want to check the disassembly of a li instruction, e.g. li $t0 0x12345678

2 Likes