|
关于宏参数
那为什么我传递一个word类型进去,编译会报错? |
|
|
|
关于宏参数
没太看懂 举个例子 testmacro MACRO test1,test2 EndM 上面两个参数都是DWORD类型的 如果我传递一个word类型的变量,编译器就会报错~~~ 现在我就是想要直接可以传递一个word类型进去 这个宏应该怎么样定义? |
|
GetProcAddress得到的函数如何用invoke来使用?
哈哈,的确是好人一个~~~~~~ 那不介意再回答我一个问题吧~~ 嘻嘻 invoke lstrcpy,addr _test1,SADD("test") 这个是一个asc字符 如果我想要赋值一个unicode字符给_test1应该怎么做? invoke lstrcpyW,addr _test1,????? 我查了一下masm宏,好像没有这样生成unicode字符的~~ 如果在外面定义一个常量unicode好像很麻烦,很不方便程序的阅读~~ 不知道masm有没有这样的宏,如果没有能不能提供一个 |
|
|
|
GetProcAddress得到的函数如何用invoke来使用?
我已经查到了~~ 谢谢~~~ 再问一下~~~ 我见一个DWORD赋值给了eax 现在我想要分别取出高位和低位,如何做? masm里面有个宏是取低位的,但是不能取高位 |
|
|
|
汇编中的字符串解析
那sscanf这个函数应该如何声明 |
|
|
|
关于多个asm文件的编译和连接
希望版主可以收录成精华哦 哈哈,好多朋友其实都不知道这个方法吧~~ 估计也都还是在用命令行的编译方法~~ 相对来说集成开发环境还是比较好一些,方便一些~ 容易找到代码的错误,编译也很方便~~ 命令行的编译方式了解一下就好了~~~ |
|
关于多个asm文件的编译和连接
研究了一下~~~ 已经搞定了 OPTION PROC:PRIVATE是将函数声明为私有的~~ 这个好像C++的类权限,但是不一样~~ 然后将需要在其它文件中调用的函数加上public标识~~ 就可以正常使用了~~ 如果不要那个OPTION PROC:PRIVATE也可以~就标识全部函数都是public 都可以在其它文件中调用 其实关键不在这里,关键在于需要把非主文件设置成非编译文件 这样可以可以生成多个obj了 |
|
|
|
|
|
|
|
|
|
关于多个asm文件的编译和连接
那什么集成开发环境支持多模块? |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值