The article says `lea` helps calculate the array relative address on AMD64.
Why does the article say the problem would be tricky on 32-bit? `lea` is an old instruction. Thanks.
Why does the article say the problem would be tricky on 32-bit? `lea` is an old instruction. Thanks.
Btw, his code is wrong, it assumes pointers fit into 32 bits.