PYQs

MICROPROCESSOR AND MICROCONTROLLER

4 papers · 104505, 1045

2021104505

B.Tech Examination, 2021

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are NINE questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Questions

Ask AI
  1. Q1

    Differentiate between the following (any seven) :

    a)

    DCR and DCX

    b)

    CALL and JMP

    c)

    STAX and LDAX

    d)

    XTHL and PCHL

    e)

    RIM and SIM

    f)

    DAA and DAD

    g)

    CMA and CMC

    h)

    SHLD and SPHL

    i)

    RET and RST

    j)

    ORA and XRI

    14 marks
    Ask AI
  2. Q2

    Answer the following:

    a)

    List the four categories of 8085 instructions that manipulate the data.

    6 marks
    b)

    Assemble the following program, starting with the memory address 2020 H and tell the output of the program : MVI A, 8F H MVI B, 68 H SUB B ANI 0F H STA 2070 H HLT

    8 marks
    Ask AI
  3. Q3

    Answer the following:

    a)

    What is a flag? How many flags are there in 8085? Explain the flag register of 8085 microprocessor.

    2 marks
    b)

    Explain the function of ALE signal in the 8085 microprocessor.

    4 marks
    c)

    Design a seven-segment LED output port with the device address F5 H, using a 74LS138 3-to-8 decoder, a 74LS20 4-input NAND gate, a 74LS02 NOR gate, and a common anode seven-segment LED. Given WR‾\overline{\text{WR}} and IO/M‾IO/\overline{\text{M}} signals from 8085 generate the IOW‾\overline{\text{IOW}} control signal. Write the instructions to display digit 7 at the port.

    8 marks
    Ask AI
  4. Q4

    Answer the following:

    a)

    Draw the timing diagram of IN 80H.

    6 marks
    b)

    What are tri-state devices and why are they essential in a bus-oriented system? In the figure given below specify the memory address of ROM 1, ROM 2 and R/WM1. Now eliminate the second decoder and connect CS‾4\overline{\text{CS}}_4 to CE‾\overline{\text{CE}} of the R/MW1 and identify its memory map and foldback space.

    8 marks
    Ask AI
  5. Q5

    Answer the following:

    a)

    Describe the various addressing modes of 8085 microprocessor with suitable examples.

    5 marks
    b)

    Draw the pin out diagram of 8085 microprocessor and explain the various signals.

    9 marks
    Ask AI
  6. Q6

    Answer the following:

    a)

    Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?

    6 marks
    b)

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

    8 marks
    Ask AI
  7. Q7

    Answer the following:

    a)

    Draw the block diagram of 8255 PPI and explain the various modes in which 8255 can operate. Write down the control word for 8255 and explain each bit.

    8 marks
    b)

    A keyboard and seven-segment display are connected to the 8255 PPI on ports A and B respectively. WAP to monitor the keyboard to sense a key pressed and display the number of the key at the seven-segment display LED.

    6 marks
    Ask AI
  8. Q8

    Answer the following:

    a)

    A set of 10 current readings is stored in the memory location starting at 2050H. The readings are expected to be positive ($< 127_{10}$). Draw the flowchart and WAP to— (i) check each reading to determine whether it is positive or negative; (ii) reject all negative readings; (iii) add all positive readings; (iv) output FFH to PORT 1 at any time if the sum exceeds eight bits to indicate the overload; otherwise display the sum. If no output port is available in the system, go to step 5; (v) store FFH in the memory location 2070H when the sum exceeds eight bits, otherwise store the sum.

    8 marks
    b)

    Draw the block diagram of 8251 PPI and explain briefly the different sections of 8251. Explain how the 8251 PPI is initialized.

    6 marks
    Ask AI
  9. Q9

    Answer the following:

    a)

    WAP to count from 0 to 20H with a delay of 100 ms between each count. After the count 20H, the counter should reset itself and repeat the sequence. Draw a flowchart and show calculations for setting up the delay.

    9 marks
    b)

    The main program is stored beginning at 0100H the main program (at 0120H) has called the subroutine at 0150H, and when the microprocessor is executing the instruction at location 0151, it is interrupted. Read the program and answer the following questions : (i) Specify the contents of stack location 03FFH after the CALL instruction. (ii) Specify the stack locations where the contents of registers B and C are stored. (iii) When the program is interrupted, what is the memory address stored on the stack?

    5 marks
    Ask AI

20201045

B.Tech 5th Semester Examination, 2020 (New Course)

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are EIGHT questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Q.1 Differentiate between the following (any seven):

Ask AI
  1. Q1.1

    Microcontroller and Microprocessor

    Ask AI
  2. Q1.2

    High level language and Low level language

    Ask AI
  3. Q1.3

    RISC Processor and CISC Processor

    Ask AI
  4. Q1.4

    I/O-Mapped I/O and Memory-Mapped I/O

    Ask AI
  5. Q1.5

    Assembler and Cross-Assembler

    Ask AI
  6. Q1.6

    CALL and JMP

    Ask AI
  7. Q1.7

    STAX and LDAX

    Ask AI
  8. Q1.8

    XTHL and PCHL

    Ask AI
  9. Q1.9

    RIM and SIM

    Ask AI

Q.2 Solve both questions:

Ask AI
  1. Q2.1

    Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?

    Ask AI
  2. Q2.2

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

    Ask AI

Q.3 Solve this question:

Ask AI
  1. Q3.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.

    Ask AI

Q.4 Solve both questions:

Ask AI
  1. Q4.1

    Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.

    Ask AI
  2. Q4.2

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

    Ask AI

Q.5 Solve this question:

Ask AI
  1. Q5.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.

    Ask AI

Q.6 Solve this question:

Ask AI
  1. Q6.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.

    Ask AI

Q.7 Solve this question:

Ask AI
  1. Q7.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.

    Ask AI

Q.8 Solve this question:

Ask AI
  1. Q8.1

    Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.

    Ask AI

2020V41045

B.Tech 5th Semester Examination, 2020 (New Course)

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are EIGHT questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Q.1 Differentiate between the following (any seven):

Ask AI
  1. Q1.1

    Microcontroller and Microprocessor

    Ask AI
  2. Q1.2

    High level language and Low level language

    Ask AI
  3. Q1.3

    RISC Processor and CISC Processor

    Ask AI
  4. Q1.4

    I/O-Mapped I/O and Memory-Mapped I/O

    Ask AI
  5. Q1.5

    Assembler and Cross-Assembler

    Ask AI
  6. Q1.6

    CALL and JMP

    Ask AI
  7. Q1.7

    STAX and LDAX

    Ask AI
  8. Q1.8

    XTHL and PCHL

    Ask AI
  9. Q1.9

    RIM and SIM

    Ask AI

Q.2 Solve both questions:

Ask AI
  1. Q2.1

    Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?

    Ask AI
  2. Q2.2

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

    Ask AI

Q.3 Solve this question:

Ask AI
  1. Q3.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.

    Ask AI

Q.4 Solve both questions:

Ask AI
  1. Q4.1

    Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.

    Ask AI
  2. Q4.2

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

    Ask AI

Q.5 Solve this question:

Ask AI
  1. Q5.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.

    Ask AI

Q.6 Solve this question:

Ask AI
  1. Q6.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.

    Ask AI

Q.7 Solve this question:

Ask AI
  1. Q7.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.

    Ask AI

Q.8 Solve this question:

Ask AI
  1. Q8.1

    Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.

    Ask AI

2020104505

B.Tech Examination, 2020

3 hours70 marks

Instructions

  • The marks are indicated in the right-hand margin.
  • There are EIGHT questions in this paper.
  • Attempt FIVE questions in all.
  • Question No. 1 is compulsory.

Questions

Ask AI
  1. Q1

    Differentiate between the following (any seven) :

    a)

    Microcontroller and Microprocessor

    b)

    High level language and Low level language

    c)

    RISC Processor and CISC Processor

    d)

    I/O-Mapped I/O and Memory-Mapped I/O

    e)

    Assembler and Cross-Assembler

    f)

    CALL and JMP

    g)

    STAX and LDAX

    h)

    XTHL and PCHL

    i)

    RIM and SIM

    14 marks
    Ask AI
  2. Q2

    Answer the following:

    a)

    Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?

    6 marks
    b)

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

    8 marks
    Ask AI
  3. Q3

    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.

    14 marks
    Ask AI
  4. Q4

    Answer the following:

    a)

    Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.

    10 marks
    b)

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

    4 marks
    Ask AI
  5. Q5

    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.

    14 marks
    Ask AI
  6. Q6

    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.

    14 marks
    Ask AI
  7. Q7

    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.

    14 marks
    Ask AI
  8. Q8

    Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.

    14 marks
    Ask AI

Support BEUConnect

Contributions cover the domain and hosting.

UPI QR code for pritkr@cnrb
pritkr@cnrb

Add to home screen

  1. Tap Share in Safari.
  2. Choose Add to Home Screen.