Jump to Year/Set
2021 104505

B.Tech Examination, 2021

Time 3 hours
Full Marks 70
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

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]
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]
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/MIO/\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]
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 CS4\overline{\text{CS}}_4 to CE\overline{\text{CE}} of the R/MW1 and identify its memory map and foldback space.

[8 Marks]
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]
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]
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]
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]
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]

2020 1045

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

Time 3 hours
Full Marks 70
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):

Q1.1

Microcontroller and Microprocessor

Q1.2

High level language and Low level language

Q1.3

RISC Processor and CISC Processor

Q1.4

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

Q1.5

Assembler and Cross-Assembler

Q1.6

CALL and JMP

Q1.7

STAX and LDAX

Q1.8

XTHL and PCHL

Q1.9

RIM and SIM

Q.2 Solve both questions:

Q2.1

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

Q2.2

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

Q.3 Solve this question:

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.

Q.4 Solve both questions:

Q4.1

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

Q4.2

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

Q.5 Solve this question:

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.

Q.6 Solve this question:

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.

Q.7 Solve this question:

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.

Q.8 Solve this question:

Q8.1

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


2020 V4 1045

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

Time 3 hours
Full Marks 70
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):

Q1.1

Microcontroller and Microprocessor

Q1.2

High level language and Low level language

Q1.3

RISC Processor and CISC Processor

Q1.4

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

Q1.5

Assembler and Cross-Assembler

Q1.6

CALL and JMP

Q1.7

STAX and LDAX

Q1.8

XTHL and PCHL

Q1.9

RIM and SIM

Q.2 Solve both questions:

Q2.1

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

Q2.2

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

Q.3 Solve this question:

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.

Q.4 Solve both questions:

Q4.1

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

Q4.2

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

Q.5 Solve this question:

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.

Q.6 Solve this question:

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.

Q.7 Solve this question:

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.

Q.8 Solve this question:

Q8.1

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


2020 104505

B.Tech Examination, 2020

Time 3 hours
Full Marks 70
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

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]
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]
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]
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]
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]
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]
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]
Q8

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

[14 Marks]

Install on iOS

To install BEU Connect on your iPhone:

1. Tap the Share button at the bottom of Safari.
2. Scroll down and tap "Add to Home Screen".