Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-20-2003, 02:21 AM   #1
Blizzard Fanboy
 
spyder003's Avatar
 
Join Date: May 2003
Location: Northrend
Posts: 1,411
binary question

well i'm extremely bored here at work so i decided to learn the alphabet in binary. i already knew the number system so... simple enough. i see that the alphabet is just 65-90. how do you distinguish the alphabet from the numbers 65-90? for example, say i wanted to write a message to a friend in binary. how would they determine letters from 65-90? or do you just have to look at the context?

if i didn't make this clear enough, please let me know... thx
__________________
EVGA 750i SLI - EVGA 9800 GX2 - Intel Q6700 - 4GB Corsair PC6400 - 1TB Seagate HDD - X-fi Gamer - Logitech G51 5.1 - ViewSonic 22" WS - Vista Premium
spyder003 is offline   Reply With Quote
Old 11-20-2003, 03:07 AM   #2
Member (9 bit)
 
Join Date: May 2002
Posts: 298
Not really sure what you know. But if what you are saying is that 65 to 90 represent the alphabet, then that makes sense because there are 26 letters in the alphabet. So just go play around with it.
bonzai is offline   Reply With Quote
Old 11-20-2003, 04:10 AM   #3
Red-eyed Moderator
Staff
Premium Member
 
HAL9000's Avatar
 
Join Date: Dec 1999
Location: Regina, Saskatchewan, Canada
Posts: 17,576
Or use this.
__________________
-At Ford, quality is job #1, job #2 is making them explode. ~Norm MacDonald, SNL News

-Switching to Glide..Balancing in my head..inside of me...
taking the glide path instead.
HAL9000 is offline   Reply With Quote
Old 11-20-2003, 04:24 AM   #4
Blizzard Fanboy
 
spyder003's Avatar
 
Join Date: May 2003
Location: Northrend
Posts: 1,411
lol no i want to do things the hard way, and i want to know if there is any definition between letters and the numbers 65-90.

edit: maybe this will better explain myself...

say i write this: 01000001. how would a person know if this is supposed to mean 65 or A?

Last edited by spyder003; 11-20-2003 at 04:26 AM.
spyder003 is offline   Reply With Quote
Old 11-20-2003, 09:47 AM   #5
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
11000001 versus 01000001.
The first bit is the "key", telling you if it's an A or 65.
__________________
Black holes are where God divided by zero...
Cheers, Jim

Jims Modems
reboot is offline   Reply With Quote
Old 11-20-2003, 09:52 AM   #6
usual suspect
 
hobey19's Avatar
 
Join Date: Jun 2002
Location: not here
Posts: 2,051
well, than how do you know that 11000001 is A not -63, because, if i am not mistaken, then when you have 1 as the high order bit, it denotes a negative number, depending on what type of logic the computer is using (ie two's complement).

craig
__________________
the universe is against this current wave of success i'm having. -johnny drama, entourage
hobey19 is offline   Reply With Quote
Old 11-20-2003, 04:07 PM   #7
Member (11 bit)
 
Join Date: Feb 2003
Location: Tucker Ga. USA
Posts: 1,305
Because the numbers are one character 0-9 ,32 to 41.
Every possible value from 0 to 255 has a corresponding character in the ASCII character code, even though many of them are not displayable.
It may be easier on you to group the bits into 32 character blocks (5 bits) and control codes (2 bits). And the choices with the control codes would be control(no bits) numeric, UC alpha, and LC alpha.
edfair is offline   Reply With Quote
Old 11-20-2003, 08:41 PM   #8
Member (14 bit)
 
bailey's Avatar
 
Join Date: Mar 1999
Location: Christmas, Florida
Posts: 10,661
letters ar in aschii code which is changed to hex, then the hex is changed to binary,
to keep it stright
bailey is offline   Reply With Quote
Old 11-21-2003, 03:00 AM   #9
Blizzard Fanboy
 
spyder003's Avatar
 
Join Date: May 2003
Location: Northrend
Posts: 1,411
i must be missing something here, or it doesn't work as i thought...



Quote:
Originally posted by reboot
11000001 versus 01000001.
The first bit is the "key", telling you if it's an A or 65.
wouldn't 11000001 just be 193 and 01000001 could still be 65 or A?

Quote:
Originally posted by hobey19
well, than how do you know that 11000001 is A not -63, because, if i am not mistaken, then when you have 1 as the high order bit, it denotes a negative number, depending on what type of logic the computer is using (ie two's complement).
high order bit?

Quote:
Originally posted by edfair
Because the numbers are one character 0-9 ,32 to 41.
Every possible value from 0 to 255 has a corresponding character in the ASCII character code, even though many of them are not displayable.
It may be easier on you to group the bits into 32 character blocks (5 bits) and control codes (2 bits). And the choices with the control codes would be control(no bits) numeric, UC alpha, and LC alpha.
?!
spyder003 is offline   Reply With Quote
Old 11-21-2003, 09:58 AM   #10
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
You're talking about an 8 bit byte, so no, 11000001 is NOT 193. To get 193, you need 2 bytes, or (for argument's sake) a 16 bit byte. The first byte contains the control codes, for negative, positive, whatever, and the second byte contains the actual code for whatever alphanumeric character you want.
The larger the whole number (in decimal, base 10) the more bytes you need to represent it.
reboot is offline   Reply With Quote
Old 11-21-2003, 08:02 PM   #11
Member (11 bit)
 
Join Date: Feb 2003
Location: Tucker Ga. USA
Posts: 1,305
I led you astray. ASCII 7 level + parity. 2 channel control set + 5 channel data set. 128 characters.
EBCDIC is 8 and can do 256. Extended binary coded decimal interchange code. Splits in half to do hexadecimal notation. In hex goes from 00h to FFh. If I recall A=41h, which relates to character #65. Has been a long time. a=61h maybe.
edfair is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:26 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2