5. Draw a well labeled diagram of the PIC microcontroller architecture. [30] 6. Supposed you want use pins of B as inputs and those of Port A as outputs. Explain how you would achieve that (10) 7. For a PIC16F877A Microcontroller to work, a crystal oscillator must be connected between pins 13 and 14. What is the frequency range in which PIC16F877A can operate? [10] 8. Supposed you are programming an alarm system that has 4 zone motion sensors which should Interrupte e low of the programmet