MPMC Objective Question Bank
MPMC Objective Question Bank
A. 512 KB
B. 1 MB
C. 2 MB
D. 256 KB
4. 8086 has ___ address bus.
A. 16-bit
B. 18-bit
C. 20-bit
D. 24-bit
5. Which flag is set to 1 when the result of arithmetic or logical operation is zero else it
is set to 0?
A. Binary bit
B. Zero flag
C. Sign flag
D. Overflow flag
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
6. Which flag represents the result when the system capacity is exceeded?
A. Carry flag
B. Auxiliary flag
C. Trap flag
D. Overflow flag
7. ___ is an edge triggered input, which causes an interrupt request to the
microprocessor.
A. NMI
B. INTR
C. INTA
D. ALE
8. ________ signal is used to write the data into the memory or the output device
depending on the status of M/IO signal.
A. IR
B. HLDA
C. HR
D. WR
9. ________ signal is used to read the data into the memory or the output device
depending on the status of M/IO signal.
A. RD
B. HLDA
C. INTR
D. WR
1. A 2. D 3. B 4. C 5. C 6. D 7. B 8. D 9. A
10.A 11. A 12. B 13. C 14. B 15. A 16. A 17. B 18. A
19. B 20. B 21.D 22. A 23. B 24. C 25. A
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
6. If the data is present in a register and it is referred using the particular register, then it is
A. direct addressing mode
B. register addressing mode
C. indexed addressing mode
D. immediate addressing mode
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
9. 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 subtracts 1 from the contents of the specified register/memory location
is
A. INC
B. SUBB
C. SUB
D. DEC
11. The flag that acts as Borrow flag in the instruction, SBB is
A. direction flag
B. carry flag
C. parity flag
D. trap flag
12. The instruction, CMP to compare source and destination operands, it performs
A. addition
B. subtraction
C. division
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
D. multiplication
15. The ROR instruction rotates the contents of the destination operand to
A. left
B. right
C. left and then right
D. right and then left
16. The instruction that performs logical AND operation and the result of the operation is not
available is
A. AAA
B. AND
C. TEST
D. XOR
17. The instruction that is used as prefix to an instruction to execute it repeatedly until the CX
register becomes zero is
A. SCAS
B. REP
C. CMPS
D. STOS
18. The instructions that are used to call a subroutine from the main program and return to the
main program after execution of called function are
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
A. CALL, JMP
B. JMP, IRET
C. CALL, RET
D. JMP, RET
21. The directive used to inform the assembler, the names of the logical segments to be assumed
for different segments used in the program is
A. ASSUME
B. SEGMENT
C. SHORT
D. DB
22. The directive that updates the location counter to the next even address while executing a
series of instructions is
A. ODD
B. EVEN
C. DB
D. EQU
23. The labels or constants that can be used by any module in the program is possible when they
are declared as
A. PUBLIC
B. LOCAL
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
C. GLOBAL
D. Either PUBLIC or GLOBAL
24. The directive that directs the assembler to start the memory allotment for a particular
segment/block/code from the declared address is
A. OFFSET
B. LABEL
C. ORG
D. GROUP
Answer Key:
1. D 2. C 3. A 4. B 5. D
6.B 7. C 8. B 9.A 10. C
11. B 12.B 13. C 14.A 15.B
16.C 17. B 18. C 19. B 20. B
21. A 22. B 23. A 24. C 25. D
A. 8285A
B. 8241A
C. 8255A
D. 8251A
2. How many ports 8255A has?
A. 2
B. 3
C. 4
D. 5
3. Which port can be split into two parts?
A. PORT A
B. PORT B
C. PORT C
D. PORT D
4. All the functions of the ports of 8255 are achieved by programming the bits of an
internal register called
A. data bus control
B. read logic control
C. control word register
D. mode register
5. The data bus buffer is controlled by
A. control word register
B. read/write control logic
C. data bus
D. Address bus
6. The port that is used for the generation of handshake lines in mode 1 or mode 2 is
A. port A
B. port B
C. port C Lower
D. port C Upper
7. If A1=0, A0=1 then the input read cycle is performed from
A. EOC
B. I/P0-I/P7
C. SOC
D. OE
12. Which of the following is not a mode of data transmission?
A. simplex
B. duplex
C. semi duplex
D. half duplex
13. If the data is transmitted only in one direction over a single communication channel,
then it is of
A. simplex mode
B. duplex mode
C. semi duplex mode
D. half duplex mode
14. In 8251A, the pin that controls the rate at which the character is to be transmitted, is
A. TXC(active low)
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
B. TXC(active high)
C. TXD(active low)
D. RXC(active low)
15. The signal that may be used either to interrupt the CPU or polled by the CPU is
A. TXRDY(Transmitter ready)
B. RXRDY (Receiver ready output)
C. DSR(active low)
D. DTR(active low)
16. The time taken by the ADC from the active edge of SOC pulse till the active edge of
EOC signal is called:
A. Conversion over
B. Conversion delay
C. Conversion signal
D. Conversion error
17. 8251 contains _______bits control word register.
A. 8
B.16
C.24
D.32
18. ____________register must be initialized before any use of 8251.
A. Command word
B. Control word
C. Mode word
D. Format word
19. If the character length of L1 and L2 is 0 and 1 the number of bits is _____________
A.5
B.6
C.7
D.8
Answer Key:
1. C 2. B 3. C 4. C 5. B
6. D 7. D 8. A 9. B 10. A
11. D 12. C 13. A 14. A 15. B
16. B 17. A 18. A 19. A 20. C
21. A 22. D 23. A 24. A 25. B
2. Which data memory control and handle the operation of several peripherals by
assigning them in the category of special function registers?
A. Internal on-chip RAM
B. External off-chip RAM
C. External RAM
D. Flash memory
3. Why is the speed accessibility of external data memory slower than internal on-chip
RAM?
A. Due to multiplexing of lower order byte of address-data bus
B. Due to multiplexing of higher order byte of address-data bus
C. Due to demultiplexing of lower order byte of address-data bus
D. Due to demultiplexing of higher order byte of address-data bus
4. Which register usually store the output generated by ALU in several arithmetic and
logical operations?
A. Accumulator
B. Special Function Register
C. Timer Register
D. Stack Pointer
10. How are the bits of the register PSW affected if we select Bank2 of 8051?
A. PSW.5=0 and PSW.4=1
B. PSW.2=0 and PSW.3=1
C. PSW.3=1 and PSW.4=1
D. PSW.3=0 and PSW.4=1
11. If we push data onto the stack then the stack pointer
A. increases with every push
B. decreases with every push
C. increases & decreases with every push
D. decreases & increases with every push
12. On power up, the 8051 uses which RAM locations for register R0- R7
A. 00-2F
B. 00-07
C. 00-7F
D. 00-0F
13. How many bytes of bit addressable memory is present in 8051 based
microcontrollers?
A. 8 bytes
B. 32 bytes
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
C. 16 bytes
D. 128 bytes
14. It is possible to set the auxiliary carry flag while performing addition or subtraction
operations only when the carry exceeds _______
A. 1st bit
B. 2nd bit
C. 3rd bit
D. 4th bit
15. Which locations of 128 bytes on-chip additional RAM are generally reserved for
special functions?
A. 80H to 0FFH
B. 70H to 0FFH
C. 90H to 0FFH
D. 60H to 0FFH
16. Which commands are used for addressing the off-chip data and associated codes
respectively by data pointer?
A. MOVX & MOVC
B. MOVY & MOVB
C. MOVZ & MOVA
D. MOVC & MOVY
17. Which instruction find its utility in loading the data pointer with 16 bits immediate
data?
A. MOV
B. INC
C. DEC
D. ADDC
18. What is the maximum capability of addressing the off-chip data memory & off-chip
program memory in a data pointer?
A. 8K
B. 16K
C. 32K
D. 64K
19. Which among the below stated registers does not belong to the category of special
function registers?
A. TCON & TMOD
B. TH0 & TL0
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
C. P0 & P1
D. SP & PC
20. Where should the pin 19 (XTAL1), acting as an input of inverting amplifier as well as
part of an oscillator circuit, be connected under the application of external clock?
A. to XTAL2
B. to Vcc
C. to GND
D. to ALE
21. What is the required baud rate for an efficient operation of serial port devices in 8051
microcontroller?
A. 1200
B. 2400
C. 4800
D. 9600
22. Which among the below mentioned functions does not belong to the category of
alternate functions usually performed by Port 3 (Pins 10-17)?
A. External Interrupts
B. Internal Interrupts
C. Serial Ports
D. Read / Write Control signals
23. Which output control signal is activated after every six oscillator periods while
fetching the external program memory and almost remains high during internal
program execution?
A. ALE
B. PSEN
C. EA
D. XLAT
24. The upper 128 bytes of an internal data memory from 80H through FFH usually
represent _______.
A. general-purpose registers
B. special function registers
C. stack pointers
D. program counters
25. What is the bit addressing range of addressable individual bits over the on-chip
RAM?
A. 00H to FFH
B. 01H to 7FH
C. 00H to 7FH
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
D. 80H to FFH
Answer Key:
1. A 2. A 3.A 4. A 5. A
6. A 7. C 8. D 9. B 10. D
11. A 12. B 13. C 14. C 15. A
16. A 17. A 18.D 19. D 20. C
21. D 22. B 23. B 24. B 25. C
1. What is the divisional range of program memory for internal memory when
enable access pin is held high?
A. 0000H – 0FFFH
B. 0000H – 1000H
C. 0001H – 0FFFH
D. 0001H – 1FFFH
2. What is the divisional range of external memory portion when enable access
pin is held high (unity)?
A. 1000H – FFFFH
B. 0FFFH-FFFFH
C. 01FFH – FFFFH
D. 0001H – 1FFFH
3. Which special function register play a vital role in the timer/counter mode
selection process by allocating the bits in it?
A. TMOD
B. TCON
C. SCON
D. PCON
4. Which bit must be set in TCON register in order to start the ‘Timer 0’ while
operating in ‘Mode 0’?
A. TR0
B. TF0
Geethanjali College of Engineering and Technology
Department of Electronics and Communication Engineering
Microprocessors and Microcontrollers Objective Question Bank
C. IT0
D. IE0
Answer Key:
1.A 2. A 3. A 4. A 5. B
6. C 7. C 8. B 9. B 10. A
11. C 12. D 13. B 14. B 15. C
16. B 17. C 18. D 19. A 20. C
21. B 22.B 23. C 24. C 25. C
26. B