listing1-3
This commit is contained in:
commit
8b16d44b58
11
listing1-2.cpp
Normal file
11
listing1-2.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
extern "C"
|
||||
{
|
||||
void asmFunc(void);
|
||||
};
|
||||
|
||||
int main(void){
|
||||
printf("Calling asmFunc: \n");
|
||||
asmFunc();
|
||||
printf("Returned from asmFunc\n");
|
||||
}
|
9
listing1-3.asm
Normal file
9
listing1-3.asm
Normal file
@ -0,0 +1,9 @@
|
||||
.CODE
|
||||
option casemap:none
|
||||
|
||||
public asmFunc
|
||||
asmFunc PROC
|
||||
ret
|
||||
|
||||
asmFunc ENDP
|
||||
END
|
Loading…
Reference in New Issue
Block a user