Home
Apps
BinDec Instructions
Add up the corresponding values of the binary index based on their position from right to left eg:
Binary
Decimal
00000001
1
00000010
2
00000011
3
00000100
4
00000101
5
00000110
6
00000111
7
00001000
8
etc..
Lookup Table:
Index (x)
Value (2
x
)
0
1
1
2
2
4
3
8
4
16
5
32
6
64
7
128
8
256