有组装测试仪吗?
我的意思是像正则表达式测试器之类的东西。
我可以输入机器代码,软件可以验证/反汇编它,看看代码是否正确/代码代表什么。
我还可以输入程序集,软件也可以将其验证/汇编为机器代码。
它应该有一个 GUI 界面并在 Windows 下运行。
I mean something like a regular expression tester.
I could input the machine code and the software could verify/disassemble it to see whether the code is correct/what does the code represent.
I could also input the assembly and the software could also verify/assemble it to machine code.
It should have a GUI interface and run under Windows.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
gcc 或 gnu 汇编器 (as) 将汇编代码的语法,检查速度非常快。如果您想查看操作码或其他内容,则可以使用 objdump 进行反汇编。
gcc or gnu assembler (as) will assemble the code for syntax, very quick to check. then objdump to disassemble if you want to see the opcodes or whatever.
这可能有点晚了,但我使用程序 EMU8086,它为您提供了一个带有颜色编码的漂亮编辑器,然后您单击运行按钮,它会显示一个很酷的模拟器,带有简单的 dos 屏幕,您可以运行您的程序。您可以逐行前进,甚至可以后退。它太酷了,真的有助于我学习汇编。
该程序的唯一问题是某些地方的语法与 MASM 真正的汇编略有不同。此外,它仅支持 8086/8088 指令集。例如,如果您想使用 286 及以上版本,那就不好了,所以忘记在其中进行 Windows 汇编。
然而,它是一个 Windows 程序,它很小,并且非常容易使用和学习。如果您正在学习有关汇编的旧书,那太酷了,因为它可以顺利运行大多数列表。
享受学习汇编程序的乐趣,希望这有用。不要放弃它,因为它可能是一个挑战,但值得付出努力。在接下来的 6 个月左右的时间里,我将编写一个易于理解的正确组装教程。所以不要放弃。
不过,就像一个查询一样,由于您现在进行组装的时间比我长,您能否过来尝试回答我的问题,甚至提供有关在哪里查看的建议。干杯!
This is probabbly a little late, but I use the program EMU8086 which gives you a nice editor with colour coding, then you click the run button, it brings up a cool emulator with a simple dos like screen, and you can run your program. You can step forward, line by line, and even step back. Its sooo cool and really aids my learning of assembly.
The only problem with this program is that the syntax in some places, is slightly different than MASM true assembly. Also it ONLY supports 8086/8088 instruction set. No good if you want to use 286 and above for example, so forget doing windows assembly in it.
It is a windows program however, its small, and incredibly easy to use and learn from. Super cool if you are learning from old books on assembly as it will run most listings without a hitch.
Enjoy learning assembler, hope this was useful. Dont give up on it as it can be a challenge but it is worth the effort. Over the next 6 months or so I will be writing a proper assembly tutorial that will be easy to understand. So dont give up.
Just as a query though, since you are now doing assembly longer than me, could you pop over to try and answer my question, or even offer suggestions on where to look. Cheers!
OllyDbg 有一个反汇编器和汇编器。并且还允许您编辑字节(机器代码)。而且它是免费的。
OllyDbg has a disassmbler and assembler. And also aalows you to edit bytes (machine code). And it's free.