TRISB register - Return lines to be inputs & outputs

Q.  What value of 'B' should be loaded in the TRISB register if return lines (RB7:RB4) and RB3:RB0 are supposed to be inputs and outputs respectively after the PORT B initialization?
- Published on 12 Nov 15

a. 11000100
b. 11110011
c. 11110001
d. 11110000

ANSWER: 11110000

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)