Data Memory (RFS) in PIC - MCQs with answers

Data Memory (RFS) in PIC - MCQs with answers


1. How many bits are utilized by the instruction of direct addressing mode in order to address the register files in PIC?

a. 2
b. 5
c. 7
d. 8

View Answer / Hide Answer

ANSWER: c. 7



2. Which registers are adopted by CPU and peripheral modules so as to control and handle the operation of device inhibited in RFS?

a. General Purpose Register
b. Special Purpose Register
c. Special Function Registers
d. All of the above

View Answer / Hide Answer

ANSWER: c. Special Function Registers



3. Which among the below specified registors are addressable only from bank1 of RFS ?

a. PORTA (05H)
b. PORTB (06H)
c. FSR(04H)
d. ADCON0 (07H)

View Answer / Hide Answer

ANSWER: a. PORTA (05H)



4. Which register acts as an input-output control as well as data direction register for PORTA in bank 2 of RFS ?

a. INDF (80H)
b. TRISB (85H)
c. TRISA (85H)
d. PCLATH (8A)

View Answer / Hide Answer

ANSWER: c. TRISA (85H)



5. Which bank of RFS has a provision of addressing the status register ?

a. Only Bank 1
b. Only Bank 2
c. Either Bank 1 or Bank 2
d. Neither Bank 1 nor Bank 2

View Answer / Hide Answer

ANSWER: c. Either Bank 1 or Bank 2


Post your comment