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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/13/06 17:09
Read: times


 
#114244 - Trick?
Responding to: ???'s previous message
Certainly Not a trick.

You have 255 compares, jumps and prints?

You need 1 print.
-take the byte 0 - 255
-divide by 100
-subtract the result from the number.
-Add 48d ('0') to the result and print.
-divide by 10.... repeat.
-print the digit.

You could also do this as a loop, to make it smaller still.



List of 15 messages in thread
TopicAuthorDate
ADC0804 with 4x20 LDC            01/01/70 00:00      
   Trick?            01/01/70 00:00      
      mr erik            01/01/70 00:00      
         But            01/01/70 00:00      
         why do you not e-mail him            01/01/70 00:00      
   do not post non-assemblable code            01/01/70 00:00      
   many ways            01/01/70 00:00      
      MR erik            01/01/70 00:00      
         never            01/01/70 00:00      
      any other know about this code            01/01/70 00:00      
         many will "know"            01/01/70 00:00      
            Using a rock            01/01/70 00:00      
               ASCII Coding            01/01/70 00:00      
   Back to the origional thread            01/01/70 00:00      
      Learning assembler            01/01/70 00:00      

Back to Subject List