Hi! i want to spilt the 16bit word into two 8bit words, is there any key words for it. i use the p89V51 mcu and c language Cx51 keil compiler ver3.
regards, K.T.Venkatesan.
Most 8 bit compiler know "int >> 8" is use the high byte.
The best way would be try them all and look at the ASM generated. It is likely the compiler will create the same code for all of them. The results may vary with complier version.