如何在Visual Studio中启动C ++文本文件(.asm)的ASM代码? [英] How to start ASM code of c++ text file(.asm) in visual studio?

查看:165
本文介绍了如何在Visual Studio中启动C ++文本文件(.asm)的ASM代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于每个代码,在代码本身之前必须有几行,
例如在c ++

For every code there are lines that must be before the code itself,
for example in c++

#include..
using namespace..
void main()
{
   // Code
}


现在我找不到用于ASM代码的那些行.
有人可以在这里发布吗?

谢谢


Now I can''t find those lines for ASM code.
Can someone post them here?

Thanks

推荐答案

看看这个使用具有Microsoft Visual C ++的x86汇编语言 [ ^ ]


您指的是哪几行?如果您是这些意思:
Which lines are you referring to? If you mean these:
#include..
using namespace..


您将感到失望,因为它们只是指令和声明,可以帮助编译器弄清楚如何在其他地方生成程序代码.


you will be disappointed as they are merely directives and declarations which help the compiler to figure out how to generate the code of the program elsewhere.


这篇关于如何在Visual Studio中启动C ++文本文件(.asm)的ASM代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆