Beetwise

Register viewer

A register viewer shows every bit of a value at the same time.

Set the bit width to 8, 16, 32 or 64 bits.

Select a single bit to change it, and read the new value in hex, decimal and binary.

Try it

An 8-bit register with the value 0xB6. Select a bit to change it. Change the bit width or the signed mode to see the effect.

Name or expression
ID0
Binary
0b
Hex
0x
Decimal
ASCII
·
Shift
Sign
Bits
Endian
7
6
5
4
3
2
1
0

Worked example

Inspect a register value:

  1. Enter the value as hex with the prefix 0x, as binary with the prefix 0b, or as a decimal value.
  2. Set the bit width of the register.
  3. Set the signed mode if the register holds a negative value.
  4. Select a bit to change it.

Where this is used

A hardware register packs several fields into one value.

A bit view shows which fields have the value 1 without a manual conversion.

A paste from a log puts the value straight into the viewer.

Points to note

  • A change of the bit width can change the value. The register drops the higher bits when the width becomes smaller.
  • The byte order applies to bytes, not to the bits inside a byte.
  • A signed mode change does not change the bits, only the value that you read.

The full tool

The full editor holds many values at the same time. It also evaluates expressions across them, and it reads live values from a serial port.

Open the full editor

Questions

Which bit widths are available?
The tool supports 8, 16, 32 and 64 bits, which are the widths of common hardware registers.
Can I paste a value from a log?
Yes. Paste a hex, binary or decimal value into the page and the tool creates a register for it.
Does the viewer support little endian order?
Yes. Set the byte order for each register separately.