Hexadecimal/de: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: Hexadecimal/de
| Old | New | Line | |
|---|---|---|---|
| 1 | + | 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). | |
| 2 | + | ||
| 3 | + | In [[Pascal/de|Pascal]] unterscheidet man Hexadezimalzahlen von Dezimalzahlen durch ein vorangestelltes $. | |
| 4 | + | ||
| 5 | + | # Umrechnungstabelle | |
| 6 | + | ||
| 7 | + | Hexadezimal | Dezimal | Binär | |
| 8 | + | ---|---|--- | |
| 9 | + | $0000 | 0 | %0000000000000000 | |
| 10 | + | $0001 | 1 | %0000000000000001 | |
| 11 | + | $0002 | 2 | %0000000000000010 | |
| 12 | + | $0003 | 3 | %0000000000000011 | |
| 13 | + | $0004 | 4 | %0000000000000100 | |
| 14 | + | $0005 | 5 | %0000000000000101 | |
| 15 | + | $0006 | 6 | %0000000000000110 | |
| 16 | + | $0007 | 7 | %0000000000000111 | |
| 17 | + | $0008 | 8 | %0000000000001000 | |
| 18 | + | $0009 | 9 | %0000000000001001 | |
| 19 | + | $000a | 10 | %0000000000001010 | |
| 20 | + | $000b | 11 | %0000000000001011 | |
| 21 | + | $000c | 12 | %0000000000001100 | |
| 22 | + | $000d | 13 | %0000000000001101 | |
| 23 | + | $000e | 14 | %0000000000001110 | |
| 24 | + | $000f | 15 | %0000000000001111 | |
| 25 | + | $0010 | 16 | %0000000000010000 | |
| 26 | + | $0011 | 17 | %0000000000010001 | |
| 27 | + | $0012 | 18 | %0000000000010010 | |
| 28 | + | $0013 | 19 | %0000000000010011 | |
| 29 | + | $0014 | 20 | %0000000000010100 | |
| 30 | + | ... | ... | ... | |
| 31 | + | $009f | 159 | %0000000010011111 | |
| 32 | + | $00a0 | 160 | %0000000010100000 | |
| 33 | + | ... | ... | ... | |
| 34 | + | $00ff | 255 | %0000000011111111 | |
| 35 | + | $0100 | 256 | %0000000100000000 | |
| 36 | + | $0101 | 257 | %0000000100000001 | |
| 37 | + | ||
| 38 | + | # Siehe auch | |
| 39 | + | ||
| 40 | + | [[Function/de|Functions]]: | |
| 41 | + | ||
| 42 | + | * [Hex2Dec](<http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/hex2dec.html> "doc:rtl/strutils/hex2dec.html") Konvertiert einen hexadezimalen [[String/de|String]] in ein Dezimalwert. | |
| 43 | + | * [HexToBin](<http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/hextobin.html> "doc:rtl/strutils/hextobin.html") Konvertiert einen hexadezimalen [[String/de|String]] in einen binären Puffer. | |
| 44 | + | * [IntToHex](<http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/inttohex.html> "doc:rtl/sysutils/inttohex.html") Konvertiert einen [[Integer/de|Integer]] in einen hexadezimalen String. | |
| 45 | + | ||
| 46 | + | [[Procedure/de|Procedure]] | |
| 47 | + | ||
| 48 | + | * [BinToHex](<http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/bintohex.html> "doc:rtl/strutils/bintohex.html") Konvertiert einen binären Puffer in einen hexadezimalen String. | |
| 49 | + | ||
| 50 | + | --- | |
| 51 | + | *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](/wiki-contact).* |
