How can I move the two sfr's, TH2:TL2, into an unsigned int variable? TIA John
Be careful using sfr16. This was designed for the Intel 8051's 16-bit sfrs. However, most 16-bit sfrs do not follow the conventions used by sfr16. Take a look at the following knowledgebase article for more information: http://www.keil.com/support/docs/1845.htm Jon