Subject: cross-gas wierdness....help wanted
To: None <port-mac68k@NetBSD.ORG>
From: Dan Jacobowitz <dan@west.chwest.org>
List: port-mac68k
Date: 04/09/1997 15:35:51
On Wed, 9 Apr 1997, dRoWzy wrote:

> This is VERY odd.  The following is from the asc.s generated from asc.c
> which made my assembler whine- unsurprisingly.  Notice that everything
> between #APP and the second #NOAPP is on two single indented lines - no
> line breaks from the movl to the jne.  This is the only place that
> happens.
> 
> #NO_APP
> gcc2_compiled.:
> ___gnu_compiled_c:
> [snip]
> #APP
> 									movl	d7,a0					;			movl	#0,a1					;			movl	#2048,d0					;		1:	movb	a1@+,a0@				;			subql	#1,d0					;			jne	1b
> 									movl	d7,a0					;			movl	#_asc_wave_tab,a1					;			movl	#2048,d0					;		1:	movb	a1@+,a0@+				;			subql	#1,d0					;			jne	1b
> #NO_APP
> 	movel d1,d0
> 	swap d0
> 	clrw d0
> 	movel d0,d2
> 	mulsl #-1935500283,d1:d2
> 	addl d0,d1
> 	asrl #8,d1
> 	moveq #31,d7
> [snip]
> 
Could somebody advise me on how to tailor this by hand back into working
shape?  SHould the part between #APP and #NO_APP be {deleted, one of the
identical two deleted, separated onto single lines}?