Skip to content

Step 2 of 11

Create project and .ASM file

Goal

Have an MPLAB project for PIC18F4550 with an empty source file ready to edit.

You do not write code yet. You only set up the environment like in MPLAB and Proteus: project, correct device, and .ASM file in the project tree.

  1. MPLAB X: File → New Project → Microchip Embedded → Standalone Project → device PIC18F4550XC8 or MPASM per your course → name GuiaPuertos.
  2. Right-click Source Files → New → Assembly File → name guia-puertos.asm.
  3. Leave the file empty for now (or only a comment ; GPIO ports guide).
  4. Save all (Ctrl+S). Do not build yet — step 2 adds the first lines.
  • MPLAB project created for PIC18F4550.
  • File `guia-puertos.asm` exists under Source Files.
  • The file is saved on disk.

Tip: If you already have a course project, reuse it — but use a new `.ASM` just for this guide.