[Top] [All Lists]

Code error - why?

Subject: Code error - why?
From: "Balakrishnan Ananthanarayanan" <>
Date: Mon, 17 Jun 2002 04:48:51 -0500
I wrote a SAMPLE CODE - Hello.S to work for a cross-assembler mips-linux-as - 
but this is giving me an error message:
         quest: .asciiz "Hello World!"
         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

Save up to $160 by signing up for NetZero Platinum Internet service.

<Prev in Thread] Current Thread [Next in Thread>