Spaces, underscores and a 0x or 0b prefix are fine. A minus sign works in decimal.
Hexadecimal
Decimal (unsigned)
Decimal (signed, two’s complement)
Binary

Bits (click a bit to flip it)

Register field

Writes this into the field and shows the new register.
Field mask
Field value now
Register after writing the new value

C code

Operation

Result (hex)
Result (decimal)
Result (binary)

Calculator by Engineer Underground · open the full page for the worked example and theory