135/317
6 - STMicroelectronics Programming Tools
6 STMICROELECTRONICS PROGRAMMING TOOLS
This chapter describes the STMicroelectronics programming tools, their installation and their
use, based on a simple example program.
The standard ST Microelectronics ST7 programming tools package includes the following
items:
Assembler ASM.EXE V1.9
Linker LYN.EXE V1.7
Librarian LIB.EXE V1.2
Object code converter OBSEND.EXE V1.2
EPROM programmer and debugger, described in the next chapter
This package, supplied for free, runs on DOS only, or in a DOS box under Windows.
Other packages can be purchased that offer C-language programming. One of them is intro-
duced in the Chapter 8. Thus C language is omitted on purpose in this chapter.
To write and modify the source files, a text editor is required. Any text editor will suit; however,
STMicroelectronics recommends using WinE dit, and the S TMicroelectronics programming
tools expect to find WinEdit already installed on the computer before they can be installed. So
the installation of WinEdit is also described, and all subsequent references to text editing in-
volve WinEdit.
This chapter concludes with the demonstration of a very simple program that shows how to
write source code, assemble it, and link it. A more complete program will be demonstrated in
the next chapter, where the EPROM programmer and debugging tools are described.
6.1 ASSEMBLER
6.1.1 An overview of the assembler function
The program, as the programmer writes it, is a kind of text that uses a conventional grammar
to specify which instruction to use, with which operands, what are the data involved, where the
program and the data reside in memory, and more. This text, called the Source Text, obeys a
conventional grammar that is usually called Assembler or Assembly Language. The assem-
bler is a translator program that converts the source text into machine language. The result is
a file called an Object file.
Содержание ST7 Series
Страница 1: ...ST7 8 BIT MCU FAMILY USER GUIDE JANUARY 1999 1 ...
Страница 238: ...238 317 8 C Language and the C Compiler 08 Burn bmp Then use the EPROMer programmer software as described in Chapter 7 ...
Страница 289: ...289 317 10 Second Application a Sailing Computer 10 befor Bs Rw Vw VMG AlphaR AlphaV Before the wind ...