Question: All questions reference the PIC16F84. 1. What value must be placed in the TRISB register in order to configure bits 1 and 7 of Port

 All questions reference the PIC16F84. 1. What value must be placed

All questions reference the PIC16F84. 1. What value must be placed in the TRISB register in order to configure bits 1 and 7 of Port B as inputs and the rest of the bits as outputs? (Circle the letter of the correct answer.) a) h'17' b) h 28 c) h'82' a h71 2. Which of the following statements about subroutines are true? (Circle the letters of all statements that are true.) a) All subroutines must be placed at the beginning of a program listing. (b) The name of a subroutine appears in a label on the first line of its code. c) Subroutines terminate with the END instruction, which returns execution to the main program. d) Subroutines can be "nested up to eight levels. e) Subroutines are invoked (executed) using a CALL statement in the main program. 3. Which of the following statements about the input/output ports are true? (Circle the letters of all statements that are true.) a) Port A includes five bits (lines) that can be individually configured as inputs or outputs. (b) Port B includes CMOS totem-pole outputs. c) Port A includes one Schmitt trigger input. d) Port B includes eight bits with selectable, built-in pull-up resistors

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!