C语言描述:
#include <stdio.h> int main() { int a=3,b=2; printf("%d",a+b); }
汇编语言:
include irvine32.inc .data a dword 32 b dword 33 .code main proc mov eax,a mov ebx,b add eax,ebx call writeint main endp end main
运行结果:
C语言描述:
#include <stdio.h> int main() { int a=3,b=2; printf("%d",a+b); }
汇编语言:
include irvine32.inc .data a dword 32 b dword 33 .code main proc mov eax,a mov ebx,b add eax,ebx call writeint main endp end main
运行结果: