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
Differentiate between the following (any seven) :
DCR and DCX
CALL and JMP
STAX and LDAX
XTHL and PCHL
RIM and SIM
DAA and DAD
CMA and CMC
SHLD and SPHL
RET and RST
ORA and XRI
Answer the following:
List the four categories of 8085 instructions that manipulate the data.
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
Answer the following:
What is a flag? How many flags are there in 8085? Explain the flag register of 8085 microprocessor.
Explain the function of ALE signal in the 8085 microprocessor.
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 and signals from 8085 generate the control signal. Write the instructions to display digit 7 at the port.
Answer the following:
Draw the timing diagram of IN 80H.
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 to of the R/MW1 and identify its memory map and foldback space.
Answer the following:
Describe the various addressing modes of 8085 microprocessor with suitable examples.
Draw the pin out diagram of 8085 microprocessor and explain the various signals.
Answer the following:
Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
Discuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
Answer the following:
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.
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.
Answer the following:
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.
Draw the block diagram of 8251 PPI and explain briefly the different sections of 8251. Explain how the 8251 PPI is initialized.
Answer the following:
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.
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?
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):
Microcontroller and Microprocessor
High level language and Low level language
RISC Processor and CISC Processor
I/O-Mapped I/O and Memory-Mapped I/O
Assembler and Cross-Assembler
CALL and JMP
STAX and LDAX
XTHL and PCHL
RIM and SIM
Q.2 Solve both questions:
Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
Discuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
Q.3 Solve this question:
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:
Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
Explain the interfacing of 16 K EPROM and 8 K RAM to 8051 microcontroller.
Q.5 Solve this question:
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:
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:
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:
Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.
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):
Microcontroller and Microprocessor
High level language and Low level language
RISC Processor and CISC Processor
I/O-Mapped I/O and Memory-Mapped I/O
Assembler and Cross-Assembler
CALL and JMP
STAX and LDAX
XTHL and PCHL
RIM and SIM
Q.2 Solve both questions:
Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
Discuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
Q.3 Solve this question:
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:
Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
Explain the interfacing of 16 K EPROM and 8 K RAM to 8051 microcontroller.
Q.5 Solve this question:
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:
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:
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:
Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.
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
Differentiate between the following (any seven) :
Microcontroller and Microprocessor
High level language and Low level language
RISC Processor and CISC Processor
I/O-Mapped I/O and Memory-Mapped I/O
Assembler and Cross-Assembler
CALL and JMP
STAX and LDAX
XTHL and PCHL
RIM and SIM
Answer the following:
Draw and explain the architecture of 8086. Describe the function of queue in 8086. How does the queue speed up processing?
Discuss the addressing technique used in 8086 and explain the various addressing modes of 8086.
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.
Answer the following:
Draw and explain the pin diagram of 8051 microcontroller and explain the memory mapping of 8051.
Explain the interfacing of 16 K EPROM and 8 K RAM to 8051 microcontroller.
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.
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.
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.
Write a program to insert a string of four characters from the tenth location in the given array of 50 characters.