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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/29/01 00:55
Read: times


 
#11216 - RE: 8 to 16 bit hex conversion
Sorry if I was unclear. I have two 16-bit numbers in hex which I'm trying to add together to get another 16-bit number for my answer. The accumulator on an 8051 only accepts 8 bit numbers, and I can't figure out how to break up my numbers to add them individually and then store them back as a 16 bit number again. So I'm trying to add 6789 and 9ABC, but I don't know how to make the 8051 find (67 + 9A + carry) (89 + BC).

Thank you for your help.

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