Assignment 2 CSD
Assignment 2 CSD
Explain with suitable example. 2. How can we implement the controlled transfer P: R1 R2 using Hardware? 3. What is Bus and Bus Transfer? Explain the transfer from Bus to a Destination Register? 4. What are the different applications of logic micro-operations? 5. What are the different types of Shift Operations? 6. Discuss the instruction Format. 7. Discuss the registers, memory units and memory organization. 8. Explain the common bus system for transferring contents of various registers to memory or vice-versa. 9. Draw and explain block diagram of hardwired control unit. 10.What is instruction cycle? 11. Explain Micro Programmed control unit.
12. (a) Explain the reasons of using different addressing modes in the computer . Discuss various displacement addressing in detail. (b) What are the characterstics of a good Instruction format? Discuss structure of a typical instruction format. In a computer instruction format , the instruction length and the size of an address field are 12 and 5 respectively. How many instruction will be a available in the following case? *Zero address instruction *One address instruction *Two address instruction (c) Using as few instruction as possible , write a programme for each of the four machines to evaluate the following arithmetic expression: X=(A-B)*(((C-D*E)/F)/G) 13. Discuss types of instructions in brief. Also discuss important fields of a typical instruction set. A digital computer has a memory unit with 24 bit per word. he instruction set consists of 190 different operations. Each instructions is stored in one word of memory and consists of an op-code part and an address part. (i) How many bits are needed for operation code? (ii) How many bits are left for the address part of the instruction? 14(a) Write programs to evaluate the arithmetic expression A*B+A*(B*D+C*E) for two address and zero-address
machines. (b) Why are different addressing modes used in computer? Discuss various addressing modes. 15 (a) Instructions use operands and machine registers mainly in four ways . Discuss them in brief. Using two and zero address instruction, solve the following equation: X=(A+B*C)*(C-D*E)/F (b) Describe displacement addressing techniques. Critically examine essential differences between relative and index register addressing. Also examine merits and demerits of the following addressing techniques: (i) Immediate (ii) Direct (i) Indirect (ii) Relative (c) Discuss all the characteristics of a good instruction format. How many bits are needed to represent an instruction in a computer that has 53 different instructions , all of which are two address , when the computer has 65000 word memory 16. Attempt any four parts of the following: (a) Write the program to evaluate the arithmetic statement X=(A+B*C)/(D-E*F+G*H) (i) using a general register type computer with 3-address instructions. (ii) Using a general register type computer with 2-address instructions (iii) Using an accumulator-type computer with ane address instructions. (iv) Using a stack-organised computer with 0-address operation instructions. (b) Discuss the advantages of a RISC processor over CISC processor. (c) Discuss the purpose of using addressing mode techniques in computers and also describe the different types of addressing modes. 17. Attempt any two of the following question: (a) Discuss different types of addressing schemes with their merits and demerits. Differentiate between microprogram and microinstruction. What is the significance of different addressing techniques in digital computers? (b) Compare single accumulator organization with that to general register organization. Convert following expression from infix to Reverse Polish notation. (i) A*B+C*D+E*F (ii) A*B+A*(B*D+C*E) (c) Write a program to evaluate. X=(A-B)*(C-D*E) Using two, three and Zero address instruction formats. 18. Attempt any four part of the following:
(a) Discuss the working principles of Von-Neuman Architecture in brief. (b) Write program to evaluate the arithmetic statement X=(A+B)*(C+D) Using a general register type computer with three,two,one address unstructions. (e)What are the advantages of using addressing mode in computer? Why does computer provide several addressing mode? (f)RISC processors tend to have a large number of registers compared to CISC processors. Explain why. 19. Attempt any two of the following: (a) Explain the reasons of using different addressing modes in the computer. Discuss various displacement addressing in detail. (b) What are the characterstics of a good instruction formats? Discuss structure of typical instruction format. In a computer instruction format , the instruction length and size of an address fiels are 12 and 5 bits respectively . How many instructions will be a available in the following cases? (i) Zero address instructions (ii) One address instructions (iii) Two address instructions (c) Using as few instructions as possible , write a programs for each of the four machines to evaluate the following arithmetic expression. (A*B)+(C*) 20..The memory unit of a computer has 256K words of 32 bits each. The computer has an instruction format with four fields: an operation code field, a mode field to specify one of the seven addressing modes, a register address field to specify one of 60 processor registers and a memory address. Specify the instruction format and number of bits in each field if the instruction is in one word memory.