Know:
How to set up breadboard
How to set up a project
What are coments ";"
How to use; bsf, bcf, goto, lables, portABC,
Assignment:
Make a program that turns on 1 pin
Make a program that turns on all pins
Make a program that turns off all pins
Fix the coments at top (chip diagram)
Add a desription
Add student's name
; -comments are the part of your code the computer ignores, you add them to help make you code more understandable
bsf f,b -Bit Set File- f= file register,b=bit:This instruction turns ON bit 'b' of file register 'f'
bcf f,b -Bit Clear File- f= file register,b=bit:This instruction turns OFF bit 'b' of file register 'f'
goto L -tells the program to jump to label 'L'
labels are place makers in your code
PORTA -is the file register directly connected to input/output pins RA0-RA5
PORTB -is the file register directly connected to input/output pins RB4-RB7
PORTC -is the file register directly connected to input/output pins RC0-RC7