| To: | linux-mips@oss.sgi.com, linux-kernel@vger.kernel.org, redhat-list@redhat.com |
|---|---|
| Subject: | Code error - why? |
| From: | "Balakrishnan Ananthanarayanan" <balakris_ananth@email.com> |
| Date: | Mon, 17 Jun 2002 04:48:51 -0500 |
| Sender: | owner-linux-mips@oss.sgi.com |
I wrote a SAMPLE CODE - Hello.S to work for a cross-assembler mips-linux-as -
but this is giving me an error message:
".data
quest: .asciiz "Hello World!"
.text
_start:
la $a0, quest
li $v0, 4
syscall "
The error messages are:
" Hello.S line 5: illegal operands 'la'
Hello.S line 6: illegal operands 'li'"
Can anyone help? What is wrong?
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | regarding jal instruction in mips, aditya |
|---|---|
| Next by Date: | PCI DMA transfer, Carsten Langgaard |
| Previous by Thread: | regarding jal instruction in mips, aditya |
| Next by Thread: | Re: Code error - why?, Justin Wojdacki |
| Indexes: | [Date] [Thread] [Top] [All Lists] |