Interview Questions On Microprocessor
Interview Questions On Microprocessor
Interview Questions on
Microprocessor 8085
Ans. 8085 has Von Neumann architecture. It is named after the mathematician John Von
Neumann. It is based on the concept of stored program control. In this architecture both the data
and the program is stored in the same memory.
2) What is the function of accumulator?Interview Questions on Microprocessor 8085
Ans. Accumulator is an 8 bit register which stores data and performs arithmetic and logical
operations. The result of the operation is stored in the accumulator. It is designated by the letter
A.
3) What are the different types of flags in 8085 microprocessor?Interview Questions on
Microprocessor 8085
Ans. There are 5 different flags in 8085 microprocessor. Though the flag register is of 8 bit but 3
bits are not in use. Only 5 bits are used for the different flags. They are:a) Sign flag(s) This is designated by the letter S. If sign bit is 1 then the sign flag is set to 1
and if the sign bit is zero then sign flag is reset to zero.
b) Zero flag(z) This is designated by the letter z. If the result of any arithmetic or logical
operation is zero i.e. all the bits are zero then zero flag is set to 1 else it is set to zero.
c) Auxiliary carry (AC) This flag is set to 1 only when any intermediate carry is produced.
Else it is reset to 0.
d) Parity flag (P) when the result of any operation has odd number of ones then parity flag is
set to 1 else if it has even number of ones then it is reset to 0.
e) Carry flag(C) this flag is set to 1 only when a carry is produced in the result i.e. the carry bit
is 1 else if the carry bit is zero then the flag is reset to zero.
4) What are the types of general purpose registers in 8085?
Ans. There are 6 general purpose registers in 8085 microprocessor. They are designated by the
letters B, C, D, E, H, and L. These are 8 bit registers and are used to store data temporarily
during the execution of any program. These registers can also be used to store 16 bit data by
using them in pairs i.e. BC, DE and HL. These pairs cannot be changed as B cannot pair with any
other register other than C.
5) What is the length of stack pointer in 8085 microprocessor? And what is its use?
Interview Sample paper question answer on 8085 Microprocessor.
Ans. stack pointer is of 16 bits length and is used to point to the value at top of the stack for the
currently executed instruction.
6) What is the memory size of 8085 microprocessor? Placement Interview Sample paper
question answer on 8085 Microprocessor
Ans. 8085 has 8 data lines and 16 address lines. The memory size of any microprocessor depends
on the number of address lines. The general formula is 2^n, where n= number of address lines.
For 8085 there are 2^16= 64 Kbytes memory size.
7) How many bits is 8085 microprocessor? Sample Paper Interview question answer
Ans. Microprocessor is named on the basis of number of data lines in it. 8085 is a bit
microprocessor as it has 8 bit data lines.
8) What are the various interrupts in 8085 microprocessor? Which is the highest priority
interrupt? Important questions on Microprocessor 8085
There are 6 types of interrupts in 8085. They are
a) TRAP
b) RST 7.5
c) RST 6.5
d) RST 5.5
e) INTR
f) Interrupt acknowledgment (INTA(bar)).
TRAP has the highest priority among all the interrupts.
9) Which type of cycle is used for fetch and execute instruction? Sample Paper Interview
question answer
Ans. Instruction cycle is used for the fetch and execute instruction.
In this cycle the instruction is fetched, decoded and executed to produce the required output.
10) How many address lines are there in 8085 microprocessor? Sample Paper Interview
question answer
Ans. There are 16 address lines in 8085. They are multiplexed address and data lines. Address
bus of 8085 is of 16 bits. During the first machine cycle these address lines are used as data lines
and in the next machine cycle all the 16 lines act as address lines.
The multiplexed 8 address and data lines refer to lower order address bit and the rest 8 for higher
order address bits.
11) What is a Microprocessor?
Ans:- Microprocessor is a program-controlled device, that fetches the instructions from memory,
decode it & executes the instructions. Generally Microprocessor are single- chip devices.
12) Why crystal is being preferred as a clock source?
Ans:- Reasons-high stability, large Q (Quality Factor) & the frequency that doesnt drift with
aging. so crystal is used as a clock source most of the times.
13) Name High order / Low order Register in 8085 microprocessor?
Ans:-Flag is called Low order register & Accumulator is called High order Register in 8085
microprocessor.
14) Describe Tri-state logic?
Ans:- Three Logic Levels are used and they are known as High, Low, High impedance state. The
high and low are said to be normal logic levels where as high impedance state is electrical open
circuit conditions. Tri-state logic has a enable line as third line
15) What will happen if HLT instruction is executed in processor?
Ans:- The Micro Processor will enter into Halt-State and the buses will be tri-stated.
16) Which Stack is used in 8085?
Ans:- LIFO (Last In First Out) stack is used in 8085.In this type of Stack the information which
is stored last will be taken out or retrieved first.
17) Describe briefly Program counter?
Ans:- Program counter does either of the two things that is it holds the address of either the first
byte of the next instruction to be fetched for execution or the address of the next byte of a multi
byte instruction, which was not completely fetched. In both the cases it is incremented
automatically one by one as the instruction bytes will be fetched. Program register also keeps the
next instruction address.
18) Name the 1st / 2nd / 3rd / 4th generation processor?
Ans:-The processor are made of PMOS / NMOS / HMOS / HCMOS technology which is called
1st / 2nd / 3rd / 4th generation processor, and that is made up of 4 / 8 / 16 / 32 bits respectively.
19) Name the processor lines of two major manufacturers?
Ans:- The Processor lines names of two major manufacturers are as follows:- At High-end: Intel
Pentium (II, III, IV), AMD Athlon. At Low-end: Intel Celeron, AMD Duron. 64-bit: Intel
Itanium 2, AMD Opteron
20) Mention the speed and device maximum specs for Firewire?
Ans:-IEEE 1394 (Firewire) with speeds up to 400 Mbps can support the maximum of 63
connected devices
21) Wheres MBR located on the disk?
Ans:- The place where MBR is situated is in sector 0, track 0, head 0, cylinder 0 of the primary
active partition.
22) Where does CPU Enhanced mode originate from?
Ans:- Intels 80386 was the first 32-bit processor, and so the company had to backward-support
the 8086. All the modern Intel-based processors run in the enhanced mode which are capable to
switch in between real mode and protected mode, which is the current mode of operation.
23) What are the types of buses?
Ans:- Three types of buses are there:Address bus: It carries the Address to the memory to fetch either instruction..
Data bus : It carries data from the memory.
Control bus : It carries the control signals like RD/WR, Select etc.
24) What does EU do?
Ans:- Execution Unit receives both program instruction codes & data from Bus Interface Unit
and then executes these instructions and the result is being stored in registers.
25) Mention RST for the TRAP?
Ans:- SIM is Set Interrupt Mask. which is used to mask the hardware interrupts. RIM is Read
Interrupt Mask which is used to check whether the interrupt is masked or not.
38) Which is the tool which is used to connect the user and the computer?
Ans:- Interpreter
39) What is the position of the Stack Pointer after the PUSH instruction?
Ans:- The address line is 02 less than the earlier value.
40) What is the position of the Stack Pointer after the POP instruction?
Ans:- The address line is 02 greater than the earlier value.
These are some of the interview questions and answers on Microprocessor. If you want to add
some more, please mention in the comment section of the post.
Related posts:
1. Unix-Important Interview Questions
2. CS Interview Question & Answers
6. Which Stack is used in 8085? - LIFO (Last In First Out) stack is used in 8085.In this
type of Stack the last stored information can be retrieved first.
7. What happens when HLT instruction is executed in processor? - The Micro Processor
enters into Halt-State and the buses are tri-stated.
8. What is meant by a bus? - A bus is a group of conducting lines that carriers data,
address, & control signals.
9. What is Tri-state logic? - Three Logic Levels are used and they are High, Low, High
impedance state. The high and low are normal logic levels & high impedance state is
electrical open circuit conditions. Tri-state logic has a third line called enable line.
10. Give an example of one address microprocessor? - 8085 is a one address
microprocessor.
11. In what way interrupts are classified in 8085? - In 8085 the interrupts are classified as
Hardware and Software interrupts.
12. What are Hardware interrupts? - TRAP, RST7.5, RST6.5, RST5.5, INTR.
13. What are Software interrupts? - RST0, RST1, RST2, RST3, RST4, RST5, RST6,
RST7.
14. Which interrupt has the highest priority? - TRAP has the highest priority.
15. Name 5 different addressing modes? - Immediate, Direct, Register, Register indirect,
Implied addressing modes.
16. How many interrupts are there in 8085? - There are 12 interrupts in 8085.
17. What is clock frequency for 8085? - 3 MHz is the maximum clock frequency for 8085.
18. What is the RST for the TRAP? - RST 4.5 is called as TRAP.
19. In 8085 which is called as High order / Low order Register? - Flag is called as Low
order register & Accumulator is called as High order Register.
20. What are input & output devices? - Keyboards, Floppy disk are the examples of input
devices. Printer, LED / LCD display, CRT Monitor are the examples of output devices.
21. Can an RC circuit be used as clock source for 8085? - Yes, it can be used, if an
accurate clock frequency is not required. Also, the component cost is low compared to
LC or Crystal.
22. Why crystal is a preferred clock source? - Because of high stability, large Q (Quality
Factor) & the frequency that doesnt drift with aging. Crystal is used as a clock source
most of the times.
23. Which interrupt is not level-sensitive in 8085? - RST 7.5 is a raising edge-triggering
interrupt.
24. What does Quality factor mean? - The Quality factor is also defined, as Q. So it is a
number, which reflects the lossness of a circuit. Higher the Q, the lower are the losses.
25. What are level-triggering interrupt? - RST 6.5 & RST 5.5 are level-triggering
interrupts.