Thursday, January 21, 2016

Recently ready for assembly language study, ask Ben 4CPU and Core 2 Duo assembly instructions great?




            


If that
Recently ready for assembly language study, ask Ben 4CPU and Core 2 Duo assembly instructions great?
I have been doing C / C ++ development
Pentium 4 based on the old bookAs the design required, must be in contact assembly language.
Will the assembly language latest Core 2 Duo used, and compared with the original X86 compilation,
Why the big difference?
Thank you!
Reply:
"The original X86 compilation"?
Now also x86 assembler (if under 64 using AMD64 compilation),
On this basis, there are some special instruction set extensions, such as MMX, SSE, SSE2, SSE3 (SSE4 out soon)
Go directly to the website to download intel CPU developed manual
Reply:
Basic instructions are the same
Under normal circumstances, each launched a new cpu will add some new instructions
However, these new instructions will rarely be used to
Reply:
Now basically no difference, but it seems more than a virtual machine instruction
Reply:
Learning landlord efforts.
Reply:
If only to learn assembly language is not necessary to consider cpu platform. If you take into account the special instruction set optimization, such as sse, we need to consider whether to support the cpu. If you want to optimize for a specific cpu, such as cache and so on, we need to consider the differences between the different structures of the cpu.
Reply:
If only to learn assembly language is not necessary to consider the cpu platform? I'll PowerPC and MIPS64, but not ......
IA32 ofIA32 manual has thick three, it looks too scare people.
Reply:
You do not need three basic things are.
If the three are mastered, it is a master.

Reply:
The latter contains the former entirely, Core 2 Duo also includes some new instructions

No comments:

Post a Comment