Microprocessor and Microcontroller MCQ 6
Microprocessor and Microcontroller MCQ 6
Microprocessor and Microcontroller MCQ 6
Date:07.06.20
MCQ
5. If a number of instructions are repeating through the main program, then to reduce the
length of the program, __________ is used.
a) procedure
b) subroutine
c) macro
d) none of the mentioned
8. The instruction, “INC” increases the contents of the specified register or memory location
by
a) 2
b) 0
c) 1
d) 3
10. The instruction that is used to convert the result of the addition of two packed BCD
numbers to a valid BCD number is
a) DAA
b) DAS
c) AAA
d) AAS
14. During the execution of an interrupt, the data pushed into the stack is the content of
a) IP
b) CS
c) PSW
d) All of the mentioned
20. The number of counters that are present in the programmable timer device 8254 is
a) 1
b) 2
c) 3
d) 4
21. The mode that is used to interrupt the processor by setting a suitable terminal count is
a) mode 0
b) mode 1
c) mode 2
d) mode 3
22. The generation of a square wave is possible in the mode
a) mode 1
b) mode 2
c) mode 3
d) mode 4
23. The registers that store the keyboard and display modes and operations programmed by
CPU are
a) I/O control and data buffers
b) Control and timing registers
c) Return buffers
d) Display address registers
27. The processor that asks for bus access or may itself fetch the instructions and execute
them is
a) microprocessor
b) coprocessor
c) independent processor
d) coprocessor and independent processor
31. he register that provides control and status information about counters is
a) IP
b) TMOD
c) TSCON
d) PCON
33. The address register for storing the 16-bit addresses can only be
a) stack pointer
b) data pointer
c) instruction register
d) accumulator
38. The number of priority levels that each interrupt of 8051 have is
a) 1
b) 2
c) 3
d) 4
39. Which of the following is not one of the SFR addresses of the ports of 8051?
a) 80H
b) 90H
c) A0H
d) NONE