Professional Documents
Culture Documents
2. A Step in space vehicle check out depends on four sensors. Every circuit is
functioning properly if the sensor number 2 and at least two sensors of the other
three are at logic 1. If the circuit is not working properly an alarm should sound.
Design the simplified digital circuit and realize using gates.
a. Realize the above function using an 8-1 MUX with control inputs ACD
(3 marks)
b. Realize using a 4-1 MUX and logic gates with control inputs AC. (3 marks)
4. Design a sequential circuit with two D flip flops A and B and one input x When
x =0 the state of the circuit remains the same, when x=1 the circuit goes through
the state transitions from 00 to 11 to 10 back to 00 and repeats.
….2
a. Write state table. (2 marks)
b. Write k maps and Boolean equations for inputs to flip flops (2 marks)
c. Draw the logic dia. (2 marks)
5. We have a decoder with three inputs a, b and c and eight active low outputs
labeled 0 through 7. In addition there is an active low enable input ~EN’. We wish
to implement the following function using decoder and as few NAND gates as
possible
Show the block diagram F( a, b, c, e) = Σ m ( 1, 3, 7, 9, 15)
6. a. Specify the register contents and flag status as the following instructions are
executed. (3 marks)
SUB A A B S Z C Y
MOV B,A
DCR B
INR B
SUI DIH
HLT
b. Specify the register contents and flag status as the following instructions are
executed. (3 marks)
MVI A, 5EH A C S Z C Y
ADI A2H
MOV C, A
HLT
8. Explain how a square wave can be generated using 8253 with neat diagrams and
program.
……3
9. Determine the control words necessary to put an 8255 in mode 0 with the
following configuration.
10. Read the following program and answer the questions given below.
a. What is stored in stack pointer register after the execution of the first
instruction. (1.5 marks)
b. What is the memory location of stack where the first data byte will be
stored. (1.5 marks)
c. What is stored in memory location 04FEH when PUSH H is executed.
(1.5 marks)
d. After the execution of PUSH H what is the address in the stack pointer
register and what is stored in stack memory location 04FDH. (1.5 marks)
_______________