CS-64 June 09 PDF
CS-64 June 09 PDF
lt-
bn) F.Dr')
Time: 3 hours
Note :
Maximum Marks : 75
any three Question No. 1 is compulsory. Anszoer questions fro* the rest. Using 2's complementnotation perform the following arithmetic operationsusing 8-bit register.
t.
(u)
(ii) (i")
13 - 8 -8+18
Also write overflow/underflow if any. (b) Write a program for evaluating A * B / C+ D/E-F using 2 addressand 3 address machineinstructions.Make assumptions,if required. CS-64 P.T.O.
(.)
How can a stack be used for implementing a subroutine call? Can this schemebe used to pass parameter also ? lustify your answer.
(d)
trVriteprogram in 8086 assemblylanguage to count the number of vowels in a given string. Assume that 20 byte long string is stored in data segment.
Draw an arithmetic pipeline for floating point subtraction. What is RAID ? What are RAID levels ? Explain any two levels giving data distribution and advantages/ disadvantages of that level.
(")
(f)
2.
(a)
luVhatis the need of havin gmany addressing modes in a machine ? Explain any four most important addressing modes for your machine and justify your selection.
(b)
circuit that generates an odd parity bit for four digit number input. Give block diagram of DMA controller. How does CPU initialize the DMA transfer ?
Design a combinational
(.)
C5.64
3.
(a)
Write a program in 8086 assembly language to display a string stored in the data segment on the computer monitor, only if the first character of the string is an uppercase alphabet.
(b)
Compare the various advantages and disadvantages of isolated mapped I/O scheme and memory mapped I/O scheme. "Counter is a register". Justify your answer. Draw and explain the working principles of a 4-bit asynchronous ripple counter.
(.)
4.
(u)
Show that {NAND} is a functionally complete set of gates. Use it to construct the O& AND and NOT gates. Draw the circuit for 4-b1tROM having four words and explain the design. I4/hat is an interrupt? How is the interrupt 21 h used in 8086 microprocessor ?
(b)
(.)
J.
(u)
Design a floating Point Number format for the following requirements : Base: 2 Mantissa : Normalized, should hold 4 significant decimal digits. Exponent : Biased exponent in the range of +25 single precision. Make suitable assumptions, if any.
CS-64
P.T.O.