Question: Develop PIC Assembly language based off of the flow chart. Provide answers to the following questions: 1. How to access SFR in Banklin the PIC16F84A
Provide answers to the following questions: 1. How to access SFR in Banklin the PIC16F84A 2. Write instruction to set pin 0, l,2 of PORTA as input pins and pins 3,4 of PORTA as output pins. 3. Write a subroutine called SETPORT that set the pins of PORTA according to 2 and PORTB as output port. 4. Draw a flowchart for continuously monitoring pin 0 of PORTA. If RA0 1, then continue next task, otherwise, keep reading RA0. 5. Draw a flowchart to implement the following table: RA2 RA1 PORTB 00 01 10 6. Draw a flowchart to implement tasks in 3, 4, and 5 as one system. Procedure 1. Develop PIC assembly language program for task 6 in pre- lab 2. Use MPLAB to run your program 3. Use Watch", "Stimulus', and Animate' simulation tools in MPLAB to verify your program. Provide answers to the following questions: 1. How to access SFR in Banklin the PIC16F84A 2. Write instruction to set pin 0, l,2 of PORTA as input pins and pins 3,4 of PORTA as output pins. 3. Write a subroutine called SETPORT that set the pins of PORTA according to 2 and PORTB as output port. 4. Draw a flowchart for continuously monitoring pin 0 of PORTA. If RA0 1, then continue next task, otherwise, keep reading RA0. 5. Draw a flowchart to implement the following table: RA2 RA1 PORTB 00 01 10 6. Draw a flowchart to implement tasks in 3, 4, and 5 as one system. Procedure 1. Develop PIC assembly language program for task 6 in pre- lab 2. Use MPLAB to run your program 3. Use Watch", "Stimulus', and Animate' simulation tools in MPLAB to verify your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
