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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Per Westermark
08/02/11 08:38
Read: 513 times
Sweden


 
#183144 - Decide - "i want to" and "provide" are different things
Responding to: ???'s previous message
You seem to have a big problem making up your mind.

i want to make program


so provide the correct program


So can you give one (1) really good reason why someone should spend time supplying you with "the correct program"?

it seems easy but its not as we increment controller displays HEX values so how to display them in decimal


What is the problem. It doesn't matter if it is a PC program printing to the command line or displaying the values in a dialog box, or if it is an embedded application printing to a LCD. The task of handling decimal or hexadecimal is still the same. Your specific source lines obviously controls what numeric base you will present in. My guess is that you are plaing with % and / or maybe with & and >> to extract two nibbles to display. Is that really the only way to get text for output to a display? Isn't sprintf() also a possibility?

List of 10 messages in thread
TopicAuthorDate
Provide program      Ankit Vora      08/02/11 08:11      
   Decide - "i want to" and "provide" are different things      Per Westermark      08/02/11 08:38      
      try it on your own      Tejas H S      08/02/11 10:03      
   check two things      Maunik Choksi      08/02/11 22:35      
      Original post claims problem was with radix      Per Westermark      08/02/11 23:50      
   Provide your program      Neil Kurzman      08/03/11 22:53      
   Details      Ankit Vora      08/03/11 23:13      
      Use Div instruction      Maunik Choksi      08/04/11 03:42      
   Link of binary to bcd      Maunik Choksi      08/04/11 03:34      
   Sorry for previous post      Maunik Choksi      08/04/11 03:38      

Back to Subject List