This document provides a user's guide for MPLAB, an integrated development environment for developing embedded designs using Microchip PIC microcontrollers. It outlines the basic steps to run MPLAB, create a new project using the project wizard, add files in assembly format, write and build code, and view memory and registers. It also describes how to add the WREG, LATB, and PORTB registers to the watch window and use MPLAB SIM for simulation to view the final program results.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
63 views
Mplab Tutorial
This document provides a user's guide for MPLAB, an integrated development environment for developing embedded designs using Microchip PIC microcontrollers. It outlines the basic steps to run MPLAB, create a new project using the project wizard, add files in assembly format, write and build code, and view memory and registers. It also describes how to add the WREG, LATB, and PORTB registers to the watch window and use MPLAB SIM for simulation to view the final program results.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11
Lab # 06
Lab Title: USERS GUIDE OF MPLAB
Course Title : Microprocessor Systems & Interfacing Course Code : EEE342 Class : BEE-6A Teachers Name : Sir Usman Khalid
Student Name : SAMIULLAH Reg. No. : SP10 BEE 043 Marks : ________________
Department of Electrical Engineering COMSATS Institute of Information Technology Abbottabad
Introduction MPLAB Integrated Development Environment (IDE) is comprehensive editor, project manager and design desktop for application development of embedded designs using Microchip PIC microcontrollers.
Running MPLAB Start>Programs>Microchip>MPLAB IDE v8.10>MPLAB IDE.exe
Go to Project in the toolbar and select Project Wizard
MPLAB can also work with C and other languages using different Tool suite. When using Assembly language Microchip MPASM Tool suite is used and there is no need of adding linker file, but for other languages other Tool suites are used and linker file is needed to be added.
When project file is created it is in MCP format use ASM format.
Go to Project in the toolbar and select add new file to project in ASM format.
Writing Code and in source file who is create and Building it.
Go to view in the toolbar and select watch,programe memory,file register.
Adding WREG,LATB,PORTB in watch .
Simulation is done from Debugger>Select Tool>MPLAB SIM.