Step For Generating New Project in MP LABX IDE

You might also like

You are on page 1of 11

TE-A 336&337

Step-1:Open MPLAB X IDE

Step-2:Sandesha Click on file and then New Project


Step-3:Select Standalone Project and then click Next

Step-4: Select Device as PIC16F877A and Click next


Step-5:Select Simulator and click on Next

Step-6:Select “ mpasm (v5.82) [C:\Program Files\Microchip\MPLABX\v5.10\mpasmx]”


Step-7:Brows your file and save the project name as shown

Step-8:Close all previous projects


Step-9:click on Source file then “New” and select directory as “pic_8b_simple.asm…..”

Step-10:Give the File name whatever you want to save and click finish
Step-11:We get the window as and check the device PIC16F877A

Step-12:Go to windows select target memory view and then Configuration bits
Step-13:Do the configurations as shown below in configuration window and then click Generate source
code to output

Step-14:Copy this generated source code


Step-15:Paste it at top of editor window

Step-16:Type the code as shown and click on Windows then Target Memory Views and then File
Register
Step-17:Click on clean and build

Step-18:After Build successful message click on Debug main project


Step-19:See the file register content

Darshani Sandesh

You might also like