DPRG
DPRG List  



[DPRG] ASCII???

Subject: [DPRG] ASCII???
From: Kipton Moravec kip at kdream.com
Date: Thu Oct 9 18:44:01 CDT 2003

At 04:52 PM 10/9/03, MannyGerm at aol.com wrote:
>hi,
>    i'm doing a report on microprocessors, and i stumbled on some info 
> about ASCII. first of all, tll me if you can program in straight ASCII. 
> is ASCII just binary; or is it something similar but different in some 
> way. the reason for this question is if it's a variation of binary, i 
> could do some really cool stuff. what i mean by binary is e.g.: 1011010 
> woud be 14 because 1+3+4+6=14. regardless, i would also like to know what 
> chips can carry out code in ASCII. thanks.
>
>                             happy roboting,
>                                              Walter Briggs

Ed and I referenced the same web page. The first one that appears on 
Google.com :)

I reread my response and noticed you do not know how binary works.

1011010 is not 14!

Think of base 10.  Each position represents a power of 10. i.e. 10^0, 10^1, 
10^2...
So 2578 = 2*(10^3)+ 5*(10^2)+7*(10^1)+8*(10^0)

Binary is similar. Each position represents a power of 2. i.e. 2^0, 2^1, 2^2...
So 1011010 = 1*(2^6)+0*(2^5)+1*(2^4)+1*(2^3)+0*(2^2)+1*(2^1)+0*(2^0)
or 90 base 10.

Kip




More information about the DPRG mailing list