Subject: Re: Floating Point Instruction Register And As
To: Ken Nakata <kenn@synap.ne.jp>
From: Paul Goyette <paul@whooppee.com>
List: port-mac68k
Date: 06/22/1999 18:11:07
Also, remember that Motorola assembler syntax is different than GNU/MIT
syntax.  Perhaps it might be as easy as reversing the order of the
operands on the fmovel instruction?

On Wed, 23 Jun 1999, Ken Nakata wrote:

> On Tue, 22 Jun 1999 17:50:36 -0400, Andy Finnell <andyf@vei.net> wrote:
> > I'm having a little trouble referencing the floating point instruction
> > register when using as.  According to Motorola's 68k PM, the register is
> > called fpiar, and can be read and written to using the fmovel
> > instruction.  However when I try to do this (either read or write), as
> > complains that there is a instruction/operand mismatch.  I soon found
> > that the assembler doesn't recongize fpiar as a fp register.  Does
> > anyone know what as calls the floating point instruction register?  I
> > can't think of any C code I could compile down that would modify the
> > fpiar explicitly.
> 
> I know, but I forgot (DUH).  Well, seriously, I'd suggest that you
> read the info file that comes with gas.  It has a section for assembly
> syntax of each processor architecture gas supports.
> 
> Hope it helps,
> 
> Ken
> 

--------------------------------------------------------------------------
| Paul Goyette      | PGP DSS Key fingerprint:   | E-mail addresses:     |
| Network Engineer  |   BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com    |
| and kernel hacker |   91EB ADB1 A280 3B79 9221 |  pgoyette@juniper.net |
--------------------------------------------------------------------------