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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/12/05 03:31
Read: times


 
#103610 - need help with a routine to split a var
I'm having trouble moving the bits around in my head :-(

I have a register, R4, which will be 0-99 in value.
I need to display this value on two LCD positions.

Don't I have to seperate it into two registers to do so?
For example, assuming R4 is #45
How would I get R2 to be #4, and R3 to be #5 ?


List of 10 messages in thread
TopicAuthorDate
need help with a routine to split a var            01/01/70 00:00      
   addition            01/01/70 00:00      
   why not div instruction            01/01/70 00:00      
      Small correction            01/01/70 00:00      
         Thanks            01/01/70 00:00      
   Representing numbers as characters            01/01/70 00:00      
      works            01/01/70 00:00      
         ASCII '0' is 48 or 30H            01/01/70 00:00      
            Or...            01/01/70 00:00      
               problem            01/01/70 00:00      

Back to Subject List