20 Load Address
The following example shows the la pseudoinstruction which is used to load
symbol addresses using the correct sequence based on whether the code is being
assembled as PIC:
la a0, msg + 1
For non-PIC this is an alias for the lla pseudoinstruction documented below.
For PIC this is an alias for the lga pseudoinstruction documented below.
The la pseudoinstruction is the preferred way for getting the address of
variables in assembly unless explicit control over PC-relative or GOT-indirect
addressing is required.