This project expains how LED lights using PIC16F73 using assembly language , with source code
Video link: https://www.youtube.com/watch?v=GBTNc_8IBxQ&t=11s
;====================================================================
; Created: Wed Apr 2 2014
; Processor: PIC16F84A
; Compiler:
;====================================================================
;====================================================================
; DEFINITIONS
;====================================================================
#include p16f84a.inc ; Include register definition file
;====================================================================
; VARIABLES
;====================================================================
;====================================================================
; RESET and INTERRUPT VECTORS
;====================================================================
;====================================================================
; CODE SEGMENT
;====================================================================
PGM code
Start
movlw B'0000000'
tris PORTB
movlw B'11110011'
movwf PORTB
Loop
goto Loop
;====================================================================
END
https://www.youtube.com/watch?v=GBTNc_8IBxQ&t=11s
ReplyDeleteyoutube video of this project