binary-convert
path: courses/lowLevel/binary-convert.md
- **fileName**: binary-convert
- **Created on**: 2024-09-22 20:04:59
starting convert the binary ot another units
1- binary to decimal
- convert binary-> 1111 to decimal
results: 1 * 2^0 + 1 * 2^1 + 1 * 2^2 + 1 * 2^3 = 15
1- binary to octal
- convert 101010101 to octal
for octal first split the binary from right to left to 3 digits
(101)(010)(101)
now calc the output for each block (101) = 2^2 + 0 + 2^05 2 5
1- binary to hexadecimal
- convert 101010101 to hexadecimal
for hex first split the binary from right to left to 4 digits
(1)(0101)(0101)
now calc the output for each block (0101) = 0 + 2^2 + 0 + 2^00x155
continue:x86_instructions
before:decimal-convert.md