Programmer Tape
2진수 계산기 — 2진수, 16진수, 10진수 변환 및 비트 연산기 | Cruse
프로그래머를 위한 2진수, 16진수, 10진수, 8진수 진법 변환기 및 비트 연산(AND, OR, XOR, NOT) 계산기입니다.
도구 사용 방법
Select Word Size & Signed Mode
Choose your architecture register width: 64-bit (QWORD), 32-bit (DWORD), 16-bit (WORD), or 8-bit (BYTE). Toggle Signed (Two’s complement) or Unsigned.
Choose Input Base & Type Numbers
Click HEX, DEC, OCT, or BIN to set the active entry mode. Keypad buttons automatically enable or disable based on the selected numeral base.
Perform Bitwise Math or Click Bits
Execute bitwise logic (AND, OR, XOR, NOT, LSH, RSH) or click directly on individual bits in the interactive bit-flipper matrix to toggle bits on the fly.
기술 사양 및 표준
| Parameter / Standard | Specification |
|---|---|
| Register Word Sizes | 64-bit QWORD, 32-bit DWORD, 16-bit WORD, 8-bit BYTE |
| Numeral Bases Supported | Hexadecimal (Base 16), Decimal (Base 10), Octal (Base 8), Binary (Base 2) |
| Bitwise Logic Operations | AND, OR, XOR, NOT, Bit Clear, Two’s Complement Negation |
| Bit Shifting & Rotation | Left Shift (<<), Right Shift (>>), Rotate Left (ROL), Rotate Right (ROR) |
| Numeric Range (64-bit) | Unsigned: 0 to 18,446,744,073,709,551,615 | Signed: -9.22 × 10¹⁸ to +9.22 × 10¹⁸ |
| Interactive Bit Matrix | Direct clickable nibble-grouped bit flipper with instantaneous base synchrony |
| Computation Engine | Native JavaScript BigInt engine. Zero floating-point rounding or precision truncation. |
자주 묻는 질문
How does two’s complement signed representation work?
In two’s complement, the most significant bit (MSB) serves as the sign flag. If MSB is 0, the number is positive. If MSB is 1, the number represents a negative value equal to the inverted bits plus 1. This allows digital CPU circuits to execute addition and subtraction with identical hardware logic.
Why does the keypad disable certain letters or numbers when I switch modes?
Each numeral base only allows valid digits in that radix. Binary (Base 2) only accepts 0 and 1. Octal (Base 8) accepts 0 through 7. Decimal (Base 10) accepts 0 through 9. Hexadecimal (Base 16) accepts 0 through 9 and A through F. Invalid keys are automatically disabled to prevent formatting syntax errors.
Can I flip individual bits on the screen?
Yes! The interactive bit matrix below the displays shows every bit organized into 4-bit nibbles and 8-bit bytes. Simply click on any 0 or 1 bit to toggle it. All HEX, DEC, OCT, and BIN representations update instantaneously.
What is the difference between QWORD, DWORD, WORD, and BYTE?
These terms denote standard computer architecture word widths: BYTE is 8 bits (1 byte), WORD is 16 bits (2 bytes), DWORD (Double Word) is 32 bits (4 bytes), and QWORD (Quad Word) is 64 bits (8 bytes). Switching word size clamps and masks calculations to that specific hardware width.