art_of_x64_assembly/listing1-2.cpp

12 lines
159 B
C++
Raw Normal View History

2024-07-12 14:25:41 +00:00
#include <stdio.h>
extern "C"
{
void asmFunc(void);
};
int main(void){
printf("Calling asmFunc: \n");
asmFunc();
printf("Returned from asmFunc\n");
}