All of lore.kernel.org
 help / color / mirror / Atom feed
* Code error - why?
@ 2002-06-17  9:48 Balakrishnan Ananthanarayanan
  2002-06-17 16:01   ` Bradley D. LaRonde
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages 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] 7+ messages in thread

end of thread, other threads:[~2002-06-19 16:15 UTC | newest]

Thread overview: 7+ messages (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
2002-06-17 16:01 ` Bradley D. LaRonde
2002-06-17 16:01   ` Bradley D. LaRonde
2002-06-18 16:14   ` Justin Carlson
2002-06-19 16:18     ` Maciej W. Rozycki
2002-06-17 16:29 ` Justin Wojdacki
2002-06-17 16:55 ` Thiemo Seufer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.