Introduction to Programming in Assembly on the PIC18F452
We have provided a series of videos to walk your through programming in Assembly language on the Microchip PIC18F range of microcontrollers.
Assembly language is not an easy language to grasp, but understanding it gives you the ability to control every aspect of the performance of a microprocessor right down to the exact timing in microseconds that each process will take. While coding in assembly is not widely used, this knowledge will help you in understanding exactly what is happening inside an MPU, which establishes a strong base to start designing FPGA’s using VHDL.
Creating your first project in MPLAB X
The steps involved in creating a project, selecting the microcontroller, the programming tool, and compiler.
Creating a Blink program to test things work.
Introduction to ports and Special Function Registers (SFR)
Learn where to find information on the key functions associated with setting up and controlling ports
Debugging code in MPLAB X
When your program runs but does not do what you expect you need to know how to debug it and see what’s happening in the MPU in real-time.
Data Manipulation Op-codes
MOVLW, MOVWF, MOVF, MOVFF
Flow Control Op-codes
BRA, CALL, RETURN, BTFSS, BTFSC
Using Variables to hold data