Basic ASM
Hello again
This time I was wondering if someone could show me some basic ASM for VC++ to use, and is used in game code to optimize parts of code. Keywords and basic info on what is happening is what I am looking for. Just info on how to do basic statements and faster versions of C++ code, and what is happening or how it works, and when to use it, would be nice. Thank you.
I am not worthy of a sig!
I am not worthy of a sig! ;)
That''s a pretty tall order for "Basic ASM". I don''t really believe there exists such a thing...
Try changing your compiler settings to generate ASM code by clicking on Projects/Settings...
Go to C/C++ tab and change Category to "Listing Files".
Next change Listing file type to "Assembly with Source Code".
Then when you compile your program, the compiler will spit out in an ASM file the actual asm code generated. Using that file in conjunction with a good book on assembly commands, you''ll get all the information you are asking for...
You can get good information on assembly commands at:
http://developer.intel.com and doing a search for Pentium Instructions or the like.
Regards,
Jumpster
Try changing your compiler settings to generate ASM code by clicking on Projects/Settings...
Go to C/C++ tab and change Category to "Listing Files".
Next change Listing file type to "Assembly with Source Code".
Then when you compile your program, the compiler will spit out in an ASM file the actual asm code generated. Using that file in conjunction with a good book on assembly commands, you''ll get all the information you are asking for...
You can get good information on assembly commands at:
http://developer.intel.com and doing a search for Pentium Instructions or the like.
Regards,
Jumpster
Regards,JumpsterSemper Fi
goto www.intel.com and fish through their developer website, you want to download thier instruction set documentation. You can get a reference list there of all the op codes for the x86 processors.
inline void swap(int a*, int b*){ __asm { push eax push ebx mov eax, <A href=''http:// mov ebx, <b> mov [a], ebx mov [b], eax pop ebx pop eax }}
'' Target=_Blank>Link
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement