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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/26/05 20:36
Read: times


 
#95967 - I have a part of code...
Responding to: ???'s previous message
Thank you for your reply.

Now I have the following code:

MOV A, R1
SUBB A, #01H
MOV R1, A

The problem is that it counts down using 16 characters and I need just 10 (from 9 to 0). The instruction DA is used just for ADD. How do I convert it?

Thanks again.
Alex

List of 17 messages in thread
TopicAuthorDate
Countdown with 8051            01/01/70 00:00      
   No Code ,,, But an Idea            01/01/70 00:00      
   Tutorials            01/01/70 00:00      
      Hi.            01/01/70 00:00      
   Third way            01/01/70 00:00      
   I have a part of code...            01/01/70 00:00      
      Delays.....            01/01/70 00:00      
         Countdown            01/01/70 00:00      
            Show us the code !            01/01/70 00:00      
            "The" code...            01/01/70 00:00      
               What ?            01/01/70 00:00      
                  R1 and R2            01/01/70 00:00      
               binary-decimal            01/01/70 00:00      
                  Another trick            01/01/70 00:00      
                     It's working...            01/01/70 00:00      
   Start your count decimal            01/01/70 00:00      
   count down with 8051            01/01/70 00:00      

Back to Subject List