Skip to content

Step 2 of 11

Create project and .ASM file

Goal

Have an MPLAB project for PIC18F4550 with file guia-interrupciones.asm ready to edit.

You do not write interrupt code yet. Only set up the environment like the ports guide: project, device PIC18F4550, and .ASM file under Source Files.

  1. MPLAB: File → New Project (or reuse a course project) → device PIC18F4550 → MPASM or XC8 per your lab.
  2. Create Source Files → New → Assembly File → name guia-interrupciones.asm.
  3. Leave the file empty or with comment ; Interrupts guide.
  4. Save all. Do not build yet.
  • MPLAB project created for PIC18F4550.
  • `guia-interrupciones.asm` exists under Source Files.
  • File saved on disk.

Tip: You can copy the ports guide project and rename the `.ASM` — but use a file dedicated to interrupts.