Compilation

When you have created the project and written the source code, it's time to compile it. Select Build › Build from the drop-down menu, or click the Build Icon Build Icon from the Build Toolbar. If more more than one project is open you can compile all open projects by selecting Build › Build All Projects from the drop-down menu, or click the Build All Projects Icon 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 notified in the Messages Window. If no errors are encountered, the mikroPascal PRO for PIC will generate output files.

Output Files

Upon successful compilation, the mikroPascal PRO for PIC will generate output files in the project folder (folder which contains the project file .mpppi). Output files are summarized in the table below:

Format Description File Type
Intel HEX Intel style hex records. Use this file 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 mikroPascal PRO for PIC, you can click the View Assembly icon View Assembly Icon or select View › View Assembly from the drop-down menu to review the generated assembly code (.asm file) in a new tab window.
Assembly is human-readable with symbolic names.

Copyright (c) 2002-2012 mikroElektronika. All rights reserved.
What do you think about this topic ? Send us feedback!
Want more examples and libraries? 
Find them on LibStock - A place for the code