Microprocessors Questions and Answers – Register Set of 8051

This set of Microprocessor Multiple Choice Questions & Answers (MCQs) focuses on “Register Set of 8051”.

1. Which of the following is an 8-bit register?
a) PSW(Program Status Word)
b) TCON(Timer Control Register)
c) Accumulator
d) All of the mentioned
View Answer

Answer: d
Explanation: The registers, PSW, TCON and Accumulator are 8-bit registers.

2. Which of the following register can be addressed as a byte?
a) P1
b) SCON
c) TMOD
d) TCON
View Answer

Answer: c
Explanation: The registers, TMOD, SP, TH0, TH1, TL0, TL1 are to be addressed as bytes.

3. Which of the following is bit-addressable register?
a) SBUF
b) PCON
c) TMOD
d) SCON
View Answer

Answer: d
Explanation: The registers, accumulator, PSW, B, P0, P1, P2, P3, IP, IE, TCON and SCON are all bit-addressable registers.
advertisement
advertisement

4. The higher and lower bytes of a 16-bit register DPTR are represented respectively as
a) LDPTR and HDPTR
b) DPTRL and DPTRH
c) DPH and DPL
d) HDP and LDP
View Answer

Answer: c
Explanation: The registers, DPH and DPL are the higher and lower bytes of a 16-bit register DPTR.

5. The register that is used for accessing external data memory is
a) DPH
b) DPL
c) DPTR
d) NONE
View Answer

Answer: c
Explanation: The Data Pointer(DPTR) is used for accessing external data memory which means that it includes both DPH and DPL.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. Among the four groups of register banks, the number of groups that can be accessed at a time is
a) 1
b) 2
c) 3
d) all the four
View Answer

Answer: a
Explanation: At a time, only one of the four register banks can be accessed.

7. The number of 8-bit registers that a register bank contain is
a) 2
b) 4
c) 6
d) 8
View Answer

Answer: d
Explanation: The 32, 8-bit registers are divided into four groups of 8 registers each, called register banks.
advertisement

8. If RS1=1, RS0=0, then the register bank selected is
a) register bank 0
b) register bank 1
c) register bank 2
d) register bank 3
View Answer

Answer: c
Explanation: If RS1=1, RS0=0, then the register bank selected is register bank 2.

9. If RS1=1, RS0=1, then the register bank selected is
a) register bank 0
b) register bank 1
c) register bank 2
d) register bank 3
View Answer

Answer: d
Explanation: If RS1=1, RS0=1, then the register bank selected is register bank 3. If RS1=0, RS0=0, then selected bank is register bank 0.
advertisement

10. The PCON register consists of
a) power mode bit
b) power idle bit
c) power ideal bit
d) power down bit and idle bit
View Answer

Answer: d
Explanation: The power control register, PCON consists of power down bit and idle bit which activate the power down mode and idle mode in 80C51BH.

11. The on-chip oscillator is stopped in
a) power mode
b) power down mode
c) idle mode
d) ideal mode
View Answer

Answer: b
Explanation: In power down mode, the on-chip oscillator is stopped.

12. In idle mode, the device that is disabled is
a) serial port
b) timer block
c) clock to CPU
d) all of the mentioned
View Answer

Answer: c
Explanation: In idle mode, the oscillator continues to run and the interrupt, serial port and timer blocks are active but the clock to the CPU is disabled.

13. The only way to terminate the power down mode is to
a) CLEAR
b) RESET
c) HOLD
d) HLT
View Answer

Answer: b
Explanation: The only way to terminate the power down mode is hardware reset. The reset redefines all the SFRs but the RAM contents are left unchanged.

14. The idle mode can be terminated by
a) PRESET
b) CLEAR
c) Interrupt
d) Interrupt or reset
View Answer

Answer: d
Explanation: The idle mode can be terminated with a hardware interrupt or hardware reset signal.

Sanfoundry Global Education & Learning Series – Microprocessors.

Here’s the list of Best Books in Microprocessors.

To practice all areas of Microprocessors, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.