Microcontroller › 8051 › how can shift four 8 bit value to one 32 bit variable › hi chandru unsigned long
January 6, 2014 at 8:23 am
#10828
Participant
hi chandru
unsigned long int data=(unsigned long int )(a<<24)|(unsigned long int )(b<<16)|(unsigned long int )(c<<|(unsigned long int )(d);
try this one it should work !