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

Back to Subject List

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


 
#11252 - RE: 8 to 16 bit hex conversion
Well, the 8051 is only an 8-bit processor, so it can't actually do 16 bits by itself at all - you will always have to program it yourself!
Just like handling 32-bit numbers on a 16-bit processor.

A 16-bit number is only ever 2 contiguous 8-bit numbers; in assembler, you can even decide whether you want to be big-endian or little-endian (ie, whether the MS byte comes 1st or 2nd in memory)

List of 10 messages in thread
TopicAuthorDate
8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      
RE: 8 to 16 bit hex conversion            01/01/70 00:00      

Back to Subject List