Tags

Howto (51) Free Software (35) Powershell (33) Windows Server (23) AD (16) Hyper-V (16) Exchange (13) Office (13) Group Policy (10) Windows Server 2012 (9) Scripts (7) Symantec BE (5) Windows 8 (5) Cisco (4) TMG (4) Terminal Server (4) Cluster (3) HP (3) RDS (3) UAG (3) Citrix (2) DC (2) DNS (2) IE10 (2) OpenID (2) PKI (2) SCVMM (2) Windows Live (2) iLO (2) Backup (1) DPM (1) Fileserver (1) IE (1) SQL; DPM (1) Security (1) Sharepoint (1) Switch (1) VMWare (1) Veeam (1)

dinsdag 21 oktober 2014

Korte uitleg van omzetten binary naar decimaal naar ASCII

they are binary code.

01001001 = 64 + 8 + 1 = 73 in decimal format.
in ASCII 73 = "I"

01010100 = 64 + 16 + 4 = 84 in decimal format.
in ASCII 84 = "T"

decimal decoding is pretty simple the last digit is 1, the next to the left is 2, and it doubles each one to the left.

128, 64, 32, 16, 8, 4, 2, 1

if it is a 1, you add the number for the place, if it is a 0 you do not.

just like the decimal system, only we use 10.

..., 10000, 1000, 100, 10, 1

8 bits (1's and 0's) are a byte, and bytes are used for characters, which is why everyone is guessing letters, but it could just as easily be the numbers that are stored there.

On this table you can find all the ascii letter listed with their decimal equivalent.

http://www.asciitable.com/

Geen opmerkingen:

Een reactie posten