Birla Institute of Technology (BIT Mesra) 2006 COMPUTER ORGANIZATION & ARCHITECTURES - Question Paper
Saturday, 19 January 2013 10:45Web
Birla Institute of Technology & Science, Pilani
Distance Learning Programmes Division
Second Semester 2006-2007
Mid-Semester Test
(EC-1 Regular)
Course No. : IS ZC351
Course Title : COMPUTER ORGANIZATION & ARCHITECTURES
No. of Pages =1
No. of ques. = seven
Nature of examination : Closed Book
Weightage : 40%
Duration : two Hours
Date of examination : 04/02/2007 (FN)
Note:
1. Please follow all the Instructions to Candidates provided on the cover page of the ans book.
2. All parts of a ques. should be answered consecutively. every ans should begin from a fresh page.
3. Mobile phones and computers of any type should not be brought inside the exam hall.
4. Use of any unfair means will outcome in severe disciplinary action.
Q.1. provided the subsequent memory values and a one-address machine with an accumulator:
Word 20 contains 40
Word 30 contains 50
Word 40 contains 60
Word 50 contains 70
What values do the subsequent instructions load into the accumulator?
1) Load Accumulator Immediate 20
2) Load Accumulator Direct 20
3) Load Accumulator Indirect 20 (5)
Q.2. Write a program to evaluate the arithmetic expression, for a 3-address machine with three-address operation instructions.
(5)
Q.3. For the addition of these 2 signed numbers represented in 2’s complement form what will be the value of the subsequent flags: Carry, Sign, Overflow
(i) 1110 0000 + 0011 0100
(ii) 1000 0000 + 1000 0000 (6)
Q.4. provided A= -6 and B= -8 in two’s complement notation, calculate the product of A and B by using Booth’s algorithm. Show all the steps involved. (6)
Q.5. discuss the difference ranging from LEA BX, DATA and MOV BX, OFFSET DATA instructions. (5)
Q.6. Name atleast three kinds of displacement based addressing modes. (3)
Q.7. Write an 8086 assembly program that converts a number stored as an word variable DECI, where 0 <= DECI <= 15 to an ASCII character in the byte variable HEXD which is its hexadecimal value.
For instance, if DECI = three then HEXD = ‘3’ and if DECI = 14 then HEXD = ‘E’. (10)
**********
Earning: Approval pending. |