linux-mips
[Top] [All Lists]

Re: Question concerning Assembler error

To: Jeff Harrell <jharrell@ti.com>
Subject: Re: Question concerning Assembler error
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Thu, 8 Mar 2001 17:37:24 +0100
Cc: linux-mips@oss.sgi.com
In-reply-to: <3AA7B13F.F918E1F8@ti.com>; from jharrell@ti.com on Thu, Mar 08, 2001 at 09:20:15AM -0700
References: <3AA7B13F.F918E1F8@ti.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Thu, Mar 08, 2001 at 09:20:15AM -0700, Jeff Harrell wrote:

>         /* Interrupt : For now we simply disable interrupts and
>      return */
> 
>              MFC0(   k0, C0_STATUS)
>              srl     k0, 1
>              sll     k0, 1
>              MTC0(   k0, C0_STATUS)
>              nop
>              .set    mips3
>      ==>  eret   <==
>              .set    mips2
>              nop
> 
> 
> Any information that anyone might have would be greatly appreciated.

I suggest to run this code through the preprocessor only using the
-E -C options.  The output will be somewhat cryptic but explain much better
what's wrong.

  Ralf

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