CS-64: Introduction to Computer Organisation June 2003
Question Paper of CS-64: Introduction to Computer Organisation
Ql(a). Perform the following arithmetic operations on 8-bit numbers using signed 2’s complement notation. Indicate the overflow/underflow, if any.
(b) Simplify the following Boolean function in sum-of-product form by using four variable Karnaugh’s Draw the resultant logic diagram using AND-OR gates.
( c) The register of processor has the following values:
AL 0011 0011
BL 1100 1100
CL 1111 1111
DL 0000 1111
What will be the value of various registers, if the following operations are performed:
(i) Increment CL
(ii)Mask AL With DL
(iii) Selective set BL Using DL
(iv) Rotate arithmetic left DL
(v) Register AL = AL + BL (use new values)
(d) Write a program in 8086 assembly language to find the 10’s complement for a 2 digit packed BCD number. The number can be available in AL register.
(e) What is a micro-operation? How is the micro-operation different from an instruction ? Compare and contrast micro-operation with micro-instruction. Give an example each for an instruction, micro-operation and micro-instruction.
(f) How can two half adders be used (along with some other gates) for constructing all adder? Draw the resultant block diagram. How can you construct a 4-bit adder circuit using full adders? Draw the resultant block diagram.
Q2(a). Design a combinational circuit that generates an odd parity bit for the four
digit number input.
(b) Write program in 8086 assembly language to count the occurrence of vowels in a given string. You may assume that a 20 byte long string is available in the data segment of the program.
© What is the purpose of stack segment in an assembly program? How is the stack segment used for implementing procedure call?
Q3(a). How is the input/output performed from a disk using DMA module? What are the advantages of DMA for reading/writing from/to disks?
(b) The logical addresses used in 8086 are of 16 bit. whereas the actual physical addresses are of 20 bits. How is the 16 bit address mapped to a 20 bit address in 8086 micro-processor? Describe with help of an example. What are the advantages/ disadvantages of such addressing mechanisms?
© Design a floating point number representation for the following requirements:
Base of number: 2
Q4(a). What is the purpose of master-slave flip-flop? Draw the block diagram for the master slave flip-flop. Describe the functioning of the master slave flip-flop.
(b) Write a program in 8086 assembly language that finds the largest of the 10 given numbers in the data segment. The program also finds the average of these numbers. (Assume that numbers are only S bit and are in hexadecimal format).
© What is a BUS in the context of Computer Architecture? Draw the logic diagram of a 4 bit bus involving two input and output registers using multiplexers.
Q.5(a).What is the purpose of Single Error Correcting (SEC) code? Why do the ccur? What do we mean by error corrrection?
(b) What is the purpose of Cache memory in a computer? “Even if the size of Cache is sma’j, it increases the overall efficiency of a computer operation.” Comment on above statement giving reasons. Describe the associative cache mapping scheme.
© Compare and contrast the following:
(i’) Daisy chaining bus arbitration versus polling bus arbitration mechanism.
(ii) Flash memory versus ROM
(iii) Contact head mechanism versus Aerodynamic gap head mechanism.
Q6. Describe the following terms in the context the computer organisation and
8086 macro processor:
(a) Content Addressable Memory such Associative memory
(b) Multiplexer and Decoder
© Wilkes Control
(d) Input/Output Processor
(e) Interrupt mechanism