Re: mixing C and assembly



In article <6fmdnRynGbho0onVRVnyjAA@xxxxxxxx>, David Brown says...

A quick test on avr-gcc 4.2.2, using 16-bit and 8-bit ints rather than
32-bit and 16-bit (since it's an 8-bit cpu) reveals that avr-gcc is
smart enough to do a 8-bit x 8-bit -> 16-bit multiply as desired.

So at least some compilers do so. Thanks.

Robert
** Posted from http://www.teranews.com **
.