问题
I am studying this book here . Now it says repeatedly to use a x86 processor cause its source code's are based on x86. But My laptop is of type amd64 . So I want to know how much is the difference. Can I continue reading the book and understand?
回答1:
Actual 64 bit programs use a different instruction set (though it has a strong family resemblance). But that doesn't need to concern you, as it's backwards compatible: 32 bit code runs just fine, if you don't attempt to compile it as 64 bit code.
回答2:
If you are just starting programming, then I would not worry too much about it. The first thing that comes to mind is the use of threading and how there would be small differences there.
However, I assume that you are starting out and wanting to jump right into "hacking". This can quite simply not happen. You need to understand that hacking is built upon the very base building blocks of programming. While there are many programs out there that can be run to do things like packet sniffing and such, there are nearly useless to those that do not know what to do with them.
I am going out on a limb with some of these assumptions and I could be wrong, but most people that grab up a book like this do not have the background knowledge. If you want to learn "hacking", start with the basics. Look up and use "Linux from Scratch" to build an operating system from scratch. That is a good basic start. Learn languages like C and C++ and not languages like Visual Basic. These will help you understand that basics of how programs are built and run.
I know that the last time that we did "Linux from Scratch" for fun, there were several small errors in the documentation that are no big deal when you know what you are doing, but a noob would simply copy and paste the commands and find themselves scratching their heads when something goes wrong. Start at the beginning, it is the way to go.
回答3:
I think x64 is the name for the architecture for the extensions to the x86 instruction set that enable 64-bit code.
x86 basically means Intel 80x86 compatible.
You can also check Intel® 64 and IA-32 Architectures Software Developer Manuals
来源:https://stackoverflow.com/questions/20050765/what-is-the-difference-between-assembly-language-of-x86-and-x64-architecture