I've never learned how to do binary arithmetic and was wondering if there was a straightforward technique to doing the following things in your head:
- Add bits.
- Concatenate bits.
- Read bit values into decimal form.
For (1), just being able to do:
101011 + 101 ‾‾‾‾‾‾ ??????
For (2), instead of add, concatenate:
101011 + 101 = 101011101 ? how to determinal decimal value
What I'm doing now is starting from the right, just walking through the bits until I get to about #4 and it gets too complicated lol. I go
00 = 0, 01 = 1, 10 = 2, 11 = 3, ..?.