+ 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
11 Respostas
+ 8
@Daniel I think he also wants to know the case of getting a,b, ", etc, too
+ 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
+ 6
The machine language experts will take care ;)
+ 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
+ 4
https://code.sololearn.com/cOjXXaPlJp10/?ref=app
Try to understand that code
+ 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
+ 4
64 is @ in binary 01000000
65 is A in binary 01000001
http://www.rapidtables.com/code/text/ascii-table.htm
+ 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
+ 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" ;-)
+ 2
thank you all..