EasyManua.ls Logo

ST ST7 - The Main Source File, MAIN.ASM and the Timer Source File, TIMER500.ASM

ST ST7
317 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
173/317
6 - STMicroelectronics Programming Tools
The Compiler field that is currently set to Clipper selects the rules for decoding the assem-
bler or compiler report. It is used in conjunction with the
Capture Output option that must
then be enabled.
When the assembler is launched, and the
Capture Output option is enabled, the report gen-
erated by the assembler is captured, and on completion, is analyzed according to the speci-
fied rules. If error messages are generated, they will be displayed in the status box at the
bottom of the WinEdit window, and the line where the error stands is highlighted. This makes
the correction and assembly cycle a lot faster.
Once all the source files are error-free, the whole project must be built using the build com-
mand (the hammer button).
To launch the debugger from WinEdit, it is not sufficient to write its path in the Debug com-
mand field; you must also add a few parameters, so that the command to be placed in the
Debug Command box of the configuration parameters looks like the following text:
C:\ST7\WGDB7\WGDB7.EXE -target='emust7 lpt1 -dll st7hds2.dll'
This supposes that the debugger is installed in the directory C:\ST7\WGDB7.
The two files mentioned here are present in the companion software, so the settings above
need not be made by hand. You just have to select the
Project/Configure option, then press
the
Open button, to select the file CATERPIL.WPJ that does all this.
6.4.3.2 The main source file, MAIN.ASM and the timer source file, TIMER500.ASM
The source files of the project are very short. They are shown below. They illustrate what has
been said about assembly language regarding addressing modes, declarations, segments,
etc.

Table of Contents

Related product manuals