thrill 发表于 2011-2-20 16:52:33

push的问题

push0是不允许的吗??请教下push后面可以跟的类型

小甲鱼 发表于 2011-2-20 17:10:00

push 0可以的
像反汇编函数DialogBoxParam(hInstance, 1, 0, xxxx, 0)
的结果就是:
push 00000000
push xxxxxxxxx
push 00000000
push 00000001
push eax
//以上参数按照STDCALL顺序依次进栈……
call USER21.DialogBoxParamA

thrill 发表于 2011-2-20 17:52:09

额看来又是编译器问题   估计masm615不支持push 立即数
页: [1]
查看完整版本: push的问题