hai every body,
can u show me a simple program in c using asm?
hai every body,
can u show me a simple program in c using asm?
Use the search feature in this board if you haven't used it before. It is very helpful.
Also be more specific. Do you mean using C code and external ASM routines (defined in an ASM-file), or do you mean inline assembly. Also specify which compiler and assembler you are using, since implementation is different. And I almost forgot it, since assembly is not the same at each platform, specify which OS you are using and which microprocessor.
because i can't sleep:
Code:int yahoo(); int main() { yahoo(); }that code will return a 0.Code:global yahoo yahoo: enter 0,0 xor eax,eax leave ret