我的汇编器有严重问题 [英] I have serious problem with assemblers

查看:76
本文介绍了我的汇编器有严重问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我在汇编程序设计方面还很陌生,我有一个汇编项目要处理,而且我的处境也很糟糕!我的汇编器无法工作!它标记的错误完全不是错误,即当您写PUSHA/POPA时,这是一个错误,等等[只是一个例子! ].

我已经准备好所有需要使我的项目正常工作的代码,并且我确定这些代码是最新的,我也与Emulator一起工作,但是它不能很好地随机解释我的代码,所以效果不好!!例如,我有MOV CX,VAR它可以解释MOV AX,1!或我从未在代码MOV [BX + SI],AL中使用过,但是我在解释代码中多次看到它!这使得程序无意间写到内存中!!并制造麻烦(麻烦很多!).

其实我不知道我该怎么办!!!我用Google搜索了MASM,最后得到了2个主要链接 Microsoft宏汇编器8.0( MASM)程序包(x86) [ ^ ], MASM32 [ ^ ]

我都下载了,但是我不知道要和他们一起工作!!!

我的第一个问题是,有什么办法可以编写整个组装项目并使用VS组装该项目?

而另一个问题是,如果没有办法与VS组装在一起,那我该怎么办?

请任何人在这方面指导我,我知道语言,但我不知道工具!!!

我需要尽快的帮助.

在此先感谢

解决方案

我相信它们是命令行工具,而不是拥有IDE,但是我不确定以前从未使用过它们.作为使用MASM的替代方法,您可以在非托管C ++中编写asm代码,但是在执行操作上可能会受到一些限制.

Google是您的朋友. [Microsoft Macro Assembler 8.0 (MASM) Package (x86)[^], MASM32[^]

I''ve downloaded both but i don''t know to work with them!!!

My first question is is there any way to write entire assembly project and assemble that project with VS?

and the other question is if there is no way to assemble with VS, then what else should i do?

PLEASE can any body guide me on this, i know the language but i don''t know the tools!!!

I need help ASAP.

thanks in advance

解决方案

I believe they''re commandline tools as opposed to having an IDE, but never having used them before, I''m not sure. As an alternative to using MASM, you could write asm code in unmanaged C++, but there may be some restrictions as to what you can do.

Google is your friend.[^]

BTW, the latest version of MASM is 9.1.


Post on the MASM Forum.


There is more to this than meets the eye. It is most unlikely that the assemblers are generating incorrect code, and more likely that you are doing something wrong. Try reducing your code to a few simple lines and reassemble to see exactly what is happening. Also check any directives you are using to ensure the assembler is generating for the correct target architecture.


这篇关于我的汇编器有严重问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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