8085 MCQ
8085 MCQ
8085 MCQ
A. IBM
B. Dell
C. Intel
D. VAX
Ans : C
A. 16KB
B. 32KB
C. 64KB
D. 128KB
Ans : C
Explanation: In 8085, 16-bit address bus, which can address upto 64KB.
3. There are _______ general purpose registers in 8085 processor
A. 5
B. 6
C. 7
D. 8
Ans : B
Explanation: There are 6 general purpose registers in 8085 processor, i.e. B, C, D, E, H & L. Each register
can hold 8-bit data.
4. It is also a 16-bit register works like stack, which is always incremented/decremented by 2 during push
& pop operations.
A. Stack pointer
B. Temporary register
C. Flag register
D. Program counter
Ans : A
Explanation: Stack pointer : It is also a 16-bit register works like stack, which is always
incremented/decremented by 2 during push & pop operations.
5. Flag register is an 8-bit register having __________ 1-bit flip-flops.
A. 3
B. 4
C. 5
D. 6
Ans : C
Explanation: These are the set of 5 flip-flops : Sign (S), Zero (Z), Auxiliary Carry (AC), Parity (P) and
Carry (C)
6. What is true about Program counter?
A. It is an 8-bit register, which holds the temporary data of arithmetic and logical operations.
B. When an instruction is fetched from memory then it is stored in the program counter
C. It provides timing and control signal to the microprocessor
D. It is a 16-bit register used to store the memory address location of the next instruction to be
executed.
Ans : D
Explanation: Program counter : It is a 16-bit register used to store the memory address location of the
next instruction to be executed.
7. This signal indicates that another master is requesting the use of the address and data buses.
A. READY
B. HOLD
C. HLDA
D. INTA
Ans : B
Explanation: HOLD : This signal indicates that another master is requesting the use of the address and
data buses.
8. This signal is used as the system clock for devices connected with the microprocessor.
A. X1, X2
B. CLK OUT
C. CLK IN
D. IO/M
Ans : B
Explanation: CLK OUT : This signal is used as the system clock for devices connected with the
microprocessor.
9. Which of the following is true about Control and status signals?
A. These signals are used to identify the nature of operation.
B. There are 3 control signal and 3 status signals.
C. Three status signals are IO/M, S0 & S1.
D. All of the above
Ans : D
Explanation: All of the above are correct about Control and status signals.
10. MVI K, 20F is an example of?
Ans : A
Explanation: Immediate addressing mode : In this mode, the 8/16-bit data is specified in the instruction
itself as one of its operand. For example: MVI K, 20F: means 20F is copied into register K.
11) An instruction essentially consists of an
a) Operation code
b) Address of the data
c) Instruction operates
d) None of the above.
13) The registers available to the user can be further classified into:-
a) General purpose register
b) Special-purpose register
c) None of these
d) All of the above.
14) In the 8085A microprocessor, the data size is 8-bit and the address size is 16-bit.
a) B-C pair
b) D-E pair
c) H-L pair
d) All of the above.
17) An instruction cycle can be defined as the sum of an instruction fetch time and the instruction
execution time.
a) Instruction cycle=Instruction fetch + Instruction execute.
b) Memory location and deposited in the CPU’s
c) Both of these
d) None of the above.
19) The single IC which consists of ALU, control section, and register section is called___.
A) Microprocessor
B) Microcontroller
C) Register
D) Computer
20) A system bus which carries, only the control and timing signals then it is called as ____
A) Address bus
B) Data bus
C) Control bus
D) None of the above
Answer: d
Explanation: The 8051 instructions are categorized as
1. Data transfer instructions
2. Arithmetic instructions
3. Logical instructions
4. Boolean instructions
5. Control transfer instructions.
Answer: d
Explanation: The data transfer instructions implement a bit, byte, 16-bit data transfer operations between
the SRC(source) and DST(destination) operands.
Answer: c
Explanation: In data transfer instructions,
1. Program counter is not accessible.
2. Restricted bit-transfer operations are allowed.
3. Both operands can be direct/indirect register operands.
4. BOth operands can be internal direct data memory operands.
4. The logical instruction that affects the carry flag during its execution is
a) XRL A;
b) ANL A;
c) ORL A;
d) RLC A;
View Answer
Answer: d
Explanation: The logical instructions that doesn’t affect the carry flag are, ANL, ORL and XRL. The
logical instructions that affect the carry flag during its execution are RL, RLC, RRC and RR.
5. The instruction that is used to complement or invert the bit of a bit addressable SFR is
a) CLR C
b) CPL C
c) CPL Bit
d) ANL Bit
View Answer
Answer: c
Explanation: The instruction, CPL Bit is used to complement or invert the bit of a bit addressable SFR or
RAM.
Answer: c
Explanation: The control transfer instructions transfer the control of execution or change the sequence of
execution conditionally or unconditionally.
Answer: b
Explanation: The control transfer instructions are divided into conditional and unconditional control
transfer instructions.
8. The conditional control transfer instructions check a bit condition which includes any bit of
a) bit addressable RAM
b) bit addressable SFRs
c) content of accumulator
d) all of the mentioned
View Answer
Answer: d
Explanation: The conditional control transfer instructions check a bit condition which includes any bit of
bit addressable RAM or bit addressable SFRs or content of accumulator for transferring the control to the
specified jump location.
Answer: c
Explanation: All conditional jumps are short jumps.
Answer: a
Explanation: The short jump instruction has two byte instruction. The first byte represents opcode byte
and second byte represents an 8-bit relative address.
Answer: d
Explanation: In logical instructions, the immediate data can’t be an operand for increment/decrement or
any other single operand instruction.
12. Assembler is a type of translator that translates ___ language into machine
level language.
A) High Level
B) Assembly level
C) Both A and B
D) None of the above
13.___ instructions are used in such cases when some instructions are needed to be executed number of
times to perform certain tasks.
A) Jump
B) Loop
C) Shift
D) Rotate
Answer: c
Explanation: The stack follows last-in-first-out sequence.
15. If the processor is executing the main program that calls a subroutine, then after executing the main
program up to the CALL instruction, the control will be transferred to
a) address of main program
b) subroutine address
c) address of CALL instruction
d) none of the mentioned
View Answer
Answer: b
Explanation: Since subroutine is called, to start the execution of the subroutine, the control is transferred
to the subroutine address.
Answer: d
Explanation: Stack is used for temporary storage of contents of registers and memory locations, status of
registers.
Answer: c
Explanation: The stack is accessed using a pointer that is implemented using SP and SS registers.
18. As the storing of data words onto the stack is increased, the stack pointer is
a) incremented by 1
b) decremented by 1
c) incremented by 2
d) decremented by 2
View Answer
Answer: d
Explanation: The data is stored from top address of the stack and is decremented by 2.
19. While retrieving data from the stack, the stack pointer is
a) incremented by 1
b) incremented by 2
c) decremented by 1
d) decremented by 2
View Answer
Answer: b
Explanation: The data in the stack, may again be transferred back from a stack to register. At that time,
the stack pointer is incremented by 2.
20. The process of storing the data in the stack is called ……… the stack.
a) pulling into
b) pulling out
c) pushing into
d) popping into
View Answer
Answer: c
Explanation: The data is pushed into the stack while loading the stack.
21. The reverse process of transferring the data back from the stack to the CPU register is known as
a) pulling out the stack
b) pushing out the stack
c) popping out the stack
d) popping off the stack
View Answer
Answer: d
Explanation: The data retrieved from stack is called popping off.
Answer. c
UNIT - III
4) _____ addressing mode is most suitable to change the normal sequence of execution of instructions.
a) Relative
b) Indirect
c) Index with Offset
d) Immediate
6) In ___ addressing mode the operands are specified in the instruction itself.
A) Immediate
B) Register
C) Direct
D) Indirect
7) How many T-states are required for execution of OUT 80H instruction?
A) 10
B) 13
C) 16
D) 7
8) Machine cycles in the “CALL” instruction of microprocessor 8085 CPU are
a. six
b. five
c. four
d. two
9) Machine cycles for IN instructions in microprocessor are
a. Eight
b. five
c. four
d. three
10) How many T-states would be required for the execution of CALL 2000 H instruction?
a. 10
b. 13
c. 18
d. None of these
11) Which one of the following is the software interrupt of 8085 ?
a. RST 7.5
b. EI
c. RST 1.0
d. TRAP
12) Which one has the highest priority out of these
a. TRAP
b. RST 7.5
c. RST 6.5
d. HOLD
13) Which one is hardware type interrupt?
a. INTA
b. TRAP
c. RST
d. INT
Answer – (2)
14. In 8085 microprocessor, which one is the non-maskable interrupt?
a. RST 7.5
b. TRAP
c. HOLD
d. INTR
Answer – (2)
15. Machine cycles in the “CALL” instruction of microprocessor 8085 CPU are
a. six
b. five
c. four
d. two
Answer – (2)
16. In 8085 Microprocessor, the interrupt TRAP is
a. Every time maskable
b. not interrupted by a service subroutine
c. Used for short-term power failure
d. Lowermost priority interrupt
Answer – (3)
17. RST 7.5 interrupt act as
a. Vectored and Maskable type
b. Vectored and non-maskable type
c. Direct and maskable type
d. Direct and non-maskable type
Answer – (1)
18. No of hardware interrupt request, a solitary interrupt- controller namely IC8259A could process?
a. Eight
b. Nine
c. Sixteen
d. Sixty four
Answer – (1)
19. The interrupt mask in the 8085 microprocessor is set or reset by the software instruction
a. By the EI interrupt
b. By the DI interrupt
c. By the RIM interrupt
d. By the SIM interrupt
Answer – (4)
20. For 8085, The vector address corresponding to software interrupt RST 7.0 is
a. 0017 Hex
b. 0027 Hex
c. 0038 Hex
d. 0700 Hex
Answer – (3)
UNIT – IV
1) The part of 8255 can be programmed for any other mode by writing a single control word into the
a) Port
b) Control Logic
c) Set/Reset
d) Register.
3) In 8255-PPI ___ mode is used as two simple 8 bit I/O ports and port C as two 4-bit I/O ports.
A) Mode 0
B) Mode 1
C) Mode 2
D) Mode 3
Explanation: Interface is the path for communication between two components. Interfacing is of
two types, memory interfacing and I/O interfacing.
5) The ______ is a general purpose programmable I/O device designed to transfer the data from
I/O to interrupt I/O.
A. 8285A
B. 8241A
C. 8255A
D. 8251A
Explanation: The 8255A is a general purpose programmable I/O device designed to transfer the
data from I/O to interrupt I/O
Explanation: 8255A has three ports, i.e., PORT A, PORT B, and PORT C.
Explanation: Port C can be split into two parts, i.e. PORT C lower (PC0-PC3) and PORT C
upper (PC7-PC4) by the control word.
8. Which of the following are Features of 8255A?
A. It consists of 3 8-bit IO ports i.e. PA, PB, and PC.
B. Address/data bus must be externally demux'd.
C. It is TTL compatible.
D. All of the above
9. Which of the following steps detects the key in a 4*4 keyboard matrix about the key that is
being pressed?
a) masking of bits
b) ensuring that initially, all keys are open
c) checking that whether the key is actually pressed or not
d) all of the mentioned
11. In reading the columns of a matrix, if no key is pressed we should get all in binary notation
a) 0
b) 1
c) F
d) 7
Answer: b
Explanation: For writing commands on an LCD, RS pin is reset.
15. Which instruction is used to select the first row first column of an LCD?
a) 0x08
b) 0x0c
c) 0x80
d) 0xc0
View Answer
Answer: c
Explanation: 0x80 is used to select the first row first column of an LCD.
Answer: a
Explanation: The RS pin is an input pin for an LCD.
Answer: a
Explanation: Speed of a stepper motor can be controlled by changing its switching speed or by changing
the length of the time delay loop.
Answer: c
Explanation: We can change the speed of a DC motor using PWM by changing the duty cycle of PWM.
Changing duty cycle means changing ON and OFF timing of PWM. Even if amplitude of PWM is fixed by
increasing the ON time of PWM increases the speed of the DC motor.
Answer: c
Explanation: The direction of the DC motor can be changed by changing the polarity of the voltages
connected to its leads.
UNIT – V
1. Why two pins for ground are available in ADC0804?
a) for controlling the ADCON0 and ADCON1 register of the controller
b) for controlling the analog and the digital pins of the controller
c) for both parts of the chip respectively
d) for isolate analog and digital signal
View Answer
Answer: d
Explanation: Two grounds are available in ADC0804 to isolate analog signal from digital signal. This
isolation provides accuracy in digital output.
2. What is the function of the WR pin?
a) its active high input used to inform ADC0804 to the end of conversion
b) its active low input used to inform ADC0804 to the end of conversion
c) its active low input used to inform ADC0804 to the start of conversion
d) its active high input used to inform ADC0804 to the start of conversion
View Answer
Answer: c
Explanation: WR is active low input used to inform the ADC0804 to start the conversion process.
3. State which of the following statements are false?
a) CLK IN pin used for External Clock Input or Internal Clock with external RC element
b) INTR pin tells about the end of the conversion
c) ADC0804 IC is an 8 bit parallel ADC in the family of the ADC0800 series
d) None of the mentioned
View Answer
Answer: d
Explanation: CLK IN pin is used to tell about the conversion time, INTR pin tells about the end of the
conversion and ADC0804 has a resolution of 8 bits only so all three statements are true.
4. While programming the ADC0808/0809 IC what steps are followed?
a) select the analog channel, start the conversion, monitor the conversion, display the digital results
b) select the analog channel, activate the ALE signal (L to H pulse), start the conversion, monitor the
conversion, read the digital results
c) select the analog channel, activate the ALE signal (H to L pulse), start the conversion, monitor the
conversion, read the digital results
d) select the channel, start the conversion, end the conversion
View Answer
Answer: b
Explanation: While programming the ADC0808/0809 IC firstly we need to select the channel from the A,
B, C pins. Then we need to activate the ALE signal, this is needed to latch the address. Then we start the
conversion from the WR pin. After monitoring the INTR pin we get to know about the end of the
conversion. Then we activate the OE enable to read out data out of the ADC chip.
5. In ADC0808/0809 IC which pin is used to select Step Size?
a) Vref
b) Vin
c) Vref/2 & Vin
d) None of the mentioned
View Answer
Answer: a
Explanation: Step Size is calculated by formula Vref/(2n). As ADC0808/0809 8-bit ADC value of n=8.
Therefore formula becomes Vref/(28) = Vref/256. If Vref = 5V then Step Size will be 5/256 i.e. 19.53mV.
6. What is the difference between ADC0804 and MAX1112?
a) ADC0804 has 8 bits and MAX1112 has 1 bit for data output
b) ADC0804 is used for adc and dac conversions whereas MAX1112 is used for serial data transmissions
c) ADC0804 has 32 bits and MAX1112 has 3 bit for data output
d) None of the mentioned
View Answer
Answer: a
Explanation: ADC0804 is used for parallel ADC and MAX1112 is used for serial ADC.
7. Which of the following statements are true about DAC0808?
a) parallel digital data to analog data conversion
b) it has current as an output
c) all of the mentioned
d) none of the mentioned
View Answer
Answer: a
Explanation: DAC0804 is used for parallel data to analog data conversion.
8. 8 input DAC has ________
a) 8 discrete voltage levels
b) 64 discrete voltage levels
c) 124 discrete voltage levels
d) 256 discrete voltage levels
View Answer
Answer: d
Explanation: For n input DAC has 2^n discrete voltage levels.
9. There are ___ types of seven segment displays
A) 4
B) 3
C) 2
D) 1
11. The various regulations imposed through the traffic control devices do not include
__________
a) Clear visibility
b) Easy recognition
c) Sufficient time for driver
d) Traffic population
View Answer
Answer: d
Explanation: The various regulations imposed through the traffic control devices do not
include as they are not related to control of traffic.
14. The total conflict points at a junction on both two way roads are?
a) One
b) Four
c) five
d) six
View Answer
Answer: d
Explanation: The total number of conflict points is the sum of major and minor conflict
points, major conflict points are 4 and minor conflict points are 2, so total conflict points are
six.