mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
COMPILATION
When you have created the project and written the source code, you will want to compile it. Select Project > Build from
Compile Icon. simply hit CTRL+F9.
Progress bar will appear to inform you about the status of compiling. If there are errors, you will be notified in the Error Window. If no errors are encountered, mikroC will generate output files.
View Assembly
Icon.
Output Files
Upon successful compilation, mikroC will generate output files in the project folder (folder which contains the project file .ppc). Output files are summarized below:
Intel HEX file (.hex)
Intel style hex records. Use this file to program PIC MCU.
Binary mikro Compiled Library (.mcl)
Binary distribution of application that can be included in other projects.
List File (.lst)
Overview of PIC memory allotment: instruction addresses, registers, routines, etc.
Assembler File (.asm)
Human readable assembly with symbolic names, extracted from the List File.
Assembly View
After compiling your program in mikroC, you can click View Assembly Icon or select Project › View Assembly from
If the program is not compiled and there is no assembly file, starting this option will compile your code and then display assembly.
page |
|
26 | MikroElektronika: Development tools - Books - Compilers |
|