A register has a fixed width, named and reserved bits, an MSB-first or LSB-first display order, and a word value that always matches the bits. The component keeps the word and the bits in sync, so the application does not have to maintain a boolean array and a numeric value separately.
Click a bit to toggle it, or press Tab to focus the register and use the arrow keys. Reserved bits are drawn dashed and cannot be changed.
—
Values are held as BigInt, so 64-bit registers are represented exactly. A JavaScript number loses integer precision above 253 and cannot hold a uint64 value.
The int16 row shows the same bit pattern as a signed decimal value.
Hardware documentation is written MSB-first, with bit 15 on the left for a 16-bit register, so this is the default. The bitOrder property changes the display order only; bits are always numbered from the least significant bit.