You are on page 1of 1

School of Computer Science & Engineering

Programme Name & Branch: B. Tech CSE


Course Name & Code: CSE2001 –Computer Architecture and Organization
Tutorial Sheet-1

1. Write an Assembly language programming for the expression A=(B-C) *D using IAS
computer Instruction set and interpret to the flow of IAS computer. Make necessary
assumptions.

2. Evaluate the expression a = b * c + d * e. (feel free to use a temporary variable, called,


say T, if you feel you need one). Assuming that addresses are 16 bits, data values are
16 bits and opcodes are 8 bits, compute the size of your program in bytes and the amount
of memory traffic the program would generate, in bytes. Compute the traffic due to
instruction fetch and instruction execution separately.

3. Give Booth algorithm in flowchart form for multiplication of signed 2’s complement numbers.
Show the step-by-step multiplication process (Booth algorithm) for given numbers
(-13) *(-12).

4. A benchmark program is run on a 40 MHz processor. The executed program consists


of 100,000 instruction executions, with the following instruction mix and clock cycle
count: Determine the effective CPI, MIPS rate, and execution time for this program.

5. 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 seven addressing modes, a register address field to specify one of 60 processor
registers, and a memory address. Specify the instruction format and the number of bits
in each field if the instruction is in one memory word.

You might also like