Subject: as and syntax (MIT vs Motorola)
To: None <port-hp300@netbsd.org>
From: Steinar Knutsen <sk@nvg.ntnu.no>
List: port-hp300
Date: 01/19/1999 12:39:58
I'm having problems getting as on my NetBSD 1.3.3 system to accept
Motorola syntax. Is this a conscious decision from the NetBSD team, or am
I doing something wrong when assembling the programs? The way I'm trying
to use assembler is with the inline asm directive in C sources, for
instance:
	asm("movem.l %d0-%d7/%a0-%a6, -(%a7)\n\t"
	some work
	"movem.l (%a7)+, %d0-%d7/%a0-%a6\n\t")

When I use gcc -S, is there any way I can make gcc output sources with
Motorola syntax?
-- 
Steinar -who way prefers ([a0], a1) to a0@@a1 or some other baroque
	construct.