简体   繁体   中英

Getting return value of a function called with assembly

I am using Microsoft Visual C++ 2010.

If I have a function like this:

const char* blah(void);

and I want to call it like this:

__asm {
    call blah;
    ...
}

How do I get the return value of the function in the assembly?

返回值在EAX寄存器中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM