Flip bits, or type a value in any base. Switching between signed and unsigned changes how the bits read, never the bits themselves.
Bits
Hold Shift and drag across bits to read them as one number.
Bits 7 to 4
hex
signed
mask
Shift
Rotate
bit
Math
Reorder
Values
Type into any row and the bits follow. Spaces, commas and underscores are ignored.
Bytes in memory
Flags and counts
N and Z describe the bits right now. C and V come from the last operation.
NNegative
ZZero
CCarry
VOverflow
Other signed encodings
The same bits read five ways, and the bits each encoding would need to store the current value.
| Encoding | These bits read as | Bits for 0 |
|---|
Bit field
Treat a run of bits as its own number, like a field in a hardware register. Pick it by Shift-dragging across the bits or with the range below. In the code, x is the whole value and v is the field.
No field is selected. Hold Shift and drag across the bits, or set the range above.
Read
Write