MICROPROCESSOR PROGRAMMING (314321)
MODEL QUESTION PAPERS – 5 SETS
-----------------------------------------
SET 1
Q1 Attempt any 7 (10 Marks)
1) Explain architecture of 8086 microprocessor.
2) Describe BIU and EU using neat diagram.
3) Explain memory segmentation with example.
4) State functions of segment registers.
5) Explain assembler directives.
6) Explain any two addressing modes.
7) Explain concept of pipelining.
Q2 Attempt any 4 (12 Marks)
1) Explain program development steps.
2) Explain TASM/MASM assembler working.
3) Write steps of debugging using TD/DEBUG.
4) Describe data transfer & arithmetic instructions.
Q3 Attempt any 4 (12 Marks)
1) Explain logical instructions with examples.
2) Explain branching instructions.
3) Explain string instructions.
4) Describe flag manipulation instructions.
Q4 Attempt any 4 (12 Marks)
1) ALP for addition of two 16■bit numbers.
2) ALP for subtraction using different addressing modes.
3) ALP to find smallest number from array.
4) ALP for string reverse.
Q5 Attempt any 3 (12 Marks)
1) ALP using procedures (CALL/RET).
2) ALP using macros.
3) Difference between procedure and macro.
-----------------------------------------
SET 2
Q1 Attempt any 7 (10 Marks)
1) Explain pin configuration of 8086.
2) Explain interrupt structure of 8086.
3) Explain physical address calculation.
4) Explain DOS function calls.
5) Explain stack operations.
6) Define macro and its use.
7) Explain NEAR and FAR procedures.
Q2 Attempt any 4 (12 Marks)
1) Explain assembly language tools.
2) Explain role of linker.
3) Explain addressing modes with examples.
4) Explain data transfer instructions.
Q3 Attempt any 4 (12 Marks)
1) Explain MUL and IMUL instructions.
2) Explain DIV and IDIV instructions.
3) Explain memory related instructions.
4) Explain conditional jumps.
Q4 Attempt any 4 (12 Marks)
1) ALP to multiply two 8■bit numbers.
2) ALP to divide two 8■bit numbers.
3) ALP to sort numbers (ascending).
4) ALP to find length of string.
Q5 Attempt any 3 (12 Marks)
1) ALP using procedure for arithmetic operations.
2) Macro program for arithmetic.
3) Advantages & disadvantages of macros.
-----------------------------------------
SET 3
Q1 Attempt any 7 (10 Marks)
1) Explain 8086 architecture.
2) Explain flag register.
3) Explain queue in BIU.
4) Explain assembler directives: DB, DW, EQU.
5) Explain JMP and LOOP instructions.
6) Explain memory mapped I/O.
7) Explain importance of stack.
Q2 Attempt any 4 (12 Marks)
1) Explain ALU operations in 8086.
2) Explain EXE unit pipeline.
3) Explain different types of instructions.
4) Explain DAA and DAS instructions.
Q3 Attempt any 4 (12 Marks)
1) Explain CALL instruction types.
2) Explain RET and IRET instructions.
3) Explain macro with parameters.
4) Explain procedure parameter passing.
Q4 Attempt any 4 (12 Marks)
1) ALP for factorial.
2) ALP for Fibonacci.
3) ALP to count odd & even numbers.
4) ALP for block transfer.
Q5 Attempt any 3 (12 Marks)
1) ALP using procedure for equation Z=(A+B)*(C+D)
2) String operations using macro.
3) Compare procedure and macros.
-----------------------------------------
SET 4
Q1 Attempt any 7 (10 Marks)
1) Explain internal block diagram of 8086.
2) Explain instruction queue.
3) Explain various addressing modes.
4) Explain PSW.
5) Explain assembler and linker.
6) Explain XLAT instruction.
7) Explain concept of re-entrant procedures.
Q2 Attempt any 4 (12 Marks)
1) Explain string manipulation instructions.
2) Explain hardware interrupts.
3) Explain BCD arithmetic.
4) Explain LOOP instructions.
Q3 Attempt any 4 (12 Marks)
1) Explain conditional instructions.
2) Explain register addressing with examples.
3) Describe flag affected by arithmetic.
4) Explain PUSH/POP instructions.
Q4 Attempt any 4 (12 Marks)
1) ALP to convert HEX to ASCII.
2) ALP to convert ASCII to HEX.
3) ALP to copy block of bytes.
4) ALP to compare two strings.
Q5 Attempt any 3 (12 Marks)
1) ALP using multi■module procedures.
2) ALP using advanced macros.
3) Macro vs Procedure comparison.
-----------------------------------------
SET 5
Q1 Attempt any 7 (10 Marks)
1) Explain pipelining in 8086.
2) Explain segment override prefix.
3) Explain addressing mode with diagrams.
4) Explain LOOP and LOOPNZ instructions.
5) Explain status flags.
6) Explain memory segmentation.
7) Explain string processing features.
Q2 Attempt any 4 (12 Marks)
1) Explain DIRECTION flag.
2) Explain shift and rotate instructions.
3) Explain instruction format with diagram.
4) Explain TASM/MASM model programs.
Q3 Attempt any 4 (12 Marks)
1) Explain direct, indirect addressing modes.
2) Explain SAL/SAR instructions.
3) Explain RCL/RCR instructions.
4) Explain JUMP instructions.
Q4 Attempt any 4 (12 Marks)
1) ALP to check number positive/negative.
2) ALP to count number of 0s and 1s.
3) ALP to concatenate two strings.
4) ALP to reverse array.
Q5 Attempt any 3 (12 Marks)
1) ALP using procedure for string tasks.
2) ALP using macros for block tasks.
3) Advantages of modular programming.