VC里嵌汇编,获取寄存器的值
摘要:1、拷贝eax的值int cur_eax;__asm{ mov cur_eax, eax // 将eax放到num变量中}2、获取eip的值: eip寄存器没法直接获取,但可以用其他方法得到int cur_eip;__asm{ push eax_LABEL_: lea eax, _LABEL_ mov cur_eip, eax pop eax}
阅读全文
posted @ 2011-04-21 19:42
posted @ 2011-04-21 19:42
posted @ 2011-04-20 19:13
posted @ 2011-04-08 12:08