Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/30/01 14:21
Read: times


 
#10422 - Low and High Byte into Integer
What is the more efficient way to assign directly 2 bytes into integer variable?
For example, the TH0 and TL0 registers into integer count16:

unsigned integer count16;
count16 = TL0 + 255*TH0;

List of 5 messages in thread
TopicAuthorDate
Low and High Byte into Integer            01/01/70 00:00      
RE: Low and High Byte into Integer            01/01/70 00:00      
RE: Low and High Byte into Integer            01/01/70 00:00      
RE: Low and High Byte into Integer            01/01/70 00:00      
RE: Low and High Byte into Integer            01/01/70 00:00      

Back to Subject List