DEPARTMENT OF ELECTRICAL AND
ELECTRONICS ENGG
QUESTION BANK
SUB NAME: MICROPROCESSOR &
MICROCONTROLLER
Part A Questions with Answers & Part B Questions
UNIT-1 8085 MICROPROCESSOR
TWO MARKS
1 . What is microprocessor? Give the power supply &clock freqency of 8085
A microprocessor is a multipurpose, programmable logic device that reads binary instructions from a storage device called memory accepts binary data. As input and processes data according to those instructions and provides result as output. The power of 8085 is +5v clock and freqency in 3MHZ.
2 . List few applications of microprocessor-based system.
It is used: i)For measurements, display and control of current, voltage, Temperature, pressure, etc. ii)For traffic control and industrial tool control. iii)For speed control of machines.
3 . What are the funtions of an accumalator?
The accumalator is the register associated with the ALU operations and sometimes I/O operations. It is an integral part of ALU. It holds one of data to be processed by ALU. It also temporarily stores the result of the operation performed by the ALU.
4 . List the 16 – bit registers of 8085 microprossor.
Stack pointer (sp) and program counter(pc).
5 . List the allowed register pairs of 8085.
B-C register pair D- C register pair H-L register pair.
6 . Mention the purpose of SID and SOD lines
SID(serial input data line): It is an input line through which the microprocessor accepts serial data. SOD(serial output data line): It is an output line through which the microprocessor sends output serial data.
7 . What is an opcode?
The part of the instruction that specifies the operation to be performed is called the operation code or opcode.
8 . What is the funtion of IO/M signal in the 8085?
It is a status signal. It is used to differentiate between memory locations and I/O operations when this signal is low (IO/M=0) it denotes the memory related operations.when signal this is high(IO/M=1)it denotes an I/O operation
9 . What is an operand?
The data on which the operation is to be performed is called as an operand.
1 0. How many address lines in a 4096*8 EPROM CHIP?
12 Address lines.
1 1. Control signals used for DMA operation are
HOLD and HLDA
1 2. What is meant by wait state?
This state is used by slow peripheral devices.the peripheral devices can transfer the data to or from the microprocessor by using READY input line.the microprocessor remains in the wait state as long as READY line is low.during the wait state,the contents of the address,address/data and control buses are held constant.
1 3. What is meant by polling?
Polling or device polling is a process which identifies the device that has interrupted the microprocessor.
1 4. What is meant by interrupt?
Interrupt is an external signal that causes a microprocessor to jump to a specific subroutine.
1 5. Explain priority interrupts of 8085?
The 8085 microprocessor has five interrupt inputs.they are TRAP,RST 7.5,RST 6.5,RST 5 . 5 ,and INTR.these interrupts have a fixed priority of interrupt service.If two or more interrupts go high at the same time,the 8085 will service them on priority basis.the TRAP has the priority highest followed by RST7.5,RST6.5,RST5.5.the priority of interrupts in 8085 is shown in the table.
Interrupts priority TRAP 1 RST7.5 2 RST6.5 3 RST5.5 4 INTR 5
1 6. What is a microcomputer?
A computer that is designed using a microprocessor as its CPU is called microcomputer.
1 7. What is the signal classification of 8085?
All the signals of 8085 can be classified into 6 groups 1 . Address bus 2 . Data bus 3 . Control and status signals 4. Power supply and frequency signals 5 . Externally intiated signals 6. Serial I/O ports
1 8. What are operations performed on data in 8085?
The various operations performed are 1. Store 8-bit data 2. Perform arithmetic and logical operations 3. Test for conditions 4. Sequence the execution of instructions 5. Store data temporarily during execution in the defined R/W 6. Memory locations called the stack
1 9. Steps involved to fetch a byte in 8085?
i)the pc places the 16-bit memory address on the address bus ii)the control unit sends the control signal RD to enable the mamory chip iii)the byte from the memory location is placed on the data bus iv)the byte is placed in the instruction decoder of the microprocessor and the task is carried out according to the instruction. 2 0. How many interrupts does 8085 have mention them
The 8085 has 5 interrupt signals they have INTR,RST7.5,RST6.5,RST5.5 and TRAP
2 1. Basic concepts in the memory interfacing?
The primary function of memory interfacing is that the microprocessor should be able to read from and write into a given register of a memory chip.to perform these operations the microprocessor should, 1 . Be able to select the chip 2. Identify the register 3.Enable the appropriate buffer
2 2. Define instruction cycle,machine cycle and T-state?
Instruction cycle is defined as the time required completing the execution of an instruction. Machine cycle is defined as the time required completing one operation of accessing or memory,I/O acknowledging an external request.T –cycle is defined as one subdivision of the performed operation in one clock period.
2 3. What is the use of ALE?
The ALE is used to latch the lower order address so that it can be available in T2 and T3 and used for identifying the memory address.during T1 the ALE goes high,the latch is transparent ie, the output changes according to the input data,so the output of the latch is the lower order address.when ALE goes low,the lower order address is latched until the next ALE.