To learn assembly - should I start with 32 bit or 64 bit?

前端 未结 5 1066
闹比i
闹比i 2020-12-12 09:29

I\'m really wanting to learn assembly. I\'m pretty good at c/c++, but want a better understanding of what\'s going on at a lower level.

I realize that assembly relat

5条回答
  •  孤城傲影
    2020-12-12 10:35

    Get IDA pro. It's the bees knees for working with assembly.

    I personally don't see much of a difference between 32-bit and 64-bit. It is not about the bits but the instruction set. When you talk about assembly you talk about instruction sets. Perhaps they are implying that a 32-bit instruction set is better to learn from. However if that is your goal I suggest Donald Knuths books on algorithms -- they teach algorithms in terms of a 7-bit instruction set assembly :D

    For portability issues, I suggest that instead of inline assembly you learn how to use compiler intrinsics -- it will be the best optimization for non-embedded optimizations. :D

提交回复
热议问题