public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Code error - why?
@ 2002-06-17  9:48 Balakrishnan Ananthanarayanan
  0 siblings, 0 replies; only message in thread
From: Balakrishnan Ananthanarayanan @ 2002-06-17  9:48 UTC (permalink / raw)
  To: linux-mips, linux-kernel, redhat-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-17  9:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-17  9:48 Code error - why? Balakrishnan Ananthanarayanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox