|
|Store|
|
|
|
|
|
|
|
CTK Exchange
Lenny conrad

guest
|
Apr-16-02, 07:17 AM (EST) |
|
1. "Letters A and B"
In response to message #0
|
Dude: Yes, those are the representations of those two characters in what is called the ASCII code. Each character is stored in one byte of memory, and each byte is made up of eight bits. (Your string of bits for B should have a 0 in front of it.) The two strings of bits you gave are also the binary numbers 65 (A) and 66 (B). Hope this is helpful. Lenny |
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote | Top |
|
|
 |
karatedude5

guest
|
Apr-17-02, 09:25 PM (EST) |
|
2. "RE: Letters A and B"
In response to message #1
|
Thanks that helped some. is there a code for lower case letters. And for the rest of the numbers you just add it like you would do numbers right. How does the computer no the difrents between the 66 and the A. |
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote | Top |
|
|
|
 |
SteveSchaefer
Member since Apr-2-02
|
Apr-18-02, 11:00 PM (EST) |
 |
3. "RE: Letters A and B"
In response to message #2
|
Most machines have a character map as part of the operating system. If you are using an M$oft (Windoze) machine, it may by in your Start menu somewhere, like Programs, Accessories, System Tools. Or you can search for it. Just pull up Find Files or Folders and look for charmap.exe You can always find it on the web, too. I use https://www.bbsinc.com/iso8859.html" >https://www.bbsinc.com/iso8859.html quite a bit just because it comes up in the search engines (and has some html information that I want). About four browser screens down from the top is a table of the printable ASCII characters and the most common extended character set. The rows and columns are in hexadecimal, which is common for character maps. Printable ASCII characters go from hex 20 up to 7E (32 to 126 in decimal). Decimal = Hex = Binary 1 = 1 = 0001 2 = 2 = 0010 3 = 3 = 0011 4 = 4 = 0100 5 = 5 = 0101 6 = 6 = 0110 7 = 7 = 0111 8 = 8 = 1000 9 = 9 = 1001 10 = A = 1010 11 = B = 1011 12 = C = 1100 13 = D = 1101 14 = E = 1110 15 = F = 1111 Two-digit hex converted to decimal is 16*char1 + char2, so A is 41 in hex, that's 16*4+1=65 in decimal. Binary is even easier. 41 in hex is 0100 0001 in binary (or you can leave the space out). Have fun. |
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote | Top |
|
|
|

You may be curious to visit the old CTK Exchange archive.
|Front page|
|Contents|
|Store|
Copyright © 1996-2018 Alexander Bogomolny
[an error occurred while processing this directive]
|
Advertise
|