Question

1) Please answer FULL question (A-D) multiple choice. Double check answer and work to ensure it...

1) Please answer FULL question (A-D) multiple choice. Double check answer and work to ensure it is correct for thumbs up.

A) If TRISB = 0xFFF8, which pins are set as output?

a) RB15, RB14, RB13

b) RB0, RB1, RB2

c) All pins except RB15,RB14, RB13

d) All pins except RB0,RB1, RB2

B) If you are writing to a set of I/O pins on RB0-RB15, should you write to PORTB or LATB?

a) PORTB

b) it doesn't matter they'll both work

c) LATB

C) What is the size of the 16 working registers (in number of bits) used in the PIC24FJ64GA002?

a)24

b) 16

c) 32

d) 8

D) How many cycles delay will the following code introduce when called?

wait_cycles:

nop

repeat #1

nop

nop

return

What is the correct integer number?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A)

TRISB is the PORTB data direction register whose pin congiguration is like

TRISB = (15:0), means the first bit is for 16th pin and last bit is for 1st pin.

In TRISB register if there is

1 = it means pin is set as input

0 = pin set to output

So in above problem

TRISB = 1111 1111 1111 1000

So here the first 3 pins are declared as output and all other as input

So RB0, RB1, RB2 are output

So B option is correct

B)

LATB is the register which is used to write data on the pins of the controller, whereas PORTB register is used to declare as whether pin will work as input or output.

So LATB is the answer

So option C is correct

C)

In the controller working registers are called as data registers and there are 16 in number is this micro controller.

So each register has a built in range of 0-15 means each register is of 16 bit ranging from 0:15.

So working registers are of 16 bits

So option B is correct

Add a comment
Know the answer?
Add Answer to:
1) Please answer FULL question (A-D) multiple choice. Double check answer and work to ensure it...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • please pick one of the multiple choice options above. show all work, thank you Question 9...

    please pick one of the multiple choice options above. show all work, thank you Question 9 CIRCUIT X/FIG.9 (5 Marks) Statement: Consider the RC-coupled amplifier circuit illustrated in Fig. 9 (CIRCUIT X). Sketching relevant output (Vc-Ic) characteristics that decide Q-point coordinates and DC load-line details (of the NPN-BJT/Si circuit of Fig. 9 of Circuit X) Further, establish an appropriate AC-load line and decide the maximum swing of the output voltage across Rload with respect to the Q-point. Assume the input...

  • Please answer full question thoroughly (A & B) showing detailed work. Double check answer and work...

    Please answer full question thoroughly (A & B) showing detailed work. Double check answer and work to ensure it is correct for thumbs up Part A Part B Consider the following circuit of five resistors connected to a DC power supply set to 1.0V R1 R2 R3 V1 U 1V R4 R5 R1 0.05 ohms, R2 0.2 ohms, R3 99 ohms and R5 0.15 ohms. The voltage drop across R4 is 6 mV. Answer the following: What is the current...

  • 9) Please answer full question thoroughly (including subsets) showing detailed work. Double check answer and work...

    9) Please answer full question thoroughly (including subsets) showing detailed work. Double check answer and work to ensure it is correct for thumbs up. A) Think about the stoplights you have seen. In this case, we are designing a simple four-way stoplight with the values shown in the first two columns of the truth table. it is your job using what you know about digital logic (and the meanings of the ones and zeros, using the positive logic convention) to...

  • Please answer full question thoroughly (A, B & C) showing detailed work. Double check answer and...

    Please answer full question thoroughly (A, B & C) showing detailed work. Double check answer and work to ensure it is correct for thumbs up. 1) Assume the voltage source delivers a 50-Hz sinusoidal signal. Using the oscilloscope, the voltage (t) was as shown in the figure. ​​​​​​​ PUR(t) Vi sin(27 fot) v it T UD T-lt V2X SUR Exam -30 -20 -10 0 10 20 30 40 50 60 t (ms) (a) Explain the shape of the voltage waveform...

  • 1) Please answer full question (a-c) showing work. Ensure answer is correct for thumbs up. a)...

    1) Please answer full question (a-c) showing work. Ensure answer is correct for thumbs up. a) If the FFT of an 1000-Hz square wave was measured to be approximately -1.8 dBV. What is the corresponding rms value? b) The third harmonic of the square wave was measured to be approximately -11.34 dBV. What is the corresponding rms value? c) The output voltage across an 8-Ω speaker was measured as 1-kHz sinusoidal signal with peak amplitude 7 Vp. Calculate the value...

  • Please answer the multiple choice questions, no work needed MULTIPLE CHOICE PLEASE CIRCLE YOUR ANSWER DONor...

    Please answer the multiple choice questions, no work needed MULTIPLE CHOICE PLEASE CIRCLE YOUR ANSWER DONor wRITE YOUR ANSWER IN THE MARGIN On January 1,2015, the Accounts Receivable of Linda Company had a debit balance of 51 January, the company provided services for $600,.000 on account. The company collected $230,000 tr t. $150.000 Daring customers on account in January. What was the ending balance in the Accounts Receivable of January?o A. $370,000 debit B $7,000 debit C. $520,000 debit D....

  • Or multiple choice questions, please show all work for part marks. Correct answers will get full ...

    or multiple choice questions, please show all work for part marks. Correct answers will get full marks, incorrect choices will get part marks for any g crossing off incorrect answers, providled the correct answer is not crossed off. Please choose only one correct answer pes qveition 1. An electrie dipole moving at constant velocity in s consiant electric fie (a) Must move parallel to the electric field. (b) Will rotate until its dipole moment is parallel to the electric f...

  • Please answer me as soon as possible Quiz Question 1 (1 point) Saved What metric is...

    Please answer me as soon as possible Quiz Question 1 (1 point) Saved What metric is used to measure bandwidth? Question 1 options: a. msec b. bit/sec c. bytes d. number of packets/sec Question 2 (1 point) Saved Ethernet is one of access network technologies. Question 2 options: True False Question 3 (1 point) Saved Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two hosts are separated by m meters,...

  • need help for solve multiple choice question... 1.The employee summary report option shows Select one: a....

    need help for solve multiple choice question... 1.The employee summary report option shows Select one: a. earnings and deductions from a paycheque b. all information entered in employee records c. wage or salary amounts d. all year-to-date totals 2.In the process of correcting a wrong employee error all but one is used – Select one: a. prepare a new entry for the correct employee b. one should remember to recalculate the taxes c. open the adjust cheque window for the...

  • I can answer the multiple choice, I just need help with the fill ins. Question 1...

    I can answer the multiple choice, I just need help with the fill ins. Question 1 (1 Point) This assignment is set up for sequential assessment. Complete each question and submit the answer before moving on to the next question. Correct answers for each question will be made available once the maximum number of attempts have been made for each submission. Nuclear Physics - Nuclear Structure Nuclear Structure Z O Proton r=ro41/3 radius N Neutron A = Z+N A ro...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT