19IS502
19IS502
Reg. No.:
Instructions:
1. Students should not mark/write anything on the Question Paper other than the register number.
2. Sections A to E contain questions for 30 Marks each.
3. Students can attempt answering any two out of three subsections in each section.
Q. No. Questions
Page 1 of 6
telephone sets, telephone exchanges and modems. Using 8085 microprocessors in telecommunication
industry makes teleconferencing easy. Using this scenario, answer the following questions.
(i) In working with 8085 assembly language programs for telecommunication applications,
identify the addressing mode of 8085 to which the following instructions belong to and justify
your answer.
i)MOV A,B
ii)STA 4500H
iii)MOV A,M
iv)MVI B,100H
v)HLT
(5 Marks – [U/C,2])
(ii) In programming with 8085 for telecommunication application, find the instructions for doing
the following operations.
i) Logically OR the value of B with accumulator.
ii) Consider the accumulator contains the value 00001111.Write the instruction to
change it to 11110000.
iii) Load the BC register pair with value 5010H
iv) Subtract the value at the memory location pointed to by the HL register pair from
accumulator along with carry.
v) Stop the program execution
(5 Marks – [Ap/P,2])
A3 Consider the telecommunication industry in which the 8085 microprocessors are used in digital
telephone sets, telephone exchanges and modems. Using 8085 microprocessors in telecommunication
industry makes teleconferencing easy. Using this scenario, answer the following questions.
(i) In programming with telecommunication application, if an interrupt is used in the program we
have to provide the restart instructions. Derive the hexadecimal code for the following RST
instructions using the tri state buffer circuit and design the circuit as well.
i)RST1
ii)RST4
iii)RST5
(6 Marks – [An/P,2])
(ii) In a telecommunication application by using 8085 for interrupt programming, identify any two
pins used for handling interrupts programming and justify the usage of that 8085 pins
(4 Marks –[U/C,2])
SECTION B COURSE OUTCOME 2 MAXIMUM : 20 MARKS
B1 Consider the application which uses the 8086 16-bit microprocessor to develop a calculator program.
This application is very beneficial in enhancing the student skills in mathematics, engineering and
computer programming which can be employed in designing a useful application for users as well as
the ability to apply numerical techniques and programming algorithms to design a small
microprocessor-based system. Based on this application, answer the following questions.
(i) Identify the unit in the architecture of 8086 microprocessor which is responsible for fetching,
decoding, executing the instructions for the calculator program and write its purpose, usage of
its subcomponents.
(4 Marks – [U/C,2])
(ii) 8086 acts as a single processor in minimum mode of operation. Represent the memory write
timing diagram in minimum mode of 8086 microprocessor.
(6 Marks – [U/C,2])
B2 Consider the application which uses the 8086 16-bit microprocessor to develop a calculator program.
This application is very beneficial in enhancing the student’ skills in mathematics, engineering and
computer programming which can be employed in designing a useful application for users as well as
the ability to apply numerical techniques and programming algorithms to design a small
microprocessor-based system. Based on this application, answer the following questions.
(i) 8086 acts as a multiprocessor in maximum mode of operation. Represent the memory write
timing diagram in maximum mode of 8086 microprocessor.
(6 Marks – [U/C,2])
Page 2 of 6
(ii) Justify the addressing mode to which the following instructions belongs to:
i) MOV AX, [BX]
ii) MOV AX, [BX] [SI]
(4 Marks – [U/C,2])
B3 Consider the application which uses the 8086 16-bit microprocessor to develop a calculator program.
This application is very beneficial in enhancing the student’ skills in mathematics, engineering and
computer programming which can be employed in designing a useful application for users as well as
the ability to apply numerical techniques and programming algorithms to design a small
microprocessor-based system. Based on this application, answer the following questions.
(i) In 8086 memory organization, the addresses are divided into even address bank and odd
address bank. Differentiate between the even and odd address banks of 8086.Also mention the
list of reserved addresses and its purpose.
(6 Marks – [An/P,2])
(ii) Identify and illustrate the types of special processor activities available in 8086 16-bit
microprocessor from the above scenario.
(4 Marks – [U/C,2])
SECTION C COURSE OUTCOME 3 MAXIMUM: 20 MARKS
C1 Raju is a civil engineer; he wants to fit an escalator for his new construction. He approached his friend
for this problem. They planned to build it on their own. Since it is a mechanical machine, they wanted to
automatize its activity for two reasons. First one is to Positioning escalator. Second reason is to find the
Proper inclination and Optimal speed. So they added microprocessor and microcontroller. As his friend
suggested 8086 microprocessor, Raju finalized the same to his application. Based on this situation,
answer the following questions.
(i) Construct an 8086 assembly language program to add the contents of the memory location
2000H: 0500H to contents of 3000H: 0600H and store the result in 5000H: 0700H.
(6 Marks – [Ap/P,2])
(ii) Structure an Interrupt Service Routine (ISR) from the above scenario in 8086.
(4 Marks – [U/C,2])
C2 Consider the Pentium II processor that includes Pentium Pro with Intel's MMX technology. The clock
speed of microprocessor are 233 MHz (millions of cycles per second), 266 MHz, and 300 MHz. It can
be suitable for the applications that include motion video and 3-D images. Based on this scenario,
answer the following questions.
(i) Illustrate the instruction set of MMX architecture used in motion videos with an examples
(5 Marks – [U/C,2])
(ii) Structure the general representation of 5-segment pipeline with neat diagram and also give
the usage of that pipeline in Pentium architecture with an example.
(5 Marks – [U/C,2])
C3 Consider the application which uses the 8086 16 bit microprocessor to develop a calculator program.
This application is very beneficial in enhancing the student’ skills in mathematics, engineering and
computer programming which can be employed in designing a useful application for users as well as
the ability to apply numerical techniques and programming algorithms to design a small
microprocessor-based system. Based on this application, answer the following questions.
(i) Identify the structure of the stack in 8086 microprocessor. Calculate the stack top address if
SS=5000H and SP=2050H.
(6 Marks – [U/C,2])
(ii) Construct an 8086 program to add a data byte located at 0500H in 2000H segment to another
data byte available at 0600H in the same segment and store the result in 0700H in the same
segment.
(4 Marks – [Ap/P,2])
SECTION D COURSE OUTCOME 4 MAXIMUM: 20 MARKS
D1 Consider the scenario in which the Intel 8279 is used for keyboard interfacing but it can also be used
for multiplexed 7-segment LED display interfacing. To display a character into a 7-segment display we
have to store 7-segment code in a display RAM location. Using this interfacing we can display a
message to the user through the display panel. Based on this scenario, answer the following questions.
(i) Identify the interface which is used to transmit the data received from the CPU to the display
devices and also give the type of interface with an example.
(5 Marks – [U/C,2])
Page 3 of 6
(ii) Represent the architectural diagram for the above mentioned scenario.
(5 Marks – [U/C,2])
D2 Consider a scenario in which you can interface 8257 with 8086 microprocessor to develop an
embedded application using the four channels of the DMA controller. Based on this scenario, answer
the following questions.
(i) Identify the pin which is used to disable all the DMA channels by clearing the mode registers
and also illustrate that pin.
(4 Marks – [U/C,2])
(ii) Structure the DMA controller and also pin description of 8257 microcontroller.
(6 Marks – [U/C,2])
D3 In computing, a programmable interrupt controller (PIC) is an integrated circuit that helps a
microprocessor (or CPU) handle interrupt requests (IRQ) coming from multiple different sources (like
external I/O devices) which may occur simultaneously.8259A is one such controller for handling
interrupts. It can be interfaced with 8085 microprocessor to handle multiple interrupts. Based on the
architecture of 8259, answer the following questions.
(i) Identify and write the usage of the component of 8259A which deals with interrupt mask.
(2 Marks – [U/C,2])
(ii) 8259A is able to handle a maximum of 64 interrupts only – Justify the statement.
(2 Marks – [An/P,2])
(vi) In above scenario some of the modes of operation of 8259A were used. Here few modes were
mentioned below, Show the proper usage of those modes and justify.
1. Fully nested mode
2. Automatic EOI mode
3. Specific mask mode
(6 Marks – [U/C,2])
SECTION E COURSE OUTCOME 5 MAXIMUM: 20 MARKS
E1 Consider the following scenario. Night vision spy bot is a unique type of robotic system which can be
used for spying on enemy territories. This type of robots can be used to collect information and monitor
suspicious activities even we can track location of terrorist organizations. These type of robots can be
used for surveillance of any disaster affected area or a place which is difficult to reach. Its night vision
camera makes it active and effective even in darkness using infrared lighting. These bots can be
designed using the 8051 microcontroller. Based on this scenario, answer the following questions.
(i) Consider the 8051 ALP:
MOV 45, #4FH
MOV R0, 45H
INC R0
MOV @R0, #30H
Identify the location value of R0 and the content at that place?
(2 Marks – [U/C,2])
(ii) Assume carry flag contains 0 and port 4 contains the 8-bit data 0AH. Find the result of the
operation ORL C, P4.3:
(2 Marks – [Ap/P,2])
(iii) Identify the features of 8051 microcontroller and architecture with neat diagram.
(6 Marks – [U/C,2])
E2 8051 microcontrollers have 4 I/O ports each of 8-bit, which can be configured as input or output.
Hence, total 32 input/output pins allow the microcontroller to be connected with the peripheral devices.
Pin configuration, i.e. the pin can be configured as 1 for input and 0 for output as per the logic state.
The 8051 has four important ports. Port 0, Port 1, Port 2 and Port 3. These ports allow the
microcontroller to connect with the outside world. The four ports of 8051 microcontrollers have certain
specific functions and corresponding features.
Page 4 of 6
Figure 1 8051 pin
(i) Identify the bit addressable ports in 8051 Microcontroller.
(2 Marks – [U/C,2])
(ii) Find the number of bits that a sensor can used to transfer (data) to the microcontroller 8051 at a
time?
(2 Marks – [Ap/P,2])
(iii) Differentiate an arithmetic and logical instruction sets of 8051 microcontroller from any 8085
microprocessor and Justify.
(6 Marks – [U/C,2])
E3 A washing machine control unit is designed using 8051 microcontroller is shown below.
(i) From the given scenario, Find any two immediate addressing mode instructions and any two
direct addressing mode instructions stated in the above program and illustrate any four
addressing mode.
(6 Marks – [Ap/P,2])
(ii) Find the registers which are used to identify the result and status of the operation that is being
Page 5 of 6
carried out in 8051.
(2 Marks – [Ap/P,2])
(iii) Predict the interrupt with highest priority and lowest priority in 8051.
(2 Marks – [Ap/P,2])
***End of Question Paper***
Page 6 of 6