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