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.

Naming and saving a new assembler file

When we get this window, we need to write 'test.asm' below 'File name:', and click on OK. After that, we will see 'test.asm' file name at the top of our window.

 

Previous page

Table of contents

Chapter overview

Next page

 

© Copyright 1999. mikroElektronika. All Rights Reserved. For any comments contact webmaster.