C语言描述该程序流程:
#include <stdio.h> int main() { int a,b; scanf("%d %d",&a,&b); if(a>=b) printf("%d",a); else printf("%d",b); }
汇编语言:
include irvine32.inc .data a dword ? b dword ? .code main proc call readint mov a,eax call readint mov b,eax mov eax,a cmp eax,b jge print mov eax,b print: call writeint main endp end main
运行结果: