> From: Nicholas Vinen <h...@x256.org>

 For example, things like "unsigned char x, y;
> x = y>>4" could
> use the nibble swap instruction rather than four shifts,
> and things like

Shifting a byte or int right or left must push in 00s from the other side so 
swapping a nibble is not the right thing to do. So is the case with other 
examples. Correct me if I am wrong.

Nayani


      


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to