[A83] Re: Detecting under- and overflow


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

[A83] Re: Detecting under- and overflow




Actually this is done with the carry (c, nc). When adding numbers, the carry is set (c) when the result overflows. And when subtracting numbers, the carry is set when the result underflows.


> ----------------------------------------
> From: TypeR unknown <typerfuture@hotmail.com>
> 
> I was wondering how I can detect an under- or overflow of a certain 
> register, just like when you can detect z or nz with for example jumps.

-----------------------------------------------------
Mail.be, Free WebMail and Virtual Office
http://www.mail.be