Sign in Join
Wiki copytemporary

Revision 1 of 1, by Mathias on 1-10-2018. The page as it is now.

Hexadecimal/de

Das Hexadezimalsystem (Hex) ist ein Zahlensystem zur Basis 16. Im Hexadezimalsystem werden die Zahlen von 0-15 durch die Symbole 0,...,9,A,B,C,D,E,F dargestellt, wobei 0-9 für die bekannten Zahlen stehen und A-F für die Zahlen 10-15. Hexadezimalzahlen lassen sich leicht in das computerinterne Binärsytem umwandeln und sind in der Darstellung kürzer als Binärzahlen. Eine Hexadezimalzahl (auch Nibble genannt) entspricht 4 Binärstellen (4 bits).

In Pascal unterscheidet man Hexadezimalzahlen von Dezimalzahlen durch ein vorangestelltes $.

Umrechnungstabelle

Hexadezimal Dezimal Binär
$0000 0 %0000000000000000
$0001 1 %0000000000000001
$0002 2 %0000000000000010
$0003 3 %0000000000000011
$0004 4 %0000000000000100
$0005 5 %0000000000000101
$0006 6 %0000000000000110
$0007 7 %0000000000000111
$0008 8 %0000000000001000
$0009 9 %0000000000001001
$000a 10 %0000000000001010
$000b 11 %0000000000001011
$000c 12 %0000000000001100
$000d 13 %0000000000001101
$000e 14 %0000000000001110
$000f 15 %0000000000001111
$0010 16 %0000000000010000
$0011 17 %0000000000010001
$0012 18 %0000000000010010
$0013 19 %0000000000010011
$0014 20 %0000000000010100
... ... ...
$009f 159 %0000000010011111
$00a0 160 %0000000010100000
... ... ...
$00ff 255 %0000000011111111
$0100 256 %0000000100000000
$0101 257 %0000000100000001

Siehe auch

Functions:

Procedure


From the Free Pascal wiki, page "Hexadecimal/de", as the Internet Archive kept it on 2022-11-28, last changed on 2018-01-10. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.