EE8551-Mpmc Two Marks
EE8551-Mpmc Two Marks
ANNE’S
COLLEGE OF ENGINEERING AND TECHNOLOGY
(An ISO 9001:2015 Certified Institution)
Anguchettypalayam, Panruti – 607106.
QUESTION BANK
PERIOD : July ‘19 – Dec 2019 BATCH : 2018– 2022
BRANCH: EEE YEAR/SEM: III/V
SUB CODE/NAME: EE8551- MICROPROCESSORS AND MICROCONTROLLERS
UNIT 1
8085 PROCESSOR
2. State any four pins of 8085 processor which are used to generate control and status
signals. [Nov/Dec-18]
Control and Status Signals:
Power Supply and Clock Frequency:
Interrupts and Peripheral Initiated Signals: ...
Reset Signals:
DMA Signals:
Serial I/O Ports
4. write the difference between standard I/O and memory mapped I/O [Apr/May-18]
The main difference between memory mapped IO and IO mapped IO is that the memory
mapped IO uses the same address space for both memory and IO device while the IO mapped
IO uses two separate address spaces for memory and IO device. Memory-mapped IO uses the
same address space to address both memory and I/O devices
5. What are the flags available in 8085 processor? List the 8085 flags. (Dec-2014, Dec-
2013,17)
Various flags are :
S (Sign flag), Z (Zero flag), AC (Auxiliary carry flag), P (Parity flag), CY (Carry flag).
6 . List the five interrupt pins available in 8085[may 2010] (OR) What are the interrupts
available in 8085? [Nov/Dec-17]
The five interrupt pins available in 8085 are
TRAP
RST 6.5
RST 5.5
INTR
7. How many machine cycles does 8085 have, mention them? OR What are the different
machine cycles in 8085 microprocessor? (May-2008) (or) List out the machine cycles
of 8085 microprocessor.[Apr/May-17]
The 8085 have seven machine cycles they are
Opcode fetch
Memory read
Memory write
I/O read
I/O write
Interrupt acknowledge
9. write an 8085 assembly program to add two digit BCD numbers in memory
locations 5000H and 5001H and store the result in memory location 5002H.
14. Specify the size of data, address, memory word and capacity of 8085
microprocessor[may
2011]
Size of data bus =8 bits
Size of address bus=16bit
Size of memory word=8 bit
Memory capacity=64kb
15. What is the need of ALE signal in 8085 microprocessor? OR Mention the use ALE [
Dec- 13,10may 2010, May/June-15,Nov/Dec-15]
This is used to demultiplex AD0 to AD7 lines to A0-A7 and D0-D7.
The separation of address line and data line is achieved by connecting a external
latch to
AD0-AD7 lines and enabling the latch when ALE signal is active.
30. To obtain a 320 ns clock, what should be the input clock frequency? What is the
frequency of clock signal at CLK OUT? (May-2014)
-9
System clock frequency = 1/T = 1 / 320*10 = 3.125
MHz
PART -B
1. with neat block diagram , explain the various functional building blocks of 8085
microprocessor. [ Nov/Dec-18] .[Apr/May-18] (Or) Explain with a neat block
diagram the architecture of 8085 microprocessor. [Nov/Dec-17] [Nov/Dec-16]
[May/Jun-16] [Apr/May-15] [Nov/Dec-15](13)
2. Define vector address. List the various interrupts of 8085 processor and elucidate the
use of Interrupt service routine. [ Nov/Dec-18] (13) (or) Describe the interrupts of
8085 and its types with service routine.[Apr/May-18] (7)
6. Draw the timing diagram of MOV A,M instruction and explain each machine cycle.
[Apr/May-18]
9. Draw the timing diagram for I/O read and write machine cycles. [Nov/Dec-16] (8)
(or) Draw the timing diagram of memory READ and WRITE operations in 8085
microprocessor.[Apr/May=15] (8) (or) Draw the timing diagram of Opcode fetch
machine cycle. [Apr/May-15] (8)
10. Draw the interfacing diagram to interface 8085 with 2KB RAM and 4KB EPROM.
[Nov/Dec-16] (8)
XCHG-The contents of register H are exchanged with the contents of register D, and the
contents of register L are exchanged with the contents of register E.
Example − XCHG
2. What are subroutine? (or) Define subroutine [Nov/Dec-18]
Procedures are group of instructions stored as a separate program in memory and it is
called from the main program in memory and it is called from the main program
whenever required.
The type of procedure depends on where the procedures are stored in memory. If it is
in the same code segment as that of the main program then it is an ear procedure
other wise it is a far procedure.
3. List out the five categories of the 8085 instructions. Give e.g. of the instructions for
each group?[December 2011] (or) List the classification of instruction based on its
size.[Apr/May-18]
Data transfer group–MOV,MVI,LXI
Arithmetic group–ADD,SUB,INR.
Logical group-ANA,XRA,CMP.
Branch group–JMP,JNZ,CALL.
StackI/O and machine control group–PUSH,POP,IN,HLT.
4. Define stack and stack related instructions? [May/June-16] (or) What is the function
of stack? [may-13 and Dec-12] (or) Define stack.[Apr/May-18]
The stack is a group of memory locations in the R/W memory that is used for the
temporary storage of binary information during the execution of the program. The stack
related instructions are PUSH and POP
5. What is the use of addressing modes, mention the different types?[may 2012] (or)
What are the types of addressing mode in 8085 microprocessor?[Nov/Dec-17] (Or)
Classify the addressing modes of 8085 microprocessor.[Nov/Dec-16]
The various formats of specifying the operands are called as addressing modes, it is used
to access the operands or data. The different types are as follows
1. Immediate addressing
2. Register addressing
3. Direct addressing
4. Indirect addressing
5. Implicit addressing
6. Explain the difference between a JMP instruction and CALL instruction.
[May/June2012] (or)
Differentiate CALL instruction from JUMP instruction.[Nov/Dec-17]
A JMP instruction permanently changes the program counter.
A CALL instruction leaves information on the stack so that the original
program execution sequence can be resumed.
8. What is CALL instruction? (or) What is the function of the CALL instruction?
(N/D16)
CALL instruction changes the sequence to the location of a subroutine.
9. What is the function of rotate instructions? Give an example. (M/J 15)[ Apr/May-15]
Rotate instruction is used to rotate the accumulator content left to carry or right to carry. It
can also be left through carry or right through carry. One example is RLC which means
rotate the accumulator content left to carry. If the data 32H is given with a carry bit then
after giving RLC for this, data becomes 64H and carry of 00H.
11.What is an instruction?
An instruction is a binary pattern entered through an input device to command the
microprocessor to perform that specific function.
12. How many operations are there in the instruction set of 8085 microprocessor?
There are 74 operations in the 8085 microprocessor
16. List the four instructions which control the interrupt structure of the 8085
microprocessor?[may 2013]
DI(disable interrupts)
EI(enable interrupts)
RIM(read interrupt masks)
SIM(set interrupt masks)
CALL PUSH
When CALL is executed the The program uses the instruction PUSH to
microprocessor save
automatically stores the16-bit address of the the contents of the register pair on the stack
instruction next to CALL on the stack
24. How is PUSH B instruction executed? Find the status after the execution(May/June
2016)
This instruction decrements SP by one and copies the higher byte of the register pair into
the memory location pointed by SP. Then decrements the SP again by one and copies the
lower byte of the register pair into the memory location pointed by SP. Ex: SP=2000H,
DE=1050H
25. Mention the similarity and difference between compare and subtract instructions.
(M/J 14)
The compare and subtract instructions in the 8085 both subtract one operand from
another, and set flags accordingly. The subtract instruction stores the result in the
accumulator, while the compare instruction does not - except for the flags, the compare
instruction "throws" the result away.
27. What are the instructions associated with a subroutine? (N/D 13)
Instructions are CALL & RET.
PART-B
1. Define addressing mode. Identify the addressing mode of the following instructions
and explain them. [Nov/Dec-18] (13)
(i) STA 6350H
(ii) CMA
(iii) MOV A,M
(iv) MOV D,E
(v) MVI A,A7H
2. Develop an algorithm and 8085 assembly language program to sort 100 byte type
data. Explain the instruction used in the program. [Nov/Dec-18] (13) (or) Write an
assembly language program to sort numbers in ascending order.[May/June-16](7)
6. Write an 8085 program to find the average of 10 numbers and find the execution
time of program. [Apr/May-18](6)
7. With example, explain the different addressing modes of 8085 and the different
types of instruction formats.[Nov/Dec-17](13)
8. Explain the operation carried out when 8085 executes the instructions: [Nov/Dec-
17](13)
(i) MOV A,M (2)
(ii) XCHG (2)
(iii) DAD B (2)
(iv) DAA (2)
(v) LDA 6000 (2)
(vi) SHLD 4000 (2)
10. What is meant by subroutine? Explain how the stack is affected while calling a
subroutine program. [Apr/May-17] (8)
13. Write an 8085 Assembly language program to multiply two numbers in memory
locations 4200 and 4201 and store the product in memory locations 4202 and 4203.
[Nov/Dec-16] (13)
15. Describe the categories of instructions used for data manipulations in 8085
microprocessor. [May/June-16][8]
UNIT -3
8051 MICRO CONTROLLER
1. List the features of 8051 microcontroller?[may 16] (Or) State any four inbuilt
features of 8051 microcontroller.[Nov/Dec18] (Or) What are the main features of
8051 microcontroller?[Nov/Dec-17]
The features are
Single supply +5 volt operation using HMOS technology.
4096 bytes program memory on chip (not on 8031)
128 data register banks
Four register mode,16-bit timer/counter.
Extensive Boolean processing capabilities.
64 KB external RAM size
32 bi-directional individually addressable I/O lines.
8 bit CPU optimized for control applications.
5. List the addressing modes of 8051?[dec09 may 13] (or) What are the addressing
modes of 8051 microcontroller?[Nov/Dec-17](or) Classify the addressing modes
of 8051 microcontroller.[Apr/May-17]
Direct addressing
Register addressing
Register in direct addressing Implicit addressing Immediate addressing
Index addressing
Bit addressing
6. List any four Special Function registers.[Apr/May-17 (Or) Name the special
functions registers available in 8051[Dec10]
Accumulator
B Register
Program status Word.
Stack pointer.
Data pointer
Port0
Port1
Port2
Port3
Interrupt priority control register. Interrupt enable control register.
14. State the function of RS1 and RS0 bits in the flag register of
Intel8051microcontroller?
RS1,RS0-Register bank select bits
RS1,RS0-Bank
Bank0
Bank1
Bank2
Bank3
15. Give the alternate functions for the port pins of port3?[Dec 11 May 11]
RDWRT1T0
INT1
INT0
TXD
RXD
RD–Read data control output
WR–Write data control output
T1– Timer/counter1 external input or test pin T0– Timer/counter0 external
input or test pin INT1–Interrupt1 input pin
INT0– interrupt0 input pin
TXD–Transmit data pin for serial port in UART mode
RXD–Receive data pin for serial port in UART mode.
21. Mention the registers used for serial communication in 8051 Microcontroller?
(Nov/Dec 2014)
SCON- Serial port control register, SBUF- Serial port data buffer are the registers
used for serial communication in 8051 Microcontrollers.
PART-B
2. Describe the timing diagram of external data memory read cycle of 8051.
[Nov/Dec-18] (13)
4. Briefly discuss the ports of 8051, internal circuits and its functions in detail.
[Apr/May-18](13)
5. Draw the data memory structure of 8051 microcontroller and explain. [Nov/Dec-
17] (7)
6. Explain with block diagram, how to acess external memory devices in an 8051
based system. [Nov/Dec-17] (6)
1. Find the control word of 8255 if port A is configured as input and port B is
configured as output in mode 0. [Nov/Dec-18] (OR) Write the control word value
for 8255 PPI when PORT A AND PORT B are inputs in simple I/O mode.
(Nov/Dec 2015,2016)(May/June 2016)
D7 D6 D5 D4 D3 D2 D1 D0
1 0 0 1 X 0 1 X
3. What are the modes of operation used in 8253?[MAY 08 MAY 09] (OR) Write the
modes of operation in 8254.[Apr/May-18] (Or) What are the working modes of
8254 timer?(Nov/Dec 2015)
Each of the three counters of 8253 can be operated in one of the following six modes of
operation.
Mode0 (Interrupt on terminal count)
Mode1 (Programmable mono shot)
Mode2 (Rate generator)
Mode3 (Square wave generator)
Mode4 (Software triggered strobe)
Mode5 (Hardware triggered strobe)
18. What are the different ways to end the interrupt execution in 8259 PIC?[May/June
2011]
AEOI (Automatic End of Interrupt) mode the ISR bit is reset at the end of the second
INTA pulse. Otherwise, the ISR bit remains set until the issue of an appropriate EOI
command at the end of the interrupt subroutine.
19. What are the different peripheral interfacing used with 8085 microprocessor?
[May/June 2013]
PIC 8259, PPI 8255, USART 8251, Programmable keyboard/display interface 8279.
20.What are the internal registers available in 8259 PIC? [May/June 2015]
Interrupt mask register (IMR), Interrupt Request register (IRR) and In-service register
(ISR)
PART-B
3. what are the advantage of closed loop control system for interfacing.[Apr/May-
18]
Closed loop control systems are more accurate even in the presence of non-
linearities. The sensitivity of the system may be made small to make thesystem more
stable. The closed loop systems are less affected by noise.
7. What are the control signals from 8051 microcontroller required for washing machine
control? [May/June 2015)]
Fill, Agitate, Drain and spin operation signals are the control given through microcontroller.
PART-B
3. Explain with neat diagram the closed loop control of servo motor using
microcontroller. [Nov/Dec-17] [Apr/May-17] [may/June-16](13)
4. Explain the interfacing of four digit 7 segment display to 8051 and its
program.[Nov/Dec-16]