MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 89

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 88
Chapter 5 - MPLAB
Previous page Table of contents Chapter overview Next page
5.5 Designing a new assembler file (writing a new
program)
When "project" part of the work is finished, we need to start writing a program. In other words,
new file must be opened, and will be named "test.asm". In our case, file has to be named
"test.asm" because in projects which have only one file (such as ours), name of the project and
name of the source file have to be the same.
New file is opened by clicking on FILE>NEW. Thus we get a text window inside MPLAB work space.
New assembler file opened
New window represents a file where program will be written. Since our assembler file has to be
named "test.asm", we will name it so. Naming is done (as with all Windows programs) by clicking
on FILE>SAVE AS. Then we get a window like the following picture.
http://www.mikroelektronika.co.yu/english/product/books/PICbook/5_05Poglavlje.htm (1 of 2) [4/2/2003 16:18:26]
Zobrazit stránku 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 185 186

Komentáře k této Příručce

Žádné komentáře