Term-End Examination tr) June, 2011 cNI 0 ,--. MCS-012 : COMPUTER ORGANISATION & ASSEMBLY LANGUAGE PROGRAMMING Time : 3 hours Maximum Marks : 100 (Weightage 75%)
Note : Question no. 1 is compulsory and carries 40 marks. Attempt any three questions from the rest. 1. (a) Add the following numbers using signed 2's complement representation for 8 bit numbers. Indicate Over flow/Under flow if any : (i) +82 and —63 (ii) —85 and —40 (b) Design and draw a 8 x 1 multiplexer using AND and OR gates and explain its working. (c) Explain the following 8086 microprocessor instruction with the help of an example each. (i) DAA (ii) PUSH (iii) LDS (iv) STD (v) XCHG MCS-012 1 P.T.O. 5
(d) Explain the DMA. How it has advantage over Interrupt driven and programmed I/O ? (e) Write a program in 8086 assembly language that prints the alphabets from A to Z. (f) Design and draw a Bidirectional shift register with parallel load.
(a) Write a program in assembly language for 10 8086 microprocessor to search an element from a list of 5 number using Binary search method. Explain its logic. (b) Explain the concept of virtual memory. (c) What are the functions of I/O Interface ? 5 5
(a) Simplify the following function in SOP and 10 POS forms by means of K-map. Also draw the logic diagram. F (A, B, C, D) = /(0, 2, 5, 7, 8, 10, 11, 12, 14) (b) What is a Device driver ? Differentiate between Device Controllers and Device drivers. 5
(c) A set associative cache consists of a total of 64 blocks divided into sets with 4 blocks/ set. The main memory contains 4k blocks, each block consisting of 128 words. (i) How many bits are there in main memory address. (ii) How many bits are there in each Tag, Set and word fields. 4.
(a) Give simplified boolean expressions using 8 three inputs x, y, z and three outputs A, B, C. When binary input is 0, 1, 2 or 3 the binary output is one greater...