+ 4

If 01 in Binary = 1 in Decimals, But how output display will display 1 in the screen!!!

i mean how Binary is converted into Human understandable characters

24th Sep 2017, 4:07 AM
Deekshith K
Deekshith K - avatar
11 Respuestas
+ 8
@Daniel I think he also wants to know the case of getting a,b, ", etc, too
24th Sep 2017, 4:23 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 7
I think it's like It takes 8 numbers first, match it with ASCII chart then produce a character. Then, it takes another 8 numbers, does the same thing and etc
24th Sep 2017, 4:20 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 6
The machine language experts will take care ;)
24th Sep 2017, 4:19 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 5
Formula is 2^8+2^7+2^6+2^5+2^4+2^3+2^2+2^1+2^0 and next 2^9 and follow serie but each of one 2^x you must to multiply by 1 or 0 checking position in binary
24th Sep 2017, 4:46 AM
Daniel
Daniel - avatar
24th Sep 2017, 4:22 AM
Daniel
Daniel - avatar
+ 4
Thanks Vengat. Well if you go to https://en.m.wikipedia.org/wiki/Binary_code you can learn more and yes, each 8 digits conversion is a character, 1 byte, so 11111111 is 255 decimal number which in ASCII has it equivalent
24th Sep 2017, 4:36 AM
Daniel
Daniel - avatar
+ 4
64 is @ in binary 01000000 65 is A in binary 01000001 http://www.rapidtables.com/code/text/ascii-table.htm
24th Sep 2017, 4:37 AM
Daniel
Daniel - avatar
+ 4
& = 00100110 0*2^7 + 0*2^6 + 1*2^5 + 0*2^4 + 0*2^3 + 1*2^2 + 1*2^1 + 0*2^0 = 0 + 0 + 32 + 0 + 0 + 4 + 2 + 0 = 38
24th Sep 2017, 5:03 AM
Daniel
Daniel - avatar
+ 4
If you want to learn well that, try to do your own binary-ascii converter and viceversa only searching about equivalent in ASCII chart and: 1 - Share your code. 2 - Show in binary "Solo Learn" ;-)
24th Sep 2017, 5:26 AM
Daniel
Daniel - avatar
+ 2
thank you all..
24th Sep 2017, 4:25 AM
Deekshith K
Deekshith K - avatar