I have a question about inline assembler. Is it possible to call another assembler routine from the inline assembler within the same function? For example:
void FindValidPID(unsigned int &Pid) { __asm { sub esp, 20h mov eax, Pid add eax,eax call sub123 ; another assm subroutine mov Pid, eax add esp, 20h } }
Where should I and how to write a sub123 routine?
Cheers
Thomas
c ++ assembly inline-assembly
Thomas
source share