Microprocessor Lab Viva Questions With Answers
Microprocessor Lab Viva Questions With Answers
1.What is a Microprocessor?
Microprocessor is a CPU fabricated on a single chip, program-controlled device, which fetches the
instructions from memory, decodes and executes the instructions.
3. What is Bandwidth ?
The number of bits processed by the processor in a single instruction.
37.What is an Interrupts
Def:- An interrupt operation suspends execution of a program so that the system can take special
action.The interrupt routine executes and normally returns control to the interrupted procedure, which
then resumes execution.BIOS handles Int 00H-1FH, whereas DOS handles INT 20H-3FH.
38. What is an Opcode?
A: -The part of the instruction that specifies the operation to be performed is called the Operation code or
Op code.
39.What is an Operand?
A: -The data on which the operation is to be performed is called as an Operand.
43.What is an Instruction?
A:-An instruction is a binary pattern enetered through an input device to command the microprocessor
to perform that specific function.
45.What is Assembler?
A:-The assembler translates the assembly language program text which is given as input to the assembler
to their binary equivalents known as object code.
The time required to translate the assembly code to object code is called access time. The assembler
checks for syntax errors &displays them before giving the object code.
46.Define Variable?
A:-A Variable is an identifier that is associated with the first byte of data item.
47.Explain Dup?
A:-The DUP directive can be used to initialize several location & to assign values to these locations.
48.Define Pipelining?
A:-In 8086, to speed up the execution program, the instructions fetching and execution of instructions are
overlapped each other. this is known as Pipelining.
73. How clock signal is generated in 8086? What is the maximum internal clock frequency of 8086?
The 8086 does not have on-chip clock generation circuit. Hence the clock generator chip, 8284 is
connected to the CLK pin of8086. The clock signal supplied by 8284 is divided by three for internal use.
The maximum internal clock frequency of8086 is 5MHz.
74.Write the special functions carried by the general purpose registers of 8086.
The special functions carried by the registers of 8086 are the following.
Register Special function
1. AX 16-bit Accumulator
2. AL 8-bit Accumulator
3. BX Base Register
4. CX Count Register
5. DX. Data Register
78.Define T-State.
T-State is defined as one subdivision of the operation performed in
one clock period. These subdivisions are internal states synchronized with the system clock, and each T-
State is precisely equal to one clock period.
85.What is DMA?
The direct data transfer between I/O device and memory is called DMA.
87.What is a port?
The port is a buffered I/O, which is used to hold the data transmitted from the microprocessor to I/O
device or vice-versa.
88.Give some examples of port devices used in 8085 microprocessor based system?
The various INTEL I/O port devices used in 8085 microprocessor based system are 8212, 8155, 8156,
8255, 8355 and 8755.
100.What operation is performed during first T -state of every machine cycle in 8085 ?
In 8085, during the first T -state of every machine cycle the low byte address is latched into an external
latch using ALE signal.
102.How the 8085 processor differentiates a memory access (read/write) and 1/0 access (read/write)?
The memory access and 1/0 access is differentiated using 10 I M signal.
The 8085 processor asserts 10 I M low for memory read/write operation and 10 I M is asserted high for
1/0 read/write operation.
110.What is Polling?
Polling is a scheme or an algorithm to identify the devices interrupting the processor. Polling is employed
when multiple devices interrupt the processor through one interrupt pin of the processor.
121.What is USART?
The device which can be programmed to perform Synchronous or Asynchronous serial communication is
called USART (Universal Synchronous Asynchronous Receiver Transmitter). The INTEL 8251A is an
example of USART.
123.What is an Interrupt?
Interrupt is a signal send by an external device to the processor so as to request the processor to perform
a particular task or work.
124.What are the control words of 8251A and what are its functions ?
The control words of 8251A are Mode word and Command word. The mode word informs 8251 about the
baud rate, character length, parity and stop bits. The command word can be send to enable the data
transmission and reception.
125.What are the information that can be obtained from the status word of 8251 ?
The status word can be read by the CPU to check the readiness of the transmitter or receiver and to
check the character synchronization in synchronous reception. It also provides information regarding
various errors in the data received. The various error conditions that can be checked from the status
word are parity error, overrun error and framing error.