art_of_x64_assembly/listing1-6.cpp

13 lines
160 B
C++
Raw Normal View History

2024-07-13 03:32:09 +00:00
#include <stdio.h>
extern "C"
{
void asmFunc(void);
};
int main(void){
printf("Calling asmFunc: \n");
asmFunc();
printf("Returned from asmFunc\n");
}