User manual
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
709
Compilation
When you have created the project and written the source code, it’s time to compile it. Select Project › Build from the
drop-down menu, or click the Build Icon from the Build Toolbar. If more more than one project is open you
can compile all open projects by selecting Project › Build All Projects from the drop-down menu, or click the Build All
Projects Icon from the Build Toolbar.
Progress bar will appear to inform you about the status of compiling. If there are some errors, you will be notied in the
Messages Window. If no errors are encountered, the mikroBasic PRO for dsPIC30/33 and PIC24 will generate output
les.
Output Files
Upon successful compilation, mikroBasic PRO for dsPIC30/33 and PIC24 will generate output les in the project folder
(folder which contains the project le .mbpds). Output les are summarized in the table below:
Format Description File Type
Intel HEX Intel style hex records. Use this le to program MCU.
.hex
Binary mikro Compiled Library. Binary distribution of application
that can be included in other projects.
.mcl
List File Overview of MCU memory allotment: instruction
addresses, registers, routines and labels.
.lst
Assembler File Human readable assembly with symbolic names,
extracted from the List File.
.asm
Assembly View
After compiling the program in the mikroBasic PRO for dsPIC30/33 and PIC24, you can click the View Assembly icon
or select View› View Assembly from the drop-down menu to review the generated assembly code (.asm le) in
a new tab window.
Assembly is human-readable with symbolic names.
Related topics: Build Menu, Build Toolbar, Messages Window, Project Manager, Project Settings