1702it304 Computer Organization and Architecture - QB
1702it304 Computer Organization and Architecture - QB
0
(An Autonomous Institution, Affiliated to Anna University, Chennai)
COE/2019/QB
Nagore Post, Nagapattinam – 611 002, Tamilnadu.
8 Define opcode
The field that denotes the operation and format of an instruction. 2 K1
9 Draw the structure of MIPS field for a R-Type instruction format.
op rs rt rd shamt funct 2 K1
10 Show the MIPS code produced by a compiler for the instruction A[300] = h + A[300];
lw $t0,1200($t1) # Temporary reg $t0 gets A[300] 2 K2
PART – B
S.No Questions Mark BTL
CO1:
1 Briefly discuss about different types of computers 12
Desktop, Mainframe, workstation, Laptop, PDA 2
K2
Specifications and salient features 5
Applications of each type 5
2 Explain various types of operands of the Computer Hardware 12 K2
Register operand 4
Constant operand 4
Memory operand 4
3 What is instruction format? Explain different types of instruction formats used in MIPS 12 K2
architecture?
A form of representation of an instruction composed of fields of binary numbers. 2
R-Type 5
I-Type 5
4 Write short notes on the instruction in MIPS architecture to make decision. 12 K2
Definition for conditional branches 2
Different types of Loops 10
5 What is supporting procedure? Explain in detail with suitable examples 12 K2
Definition of supporting procedure 2
Explanation with examples 10
CO2: Explain the concepts of processing units
1 Explain various types of addressing modes in MIPS architectures. 12
Definition of addressing modes 2 K2
Different types of g modes with examples 10
2 Explain about the translation hierarchy for C with suitable diagram 12 K2
Diagram 8
Explanation 4
3 What is object file? Write its fields 12 K2
The assembler turns the assembly language program into an object file, which is a 2
combination of machine language instructions, data, and information needed to place
instructions properly in memory.
E.G.S. PILLAY ENGINEERING COLLEGE Rev.0
(An Autonomous Institution, Affiliated to Anna University, Chennai)
COE/2019/QB
Nagore Post, Nagapattinam – 611 002, Tamilnadu.
PART – C
S.No Questions Mark BTL
CO1: Understand the concepts of structure of computers and machine instructions
1 Explain each step associated with manufacturing Pentium 4 chips with necessary
20
diagram.
Introduction about Pentium 4 chips 5
K2
Diagram 5
Silicon ingot ---- Slicer----Blank wafer------Patterned wafers----Wafer tester
10
Dicer-----Bonding----Part tester ----- Ship to customers
2 Consider the Register $s0 contains the value 78 and $s1 contains 43. Write the MIPS 20 K3
code to perform the following operations to store the result in $t0
1. Shift $s0 register for 4 times in left direction
2. Shift $s1 register for 5 times in right direction
3. AND operation between $s0 and $s1
4. OR operation between $s0 and $s1
5. AND operation between $s0 and a constant 144
6. OR operation between $s1 and a constant 9
7. NOT Operation for $s1
8. NOR operation between $s0 and $s1
9. Mask the lest significant nibble of the value stored in $s1
10. Mask the most significant nibble of the value stored in $s1
CO2: Explain the concepts of processing units
1 How can you represent signed and unsigned numbers in MIPS format? 20
Bit wise representation for 32 bits 5 K3
LSB and MSB 5
232 bit combination 10
2 How can you perform addition and subtraction in MIPS architecture? Explain each step 20 K3
in detail.
32 bit binary addition with example 10
32 bit binary addition using 2’s complement 10