VIRGIN FOREST OF JAVA
不要埋头苦干,要学习,学习,再学习。。。。。
powered by R.Zeus
pushz    macro szText:VARARG
    local    nexti
    call    nexti
    db szText,00h

nexti:
endm

//db szText,00h the "db" directive will make the "szText" as opcode next to the "call    nexti" when expand the macro.
 after invoke this macro,the esp will point to the szText opcode because of the call mechanism.

call = put eip+1 to esp,jump to call method.

usage: pushz "hello.txt"

//dw is the same as db,but I don't know what is the dd do.

posted on 2008-06-05 18:16 R.Zeus 阅读(236) 评论(0)  编辑  收藏 所属分类: ASM-MACRO

只有注册用户登录后才能发表评论。


网站导航: