简体   繁体   English

我如何在 VS Code 中编写和执行 FASM 代码

[英]How do i write and execute FASM code in VS Code

At the University where I study, we are taught Assembly language.在我学习的大学,我们教授汇编语言。 My teacher told us to use Fasm,but I would like to use visual studio code to write programs.我的老师告诉我们使用 Fasm,但我想使用 Visual Studio 代码编写程序。 I downloaded the Retro Assembler extension, but it tries to find the file retroassembler.exe which just doesn't exist.我下载了 Retro Assembler 扩展,但它试图找到不存在的文件 retroassembler.exe。 I carefully read the instructions for installing the extension,but could not find any clues.我仔细阅读了安装扩展的说明,但找不到任何线索。 What am I missing?我错过了什么?

Maybe you know more convenient solutions for creating programs on Fasm.也许你知道在 Fasm 上创建程序更方便的解决方案。 Anyway I will be grateful for any help无论如何,我将不胜感激任何帮助

Since no one answered the question, and I have already found a solution myself, it is worth describing it.由于没有人回答这个问题,而且我自己已经找到了解决方案,所以值得描述一下。 I hope there are people in this world who have encountered my problem.我希望这个世界上有人遇到过我的问题。

In any case, RetroAssembler extension in VScode does not download assembler itself.在任何情况下,VScode 中的 RetroAssembler 扩展都不会下载汇编器本身。 You can find it here at the bottom of the page.你可以找到它在这里在页面的底部。 Then you need to unpack it and specify the path where you used to unpack it in your VScode settings (File=>Preferences=>Settings=>Extensions=>RetroAssembler).然后你需要解压它并在你的 VScode 设置中指定你用来解压它的路径(文件=>首选项=>设置=>扩展=>RetroAssembler)。

Have a good time learning assembler!祝你学习汇编愉快!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM