[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] "local return" in gnu as



Hi,

> I need a help with this piece of fvdi code:
> .macro ijsr indirect
>   #ifdef mc68000
> local return
...

Where do you find that?
There should not be anything like that in the fVDI source code.

Under gcc, the macro (from macros.gnu) is as follows:
(see http://cvs.klockars.net/viewvc/fvdi/include/macros.gnu?revision=1.4&view=markup)

	.macro	ijsr indirect
  .if mc68000 == 1
	pea	ret\@
	move.l	\indirect,-(a7)
	rts
ret\@:
  .else
	jsr	([\indirect])
  .endif
	.endm


/Johan