I recently started programming
PIC microcontrollers after
AVR and I wrote a small, do-nothing program just to see what the assembler produces in the
;File: main.s .include "p24FJ64GA202.inc" .global __reset .global __INT1Interrupt .text __reset: nop goto infinite __INT1Interrupt: nop retfie infinite: nop nop nop bra infinite .end
After building and disassembling, I found that the assembler puts these unnecessary blocks in my code, that I did not write:
How can I prevent this from happening?