Re:A Friendly Introduction to Assembly for High-Level Progra...
by zellyn on Wednesday September 18, 2024 @01:05PM
(#41582516)
Ah, interesting. I think, looking back, that "lea" is usually where I start getting confused!
I apparently also need to internalize harder that I should just ask llms about everything :-)
One thing that tripped me up a bit is that on x86 standard practice is using "taking address" lea operation combined with weird addressing mode to do simple arithmetics. I had to ask ChatGPT wtf is that.
In the process I learned that 686 assembly is a very different beast and they don't play nicely with each other (or at all).