Genge Bela's home page  

 

 
 

Programming in assembly language

main_uproc

Course & Lab:
Assoc. Prof. Dr. Eng. Genge Bela

Main titles:

I/O Ports download
Program Structures download
Interrupts download
A/D Converter download

 

Example programs:

Example 1: I/O port programming view
Example 2: Multiple LED lighting view
Example 3: Creating tables using RETLW instructions view
Example 4: Accessing program memory using TBLRD and TBLWT instructions view
Example 5: Implementing a message digest (simple hash function) using XOR instructions view
Example 6: Indirect addressing view
Example 7: Interrupts caused by Timers view
Example 8: Accessing and configuring the Serial Port view
Example 9: Accessing and configuring the A/D converter view
Example 10: Timer, port configuration and interrupt handling in the 'C' language view
Example 11: Using the PWM to create simple melodies - asm view
Example 12: Using the PWM to create simple melodies - 'C' download
Example 13: Selecting multiple melodies (activity diagram provided) - 'C' download
Example 14: Using the A/D converter - 'C' download
Example 15: USB communication - 'C' download
Example 16: Human Interface Device (Mouse) - 'C' download

 

Development boards and programs:

Development board package for PIC18F4455 download
8-LED + 7segments board schematics download
Programmer for the PIC16F84 view
PIC16F84 Programmer JDM/LUDIPIP view
Microchip MPLAB development environment goto page
Microchip 'C' compiler for MPLAB goto page
IC-Prog Programmer official download page view
Required file for the 'C' compiler (when bootloader is used): c018i.o download
Required file for the 'C' compiler (when bootloader is used): 18f4455.lkr download
Orcad board download

 

Data sheets, useful links and documents:

Data sheet for PIC18F4455 download
Data sheet for PIC16F84 download
Data sheet for PIC16F628 download

 

Here are some images with the components we are working with in the LAB: