avr-gcc-list
[Top][All Lists]
Advanced

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

[avr-gcc-list] accessing carry bit


From: John Regehr
Subject: [avr-gcc-list] accessing carry bit
Date: Wed, 30 Jan 2008 09:56:59 -0700 (MST)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

microcontroller compilers support - the ability to write things like "if (CARRY) ..." can be a big win for some code.

A killer app for exposing some of the condition code flags to C may be that this facilitates very efficient integer over/under flow detection. Integer overflows are the source of many nasty security holes.

John Regehr




reply via email to

[Prev in Thread] Current Thread [Next in Thread]