你用
name DB "Foo",0
声明name
为 byte-string "Foo"
。
您如何将其声明为字符串?(即每个字符 16 位)
编辑:
我正在寻找一种在宏中运行良好的方法,例如:
GenerateThunk macro Name
.code
&Name& proc public
push offset NAME
jmp &Name&__actual
NAME: ; I need something like this,
&Name&_Name dw "&Name&", 0 ; <--- but `dw' doesn't work!
&Name& endp
endm