Created
June 28, 2020 02:05
-
-
Save sficarro/5ffcbd29015d7ba65b7c0a8b5bbb119d to your computer and use it in GitHub Desktop.
Hello world light LED in assembly on DEMO BOARD 18F45K20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include <p18F45K20.inc> | |
CONFIG FOSC = INTIO67 | |
CONFIG WDTEN = OFF, LVP = OFF | |
org 0 | |
Start: | |
CLRF PORTD | |
MOVLW b'00000000' | |
MOVWF TRISD | |
BSF LATD,7 | |
BSF LATD,5 | |
BSF LATD,3 | |
BSF LATD,0 | |
GOTO $ | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment