What does instruction LA mean?

Jones Madhuri madhuri_jones at yahoo.com
Wed Mar 28 15:32:51 EST 2001


Hello,

I am novice in Power PC assembly code and I am trying
compile in following code (written by someone else)
into head_8xx.S.

This function has instruction like

mfspr r3, IC_CST
LA r4, IC_CST_LEN

However the hardhat assembler doesn't understand the
mnemonic LA, is LA same as add immediate instruction?
addi r4, r4, IC_CST_LEN

Please help!!

Thanks.

M.J.

Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/?.refer=text

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/






More information about the Linuxppc-embedded mailing list