Subject: Re: Embedded development platform
To: Brian Rose <firstname.lastname@example.org>
From: Ian Lance Taylor <email@example.com>
Date: 09/01/2004 15:25:05
Brian Rose <firstname.lastname@example.org> writes:
> Are there any docs that explain how to select (or list) which -m
> options are available?
--help should list the available options.
As you know, the NetBSD assembler is the GNU assembler. The GNU
assembler documentation is available here:
Specifically, m68k options are listed here:
> I tried -m5200, but it does not like %SECMBAR (secondary module base
> address register). Nor does it like %MBAR2 (used by diab).
I haven't tried it, but it looks like %SECMBAR should be available if
you use the -mcfv4e option. Apparectly %SECMBAR is not available on
all variants of the m5200. Or gas is wrong, which is quite possible.
I don't see %MBAR2 listed anywhere in gas, although %MBAR, %MBAR0, and
%MBAR1 should be available using -mcfv4e.