| | |
asm in C
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
If you have small snippets of asm you want to do you can usually inline the ASM. In vc++, for example:
C++ Syntax (Toggle Plain Text)
void DoSomething( int parameter ) { int localVar; __asm { mov EAX, localVar // you have access to local vars by name mov parameter, EAX // and to parameters } }
![]() |
Similar Threads
- intergrating ASM to C++ (C++)
- ASM Game Coding Problem/Question (Assembly)
- Starting ASM (Assembly)
- My Sample ASM Code (Assembly)
Other Threads in the C++ Forum
- Previous Thread: Command Line Parameter
- Next Thread: Story Builder
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings struct temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





