Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to run assembler with DOSBox

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to use DOSBox to run the assembly, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Step 1: download the relevant files, which I will put in the link below:

Resource file

Extraction code: edtx

The second step is to put all the files in the masm folder into a specific folder, such as my f:\ masm

The third step is to install DOSBox, which contains a compressed package, just open the installation.

Step 4, double-click the DOSBox 0.74 Options.bat file under the DOSBox folder to open the dos-box.conf file, where you can configure the startup steps, as shown below:

Step 5, write the following code on the last line of the open conf file:

These two sentences will be run after you start DOSBox. The first line f:\ masm depends on your situation.

Step 6, open DOSBox, as follows:

As you can see, I ran the two lines of code we just wrote when I opened it. I've put a match.asm file in the masm folder in advance, which I can run directly here.

Step 7, type masm match.asm, as follows:

Then enter link match; here must pay attention to, must have a semicolon, otherwise can not be run.

Finally, enter match:

Finally, a Hello World is output, and it is done.

Thank you for reading this article carefully. I hope the article "how to use DOSBox to run the compilation" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report