tutorial on adding MASM code to Proteus software

Source: Internet
Author: User

Note: This tutorial is purely to solve the problems in the use of the process, relatively simple, the original tutorial, there are questions Welcome to discuss ~ ~

"One" tutorial on adding MASM code to Proteus software:

Step One:

Create a new text document on the desktop:

Write the following content:

@ECHO OFF

E: \masm32\bin\ml/c/zd/zi%1

Set str=%1

Set str=%str:~0,-4%

E: \masm32\bin\link16/codeview%str%.obj,%str%.exe,nul.map

Attention:

Where to put the letter depends on the Masm,masm32 software installed in which drive letter

Step Two:

Change the suffix to. bat after saving

Step Three:

Open the Proteus software and add the appropriate chips and controls in accordance with the course design requirements

Click on the menu bar Seventh option: Source->add/remove Source

After opening, if it is the first time to run the software, then the software installation will automatically add the. asm suffix shown in the C drive, click Remove to remove this,

Next:

Click New

Locate the. bat file that you just created, and then add

Run build all after adding

If there is no error, add the success

"Two" about the basic operation of Proteus software:

Add chips and other controls:

Click P

Enter keywords in keyword, find related devices, find, click, appear in the left column list, to use, click the control directly, the mouse on the main interface, left click can be added.

The arrows refer to the following sections, respectively:

Run, pause function

tutorial on adding MASM code to Proteus software

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.