Re: Help with integer division overflow issue

John Klos <[email protected]> Fri, 12 Jan 2024 02:50:22 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.m68k
Message-ID <[email protected]>
> Ok, can you try this one?
>
> On TME, the result is:
>
> sun3-160$ ./a.out
> val = -2147483648 (0x80000000)
> ccr = 0x02
> sun3-160$
>
> The V flag is set?but I?m a little surprised that the N flag is not set!

val = -2147483648 (0x80000000)
ccr = 0x80000008

John