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