How to use assembly with Dev-C++ ?
The assembler uses AT&T (not Intel). Here’s an example of such a syntax : // 2 global variables int AdrIO ; static char ValIO ; void MyFunction(……….) { __asm(“mov %dx,_AdrIO”) ; // loading 16 bits register __asm(“mov %al,_ValIO”) ; // loading 8 bits register /* Don’t forget the underscore _ before each global variable names !
Related Questions
- Is the implementation of EBG structures into printed circuit boards something that can be done with standard PCB design and assembly processes, or would a new tool set need to be developed?
- Which branches are available at Guru Nanak Dev Engineering College, Ludhiana under B.Tech.Programme?
- How to use assembly with Dev-C++ ?