首页
社区
课程
招聘
[旧帖] [求助]请问如何在64位程序中嵌入汇编代码啊 0.00雪花
发表于: 2011-12-17 12:47 1863

[旧帖] [求助]请问如何在64位程序中嵌入汇编代码啊 0.00雪花

2011-12-17 12:47
1863
请问如何在64位程序中嵌入汇编代码啊?
看了一些资料好像都说x64已经不支持_asm了。。。

[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 292
活跃值: (153)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
2

。。。。不懂。。。关注中。。。
2011-12-17 12:49
0
雪    币: 227
活跃值: (66)
能力值: ( LV7,RANK:100 )
在线值:
发帖
回帖
粉丝
3
是不支持了
麻烦点用shellcode吧
2011-12-17 13:04
0
雪    币: 292
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
Intrinsics and Inline Assembly
Visual Studio 2010 Other Versions  Visual Studio 2008 Visual Studio 2005

One of the constraints for the x64 compiler is to have no inline assembler support. This means that functions that cannot be written in C or C++ will either have to be written as subroutines or as intrinsic functions supported by the compiler. Certain functions are performance sensitive while others are not. Performance-sensitive functions should be implemented as intrinsic functions. In general, this will be the same list of intrinsic functions implemented for ALPHA and the Itanium but will include x64 specific functions as well.

The intrinsics supported by the compiler are described in Compiler Intrinsics.

See Also
--------------------------------------------------------------------------------

Reference
x64 Software Conventions
2011-12-17 14:52
0
雪    币: 292
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
真不支持了,不过我们可以用汇编写代码,编译成lib然后在c、c++代码里调用
2011-12-17 14:53
0
游客
登录 | 注册 方可回帖
返回
//