# What does this Hexadecimal represents

#### uppi_777

Joined Feb 26, 2018
42
Hallo,

i am new to Programming
i have a register file with FPGA_ADC_SEQ1 0x0C00513C
0x0C00513C What does this Hexadecimal represents and how to understand it?

#### MrChips

Joined Oct 2, 2009
26,790
A decimal number such as 789 is (7 x 100) + (8 x 10) + (9 x 1)
or (7 x 10^2) + (8 x 10^1) + (9 x 10^0)

A binary number such as 1011 is
(1 x 2^3) + (0 x 2^2) + (1 x 2^1) + (1 x2^0)

Hence a hexadecimal number such as 05CF is
(0 x 16^3) + (5 x 16^2) + (12 x 16^1) + (15 x 16^0)

Thus, each digit represents a multiple of a radix raised to a certain power.

In programming, hexadecimal notation is used to assist the reader in recognizing a binary value. All numbers on a computer are binary.
The programmer needs to take no further action.

#### uppi_777

Joined Feb 26, 2018
42
A decimal number such as 789 is (7 x 100) + (8 x 10) + (9 x 1)
or (7 x 10^2) + (8 x 10^1) + (9 x 10^0)

A binary number such as 1011 is
(1 x 2^3) + (0 x 2^2) + (1 x 2^1) + (1 x2^0)

Hence a hexadecimal number such as 05CF is
(0 x 16^3) + (5 x 16^2) + (12 x 16^1) + (15 x 16^0)

Thus, each digit represents a multiple of a radix raised to a certain power.

In programming, hexadecimal notation is used to assist the reader in recognizing a binary value. All numbers on a computer are binary.
The programmer needs to take no further action.

Thanks i understand with your examples but what does this represent 0x0C00513C here should i only consider 513C

#### MrChips

Joined Oct 2, 2009
26,790
Thanks i understand with your examples but what does this represent 0x0C00513C here should i only consider 513C
No.
0x0C00513C likely represents a memory address. You use the entire value. There is nothing for you to do because the compiler understands what it means.

#### Ian0

Joined Aug 7, 2020
5,839
If it didn’t have the FPGA prefix I’d have thought that it was the register that controlled an A to D converter, and the bits represent which analogue inputs are to be scanned in sequence #1, and probably selects the input that triggers sequence #1 and the sampling rate.