bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIPS16 GNU Assembler bug


From: Nick Clifton
Subject: Re: MIPS16 GNU Assembler bug
Date: Tue, 16 Jan 2001 10:24:59 -0800

Hi Shane,

> I was fiddling around with the CVS version of binutils, and noted a
> bug in one of the macros in gas.
> 
> .cpload -> s_cpload in binutils/gas/config/tc-mips.c
> Among other things it maps to a macro_build_lui, (Load upper
> immediate) which is undefined for MIPS16.  Probably needs an if case
> for MIPS16, and then use another way to build the memory location
> up.  (More ops load register or something ?)

I consulted with a MIPS expert about this.  It seems that the .cpload
directive is only supported by the MIPS32 instruction set, not the
MIPS16.  Really what should happen is that you get an error message
saying "unrecognised opcode" or some such.  What actually happens when
you run into this problem ?

Cheers
        Nick



reply via email to

[Prev in Thread] Current Thread [Next in Thread]