Branch & Section: CSE&IT Semester:IV Date & Time: 25.02.2016&1:15 to 4:15 PM Max. Marks: 100 Subject Code & Title: EC6504 MPMC Staff In-charge: P.Senthil Part A (10 * 2 = 20 marks) Answer All the Questions 1. Differentiate Macros and Procedures
2. Define Linking and Relocation. When it will happen?.
A linker is a program used to join together several object files into one large object file. The linker does not assign absolute addresses but only relative address starting from zero, so the programs are relocatable & can be put anywhere in memory to be run. 3. Name the hardware interrupt in 8086.[Apr/May 2013] nonmarkable interrupt(NMI) and interrupt (INTR) 4. Give the importance assembler directives [nov/dec 2011] An Assembler directive is a statement to give direction to the assembler to perform task of assembly process 5. Define segment over ride prefix. The processor places a special byte before the instruction called a prefix.No prefix is needed or placed for default association. Opcode has not changed, but
the prefix byte has modified the default association to
association with the desired segment register for this one instruction. 6. When the processor is in minimum and maximum mode. [May/June 2011] The logic level at MN/MX pin decides whether processor operates in minimum or maximum mode. 7. What will happen when a DMA request is made, while the CPU is performing a memory or I/O cycles? i. The request occurs on or before T2 state of the current cycle. ii. The current cycle is not operating over the lower byte of a word. iii. The current cycle is not the first acknowledge of an interrupt acknowledge sequence. iv. A lock instruction is not being executed. 8. Write the advantages of loosely coupled system over tightly coupled systems? 1. Each processor may have a local bus to access local memory or I/o devices so that a greater degree of parallel processing can be achieved 2. More flexible 3. Better system throughput by having more than one processor. 9. List the pointer and index registers in 8086 [nov/dec 2010] code, data and stack segments- pointer SI and DI are the index registers 10.Mention the need for coprocessor in a microprocessor based system. [May/June 2010] Coprocessor performs the complex task and reduces the burden 8086 Part B (5*16=80 marks) Answer All the Questions 11. a). Explain the internal hardware architecture of 8086 microprocessor with neat diagram.(16) [nov/dec 2013] Bus interface unit Execution unit Block diagram of 8086 (or)
b). Explain the instruction set of 8086 in detail.(16)
i. Data copy / transfer instructions ii. Arithmetic and logical instructions iii. Branch instructions iv. Loop instruction v. Machine control instruction vi. Flag manipulation instruction vii. Shift and rotate instruction viii. String instruction 12.a). (i).Explain the assembler directives of 8086 in detail.[may/june 2013] (8) Definition of assembler directives Types of assembler directives (ii)Explain the concept of interrupt processing in 8086.(8) Interrupt service routine Interrupt service (or) b).(i) Develop a program to multiply two 16 bit numbers and results stored in memory location. [May/June 2014] (8) Algorithms, flowchart and program (ii) Develop a program to transfer 10 bytes of data from memory location from 1200 H. [May/June 2014] (8) Algorithms, flowchart and program 13.a). what is addressing modes? Explain the addressing modes of 8086 in detail.[nov/dec 2010] (16) i. Immediate ii. Direct iii. Register iv. Register indirect v. Indexed vi. Register relative vii. Based indexed viii. Relative based indexed (or) b). (i).what is bus arbitration? Explain briefly the various bus arbitration schemes [May/June 2009] (8)
polling, daisy chaining and interrupt independent
(ii).compare closely coupled and loosely coupled systems. [nov/dec 2012] (8) Closely and loosely coupled: memory, I/O and system bus access comparison 14.a). Describe the maximum mode signals, bus cycles and maximum mode system configuration of 8086 microprocessor [nov/dec 2012] (16) Max mode signal description (or) b). Explain about protected mode of operation of X86 family and Pentium processors. (16) Real mode, protected mode and virtual 8086 mode Features of Pentium processor 15.a).Draw the pin diagram of 8086 CPU and explain the functions of pins in minimum and maximum mode of operation of 8086. [May/June 2012] (16) Pin diagram Pin details and functions Min/max mode operation (or) b). (i) Draw and explain the bus timing diagram for memory read cycle. (8) Bus timing diagram for read cycle Bus signals (ii) Draw and explain the bus timing diagram for memory write cycle. (8) Bus timing diagram for write cycle Bus signals