[hatari-devel] Division overflow handling

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


I wonder whether the V flag is treated correctly in 68030 mode when there is
an overflow. This is my code:

	move.l #1000000,d2
	divu #10,d2
	bvc.s l1
	move.l #100000,d2
l1:	...

I don't think this code (bvc) is executed correctly. Unfortunately I have
problems debugging it, see my previous mail.

Best regards


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/