Spent an hour last night doing x86_64 register arithmetic exercises, like you do...

@jpaskaruk@growers.social

Spent an hour last night doing x86_64 register arithmetic exercises, like you do, which involved converting Decimal to Hex in a few cases, and I was struggling a tiny bit, because I have not spent a lot of time staring at Hex times tables. Decimal multiplications I memorized by rote over years of ignoring the teacher and listening to the music in my head, while staring at them on the wall of the class.

Then at some point I realized that one easy way to get a baseline, is to know/remember that whatever base you're dealing with, base2 will always be 100.

2x2 in Binary: 100
10x10 in Decimal: 100
16x16 in Hex: 100

I also got very confuse for a while about whether A meant decimal 10 or 11 (it means 10, start from 0 as usual)

Anyone else out there currently working on improving their C chops?