변환기 도구
0 characters
Enter a hexadecimal number (0-9, A-F). The '0x' prefix is optional. Choose between unsigned and signed (two's complement) interpretation.
Bits:
0
Type:
Unsigned
이진 표현:
숫자 체계 정보
16진법
The hexadecimal system is a base-16 numbering system that uses 16 distinct symbols. These symbols are 0-9 to represent values zero to nine, and A-F (or a-f) to represent values ten to fifteen.
16진수에서 10진수로의 변환표
| Hexadecimal | Decimal | Hexadecimal | Decimal |
|---|---|---|---|
| 0 | 0 | 8 | 8 |
| 1 | 1 | 9 | 9 |
| 2 | 2 | A | 10 |
| 3 | 3 | B | 11 |
| 4 | 4 | C | 12 |
| 5 | 5 | D | 13 |
| 6 | 6 | E | 14 |
| 7 | 7 | F | 15 |
2의 보수
2의 보수는 이진 시스템에서 음수를 나타내는 데 사용되는 수학 연산입니다. 덧셈 및 뺄셈과 같은 산술 연산을 단순화하기 때문에 컴퓨팅에 널리 사용됩니다.
양수를 2의 보수에서 음수로 변환하려면:
- 숫자를 이진수로 변환합니다.
- Invert all the bits (change 0 to 1 and 1 to 0).
- 반전 결과에 1을 더합니다.
음수 2의 보수 번호를 다시 10진수로 변환하려면:
- 모든 비트를 반전시킵니다.
- 반전 결과에 1을 더합니다.
- 결과를 10진수로 변환하고 앞에 음수 부호를 붙입니다.
예: 8비트 Two의 보수
Positive Number (5):
0000 0101 (binary)
Negative Number (-5):
1111 1010 (inverted bits of 5)
1111 1011 (add 1 = two's complement representation of -5)
8비트 2의 보수 범위:
-128 (1000 0000) to 127 (0111 1111)