Definition: |
01 PIC X(5) VALUE "COBOL". 01 PIC X(5) VALUE "COBOL" USAGE DISPLAY. |
||||
Hexadezimal: | 43 | 4F | 42 | 4F | 4C |
Zeichen: | C | O | B | O | L |
Definition: |
01 PIC 9(5) VALUE 14762. 01 PIC X(5) VALUE 14762 USAGE DISPLAY. |
||||
Hexadezimal: | 31 | 34 | 37 | 36 | 32 |
Zeichen: | 1 | 4 | 7 | 6 | 2 |
Definition: | 01 PIC X(8) VALUE 47110815 USAGE PACKED-DECIMAL. | |||||||
Hexadezimal: | 47 | 11 | 08 | 15 | ||||
Zeichen: | 4 | 7 | 1 | 1 | 0 | 8 | 1 | 5 |
Definition: | res. Bytes: |
S9(1) - S9(2) | 1 |
S9(3) - S9(4) | 2 |
S9(5) - S9(6) | 3 |
S9(7) - S9(9) | 4 |
S9(10) - S9(11) | 5 |
S9(12) - S9(14) | 6 |
S9(15) - S9(16) | 7 |
S9(17) - S9(18) | 8 |
Definition: | 01 PIC S9(4) VALUE 17 USAGE BINARY. | |||||||
Dezimal: | 17 | |||||||
Binär: | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Hexadezimal: | 0 | 0 | 1 | 1 |
Definition: | 01 PIC S9(4) VALUE -17 USAGE BINARY. | |||||||
Dezimal: | -17 | |||||||
Binär (+17): | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
2-Kompl.: | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 |
Hexadezimal: | F | F | E | F |