MICROPROCESSOR AND MICROCONTROLLER
Jump to paper
2021104505
B.Tech Examination, 2021
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
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 marksAsk AI
Q2
Answer the following:
a)6 marksList the four categories of 8085 instructions that manipulate the data.
b)8 marksAssemble 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
Ask AI
Q3
Answer the following:
a)2 marksWhat is a flag? How many flags are there in 8085? Explain the flag register of 8085 microprocessor.
b)4 marksExplain the function of ALE signal in the 8085 microprocessor.
c)8 marksDesign 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 and signals from 8085 generate the control signal. Write the instructions to display digit 7 at the port.
Ask AI
Q4
Answer the following:
a)6 marksDraw the timing diagram of IN 80H.
b)8 marksWhat 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 to of the R/MW1 and identify its memory map and foldback space.
Ask AI
Q5
Answer the following:
a)5 marksDescribe the various addressing modes of 8085 microprocessor with suitable examples.
b)9 marksDraw the pin out diagram of 8085 microprocessor and explain the various signals.
Ask AI
Q6
Answer the following:
a)6 marksDraw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
b)8 marksDiscuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
Ask AI
Q7
Answer the following:
a)8 marksDraw 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.
b)6 marksA 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.
Ask AI
Q8
Answer the following:
a)8 marksA 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.
b)6 marksDraw the block diagram of 8251 PPI and explain briefly the different sections of 8251. Explain how the 8251 PPI is initialized.
Ask AI
Q9
Answer the following:
a)9 marksWAP 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.
b)5 marksThe 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?
Ask AI
20201045
B.Tech 5th Semester Examination, 2020 (New Course)
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
Q1.1
Microcontroller and Microprocessor
Ask AI
Q1.2
High level language and Low level language
Ask AI
Q1.3
RISC Processor and CISC Processor
Ask AI
Q1.4
I/O-Mapped I/O and Memory-Mapped I/O
Ask AI
Q1.5
Assembler and Cross-Assembler
Ask AI
Q1.6
CALL and JMP
Ask AI
Q1.7
STAX and LDAX
Ask AI
Q1.8
XTHL and PCHL
Ask AI
Q1.9
RIM and SIM
Ask AI
Q.2 Solve both questions:
Ask AI
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
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
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
Q4.1
Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
Ask AI
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
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
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
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
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)
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
Q1.1
Microcontroller and Microprocessor
Ask AI
Q1.2
High level language and Low level language
Ask AI
Q1.3
RISC Processor and CISC Processor
Ask AI
Q1.4
I/O-Mapped I/O and Memory-Mapped I/O
Ask AI
Q1.5
Assembler and Cross-Assembler
Ask AI
Q1.6
CALL and JMP
Ask AI
Q1.7
STAX and LDAX
Ask AI
Q1.8
XTHL and PCHL
Ask AI
Q1.9
RIM and SIM
Ask AI
Q.2 Solve both questions:
Ask AI
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
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
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
Q4.1
Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
Ask AI
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
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
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
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
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
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
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 marksAsk AI
Q2
Answer the following:
a)6 marksDraw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
b)8 marksDiscuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
Ask AI
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 marksAsk AI
Q4
Answer the following:
a)10 marksDraw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
b)4 marksExplain the interfacing of 16 K EPROM and 8 K RAM to 8051 microcontroller.
Ask AI
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 marksAsk AI
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 marksAsk AI
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 marksAsk AI
Q8
Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.
14 marksAsk AI