Created
April 14, 2015 11:41
-
-
Save fulippo/8c7643670f841cc2aaca to your computer and use it in GitHub Desktop.
Calcolo esadecimale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Valore * base^posizione da destra + Valore * base^posizione da destra .... | |
es. 0xAF | |
F * 16^0 + A * 16^1 | |
diventa | |
15 * 16^0 + 10 * 16^1 | |
diventa | |
15 + 160 | |
0xAF = 175 | |
// Valori esadecimali | |
A = 10; | |
B = 11; | |
C = 12; | |
D = 13; | |
E = 14; | |
F = 15; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment