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

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

[avr-gcc-list] Bug in shift operation with avr-gcc


From: Celio Guimaraes
Subject: [avr-gcc-list] Bug in shift operation with avr-gcc
Date: Tue, 7 Jun 2011 14:27:56 -0300

uint32_t  t1;
int main(){
    t1=0xf << (12);    // t1 gets fffff000 instead of 0000f000
}



reply via email to

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