SHEAT COLLEGE OF ENGINEERING & MANAGEMENT, BABATPUR, VARANASI
(0384) Department of Electrical & Electronics Engineering ASSIGNMENT 2 Date:
UNIT-2
MICROPROCESSOR AND MICROCONTROLLER (KEC502)
SI No. Question COs Bloom’s Level 1 Explain the various steps involved in writing the assembly CO2 K2 language programs. 2 What are the various types of instructions used in assembly CO2 K1 language programming? Explain one of them in detail. 3 Explain the various looping techniques used in programming. CO2 K2 4 Write an 8085 assembly language program to determine the 2’s CO2 K3 complement of an 8-bit number without using any logical instruction. Store the result in memory. 5 Explain the various logical instructions related to rotating the CO2 K2 accumulator bits. 6 Sixteen blocks of data are stored in memory location at 205FH. CO2 K3 Write a program to transfer the entire block of data to new memory locations starting at 2070H. 7 Write different procedures used to generate specific delay. CO2 K2 8 Write a delay routine to produce a time delay of 0.5msec in 8085 CO2 K3 processor-based system whose clock source is 6MHz quartz crystal. 9 Explain the execution of instructions: LXI H 2000 H, LDA 2000 CO2 K2 H, RAL, JNC, MVI. State the memory occupied by these instructions. 10 Write an assembly language program to find the largest number CO2 K3 in a series of number stored from location 2000 H to 200 A H. Store the result at location 3000 H. Explain the program with a relevant flowchart. 11 Explain the role of interrupts in programming. Explain the CO2 K2 interrupt used in 8085. List out all the vectored interrupts of 8085 and give their vector addresses. 12 Discuss the priorities of the interrupts available in 8085. Give a CO2 K2 detailed explanation of SIM and RIM.