22415 -sample-question-paper- Microprocessor I Scheme 4th Semester Computer

Q.1) Attempt any FIVE of the following.                                                               10 Marks
a)       State the function of ALE and Ready pin of 8086.
b)       What is the role TEST instruction in Assembly language programming?
c)       List the major steps in developing an Assembly language program.
d)       Define Procedure and write its syntax.
e)       Draw the flowchart for Multiplication of two 16 bit numbers.
f)        What is stack? state its significance.
g)       What is the use of REP in string related instruction?

Q.2) Attempt any THREE of the following.                                                          12 Marks
a)     Give the difference between Inter segment and Intra segment CALL.
b)     What is pipelining? How it improves the processing speed? 
c)     State the Assembler Directives used in 8086 programming and describe the function of any two.
d)     Draw the Machine language instruction format for Register to Register transfer and state the function of each bit.

Q.3) Attempt any THREE of the following.                                                          12 Marks
a)     Describe Memory segmentation in 8086 and list its advantages.
b)     Write an ALP to perform 32 bit by 16-bit division of unsigned numbers.
c)     Write an ALP to count number of ‘1’ in 16-bit number.
d)     Compare Procedure and macro based on i) length of code ii) generation of object code iii) Calling method iv) Passing parameter.

Q.4) Attempt any THREE of the following.                                                          12 Marks
a)     Draw and explain the flag register of 8086.
b)     Write an ALP to count the number of positive and negative numbers in array.
c)     Write an ALP to find the smallest number in the Array.
d)     Write an ALP for addition of two 8 bit BCD numbers using MACRO.
e)     Describe re-entrant and Recursive procedure with diagram.

Q.5) Attempt any TWO of the following.                                                              12 Marks
a)     Define logical and effective address. Describe physical address generation process in 8086.Calculate physical address by taking suitable DS, CS and IP.
b)     Describe how an assembly language program is developed and debugged using system tools such as editors, assemblers, linkers and debuggers.
c)     Describe any six Addressing modes of 8086 with suitable example.

Q.6) Attempt any TWO of the following.                                                              12 Marks
a)     With examples, describe any four String instructions in 8086 assembly language.
b)     Select the instruction for each of the following

  1.  Rotate register BH left 4 times. 
  2. Multiply AL by 08H.
  3. Signed division of BL and AL. 
  4. Move 4000H in BX register.
  5. Load offset 1000H in register BX.
  6. Rotate BX to left 4 times through carry.
c)     Write an ALP for concatenation of two strings. Draw flowchart and assume suitable data.