查看了这个函数的汇编码,有些不理解,希望你们帮我提示一下
main(){
printf("%d%c%s",61,'a',"AB",'c');
}
这个函数的汇编码是:
-u 1fa
13D9:01FA 55 PUSH BP
13D9:01FB 8BEC MOV BP,SP
13D9:01FD B86300 MOV AX,0063
13D9:0200 50 PUSH AX
13D9:0201 B89B01 MOV AX,019B ;这个19b是字符串“AB”的什么啊
13D9:0204 50 PUSH AX
13D9:0205 B86100 MOV AX,0061
13D9:0208 50 PUSH AX
13D9:0209 B83D00 MOV AX,003D
13D9:020C 50 PUSH AX
13D9:020D B89401 MOV AX,0194还有这个是194是printf第一个参数的什么?地址还是ASCII
13D9:0210 50 PUSH AX
13D9:0211 E8B908 CALL 0ACD
13D9:0214 83C40A ADD SP,+0A
13D9:0217 5D POP BP
13D9:0218 C3 RET |