Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions