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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/17/08 07:46
Read: times


 
#160990 - Extension fron one to two bytes
Responding to: ???'s previous message
Why have a function that takes a pointer to a 16-bit location and an 8-bit value if your goal is to just write a 8-bit value?

Your function will take this 8-bit value and extend it to a 16-bit value and then write these two bytes to the location specified by the pointer. One of the two bytes written will be the the input value and one of the bytes will be the extension of the 8-bit value.

Are you sure that you have not missed the difference between a 16-bit large pointer (being able to address 65536 bytes) and a pointer to a 16-bit location (giving 16-bit reads and writes)?

List of 13 messages in thread
TopicAuthorDate
complier issue            01/01/70 00:00      
   What is SIL_WRITE?            01/01/70 00:00      
   Incomplete            01/01/70 00:00      
   just a guess            01/01/70 00:00      
   cross posted at SILabs forum            01/01/70 00:00      
   What do you expect...            01/01/70 00:00      
   complier issue            01/01/70 00:00      
      Extension fron one to two bytes            01/01/70 00:00      
      You are right Sir..            01/01/70 00:00      
         RTFM            01/01/70 00:00      
            Erik, I meant wiznet registers!!            01/01/70 00:00      
               Big picture            01/01/70 00:00      
                  I understand..            01/01/70 00:00      

Back to Subject List