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.
Follow these steps
- MPLAB X: File → New Project → Microchip Embedded → Standalone Project → device PIC18F4550 → XC8 or MPASM per your course → name
GuiaPuertos. - Right-click Source Files → New → Assembly File → name
guia-puertos.asm. - Leave the file empty for now (or only a comment
; GPIO ports guide). - Save all (Ctrl+S). Do not build yet — step 2 adds the first lines.
Checklist before you continue
- 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.