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

Re: Problem with the MiNT library, -m68020



i thought i had posted this.... i may have forgotten:

  the solution recommened was incorrect. the bug was that the wrong
format was specified for the `fintrz' instruction. it should be:

       `fintrzl a7@(4),fp0'  and NOT  `fintrzd a7@(4),fp0'

because the source is a longword not a double.
the `moveml	a7@+,d0-d1'  following the fmoved is correct.

my copy looks like this:

	fintrzl a7@(4),fp0		| load long int to fp0
	fmoved	fp0,a7@-		| get double from fp0
	moveml	a7@+,d0-d1
 	rts

the example tested fine after this fix.