Subject: Re: Strange traps
To: None <port-mac68k@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: port-mac68k
Date: 02/01/2005 01:03:54
In article <1107210967.686.13.camel@dawn.local>,
"Julio M. Merino Vidal" <jmmv84@gmail.com> writes:
>
> BTW, what's the 'movc' instruction, which appears on the original
> getsfc and getdfc functions? I can't find it in the 68k reference
> manual.
I guess that's supposed to be "movec"--move to/from control register.
"objdump -D" shows that "gas" is compiling it as "movec".
You should know that there's a well-know problem with certain 68LC040's,
beyond simply not having an FPU. I don't truly understand the nature of
the problem--mumble, mumble spurious traps--but I suspect you have one of
those broken ones.
Frederick