Microprocessor and Microcontroller - B.Tech 5th Semester Examination, 2020 (New Course)

2020Semester 3Civil-CAEnd Semester
Aryabhatta Knowledge University, Patna
B.Tech 5th Semester Examination, 2020 (New Course)

Microprocessor and Microcontroller

Time: 3 hours Code: 1045 Full Marks: 70

Instructions:

  1. The marks are indicated in the right-hand margin.
  2. There are EIGHT questions in this paper.
  3. Attempt FIVE questions in all.
  4. Question No. 1 is compulsory.
Q.1 Differentiate between the following (any seven):[14]
  1. Microcontroller and Microprocessor

  2. High level language and Low level language

  3. RISC Processor and CISC Processor

  4. I/O-Mapped I/O and Memory-Mapped I/O

  5. Assembler and Cross-Assembler

  6. CALL and JMP

  7. STAX and LDAX

  8. XTHL and PCHL

  9. RIM and SIM

Q.2 Solve both questions:[14]
  1. Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?

  2. Discuss the addressing technique used in 8086 and explain the various addressing modes of 8086.

Q.3 Solve this question:[14]
  1. Draw the block diagram of 8254 PPI and explain the various modes in which 8254 can operate and write down the control word for each mode. Specify the conditions to start the timer of 8254 PPI.

Q.4 Solve both questions:[14]
  1. Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.

  2. Explain the interfacing of 16 K EPROM and 8 K RAM to 8051 microcontroller.

Q.5 Solve this question:[14]
  1. Explain the different interrupts available in 8085 processor. What are the purpose of the instructions RIM and SIM? How is the status of pending interrupts checked? Assuming the microprocessor is completing an RST 7.5 interrupt request, check to see if RST 6.5 is pending. If it is pending, enable RST 6.5 without affecting any other interrupts; otherwise, return to the main program.

Q.6 Solve this question:[14]
  1. A set of ten packed BCD numbers is stored in the memory location. Write a program to add these numbers in BCD, if carry is generated save it in register B, and adjust it for BCD. Write a subroutine to unpack the stored BCD sum and store it in two consecutive memory locations.

Q.7 Solve this question:[14]
  1. Two sets of three readings each are stored in memory. Write a program and draw the flowchart to sort the readings in descending order, assuming that the two sets are separated by the word FFH.

Q.8 Solve this question:[14]
  1. Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.