Unit 1


8086 MICROPROCESSOR Introduction to 8086 – Microprocessor architecture – Addressing modes - Instruction set and assembler directives – Assembly language programming – Modular Programming - Linking and Relocation - Stacks - Procedures – Macros – Interrupts and interrupt service routines – Byte and String Manipulation.

Part A

# Question
1 Outline the different type of addressing modes of 8086
2 Express physical address generated in 8086?
3 State in your own words the 8086 instructions used for BCD arithmetic.
4 Classify the program control instructions available in 8086
5 Describe about program counter and stack pointer register in 8086.
6 Show how the 2 byte INT instruction can be applied for debugging.
7 How would you use carry and zero flags that reflect the result of the instruction CMP BX, CX?
8 Mentionanyfourmiscellaneousinstructionsin16bit processor.
9 Point out the string instructions available in 8086?
10 The offset address of data is 341BH and the data segment value is 123AH. Examine the physical address of the data?
11 Infer about procedures.
12 Briefly describe the term Macros.
13 Conclude about modular programming.
14 Elaborate on any four string instructions.
15 Formulate the theory for why string primitives are used.

Part B

# Question
1 (i) Outline the use of the following assembler directives: DD, ASSUME, EQU. (6) (ii) Explain about the Interrupt handling process in 8086. (7)
2 (i) Write an 8086 ALP to convert BCD data to Binary data. (6) (ii) Identify the conditions which cause the 8086 to perform type 0 and type 1 interrupt. (7)
3 (i) Describe the internal architecture of 8086 Microprocessor with neat diagrams. (8) (ii) Recall about assembler directives. (5)
4 Examine the various addressing modes available in 8086. Explain each mode with an example. (13)
5 (i)Explainthedatatransfer,arithmeticandbranch instructions of 8086 microprocessor with examples. (7) (ii) Analyze an 8086 ALP to find the sum of numbers in an array of 10 elements. (6)
6 Defineinterruptsandtheirtypes.Writeindetailabout interrupt service routine. (13)
7 Paraphrase about procedures, macros and interrupt service routines. (13)
8 (i) Distinguish between call and subroutine. (5) (ii)Give an example for the 8086 instructions: AAA, CWD, JNBE, LAHF, MOVS, RCL, ROL and SAHF. (8)
9 (i) Write an 8086 ALP to check whether the given string is palindrome or not. (6) (ii)Criticizeaboutinstructionformatsandinstruction execution timing. (7)
10 Deduce functional description of 8086 microprocessor with a neat diagram. (13)
11 (i) How does one define and call macro parameters of 8086 microprocessor? (6) (ii) Express the operand formats for the addressing modes with examples. (7)
12 Illustrate the classification of 8086 instructions based on its word length. (13)
13 (i) Generalize the concept of byte and string manipulation with an example. (7) (ii) Develop a program to transfer 50 bytes of data from memory location starting from 2000H to 3000H using the string instruction MOVSB. (6)
14 (i) List the need for modular programming. (5) (ii)Relatehowtocreateandexecuteaprogramusing modules. (8)