Specifications

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]