# GTU previous years question papers

GUJARAT TECHNOLOGICAL UNIVERSITY

B.E. Sem-Vth Examination December 2010

Subject code: 15  01

Instructions:

1. Attempt all questions.

2. Make suitable assumptions wherever necessary.

3. Figures to the right indicate full marks.

Q.1 (a) Answer the following questions in brief.

1. What is the minimum and maximum size of a segment in 8  6? How are

they computed? What is segment overlapping?

2. If AL reg. contains -5 then what will be the binary contents of AL after executing the CBW instruction

3. What is prefetch queue? What is its significance? What happens when branch instruction comes?

1. What is segmentation? List the various segment registers in 8  6 and give their role.

2. What are the steps taken by 8  6 when interrupt comes? How does find address of ISR?

Q.2 (a) Write an 8  6 assembly program to reverse the array of 10 numbers stored in

data segment using stack.

(b) Explain following 8  6 instructions with example.

LEA, DIV, SHL, LOOP

OR

(b) List the various string instructions of 8  6 and explain any two with proper example.

Q.3 (a) Explain the following with illustrations.

1. Memory banks in 8  6

2. Features of Pentium processor

(b) Define a data segment having

fib DW 10 dup(0)

as array of 10 numbers. Write a program to generate first 10 Fibonacci

numbers starting from 0 1 and store into array fib.

OR

Q.3 (a) Explain following.

1. 80386 descriptor

2. Vector table in 8  6

(b) Explain the following regarding 8  6 stack segment.

1. How to define a stack of 40 words?

2. How to initialize SS and SP?

3. How is overflow determined while push operation?

4. How does stack and data segment differ?

Q.4 (a) How 32-bit linear address is converted to physical address when paging is enabled? Illustrate with proper example.

(b) Explain the meaning and use of Selector and GDTR with proper example.

OR

Q.4 (a) Explain the Page Table and Page Directory Entry with example.

(b) Explain the following with example. Context switching, Translation-Lookaside-Buffer

Q.5 (a) What is descriptor table? What is its use? Dedifferentiate between GDT and LDT.

(b) Explain the architecture of SUN SPARC processor.

OR

Q.5 (a) What are privilege levels? What is their use? Give the role of call gates.

(b) Explain the concept of Hyper Threading and Core-2-duo regarding Intel Pentium processor.