那个用汇编的显然用了条件判断跳转指令(cmp,jle),肯定不合题意。

能编个毛线衣吗?
程序代码:#include<stdio.h>
int main()
{
char* fmt="%d\n";
_asm
{
mov eax,100;
add eax,1;
xor edx,edx;
push eax;
shl eax,6;
add edx,eax;
pop eax;
push eax;
shl eax,5;
add edx,eax;
pop eax;
shl eax,2;
add edx,eax;
shr edx,1;
push edx;
mov eax,dword ptr fmt;
push eax;
call dword ptr printf;
add esp,8;
}
return 0;
}
