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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/16/09 08:14
Modified:
  04/16/09 08:34

Read: times


 
#164654 - Number Base (Radix) and Place Value
Responding to: ???'s previous message
Christoph Franck said:
"Converting" a 16-bit value to ASCII is basically just a change of the base of the number - from base-2 (or base-16) to base-10.

Technically, the "base" is known as the Radix of the reprentation.

The concept of number bases and place value is absolutely fundamental - remember "hundreds, tens, units" from school?
see: http://www.8052.com/forum/read/67454

Common radixes (radices?) in digital computing are:

Base-2 has a Radix of 2 and is known as Binary;
Base-8 has a Radix of 8 and is known as Octal;
Base-10 has a Radix of 10 and is known as Decimal (or Denary);
Base-16 has a Radix of 16 and is known as Hexadecimal (or "Hex" for short);





List of 25 messages in thread
TopicAuthorDate
16bit number to ascii            01/01/70 00:00      
   Base conversion.            01/01/70 00:00      
      Number Base (Radix) and Place Value            01/01/70 00:00      
      ASCII            01/01/70 00:00      
         Right ... I forgot about that part.            01/01/70 00:00      
            What I'd wonder ...            01/01/70 00:00      
               Is it relevant?            01/01/70 00:00      
                  That's somewhat of a description            01/01/70 00:00      
                     D'oh! You've given it away            01/01/70 00:00      
                        Well ... not quite ...            01/01/70 00:00      
                           That was step 1.            01/01/70 00:00      
      not hard when talking in human language or C...            01/01/70 00:00      
         Irrelevant            01/01/70 00:00      
   Op code?            01/01/70 00:00      
      Ah, yes ... the Fairchild FND-70 driver ...            01/01/70 00:00      
         nybble-to-7-segment encoder            01/01/70 00:00      
            if...            01/01/70 00:00      
               30 years ago            01/01/70 00:00      
            That's a BIG if            01/01/70 00:00      
               Serial output            01/01/70 00:00      
                  That might work in SOME cases ...            01/01/70 00:00      
                     But I'm not that fast            01/01/70 00:00      
                        What about infrequently recurring events?            01/01/70 00:00      
         FND-70 driver? Luxury!            01/01/70 00:00      
            Decoding DTMF            01/01/70 00:00      

Back to Subject List