MICROPROCESSOR. Question Bank

Size: px
Start display at page:

Download "MICROPROCESSOR. Question Bank"

Transcription

1 MICROPROCESSOR Question Bank 1.Discuss the development of Intel 86 family of microprocessors. Briefly indicate theadditional features introduced at each stage of development from 8086 to Pentium IV. Dec 2016(06 Marks) 2.What is microprocessor? Explain how data, address and control buses interconnect various system components. June 2016(06 Marks),Dec 2012(06 Marks) 3.Draw and explain the programming model of 8086 through Pentium processors Dec 2015(06 Marks) 4.Explain the program model visible register organization of 8086 µp Dec 2012(07 Marks) 5.What is conventional memory? Explain segments and offsets. List default segment and offset register pairs. Dec 2012(07 Marks) 6.Briefly explain the flat mode memory model with a neat diagram. June 2013(06 Marks) 7.What is pipelining? How is it achieved in 8086? June2013(6 marks) 8.Explain the architecture of 8086with a neat diagram along with the functions of various blocks.dec 2017(6 marks) 9.With a neat sketch explain architecture of Dec 2016(06 Marks) 10.Explain in detail with a neat figure the working of the internal architecture of the 8086MP. June 2016(08 Marks), June 2014(8 Marks) 11.Explain with neat block diagram the working principle of 8086 architecture Dec 2015(8 Marks) 12.Explain Execution unit and Bus Interface Unit of 8086 µp with a neat diagram June 2017(08Marks) 13.Briefly explain various multipurpose registers in 8086 Dec 2013(6marks) 14.Discuss the functions of segment registers of 8086 with examples. Give some advantages of memory segmentation. June2013(8 marks) 15.What is real mode addressing?explain default segment offset registers. Dec2013(06 Marks) 16.Explain the real mode memory addressing of 8086 processor. June 2015(10 Marks) 17.Explain with a neat sketch the memory map of a personal computer system. Dec 2016(06 Marks) 18.Discuss the flag register of 8086 processor using suitable examples. Dec 2015(06 Marks) 19.Explain in detail the various bits of a flag register for 8086 MP. June 2014 (06 Marks) 20.Giving the format of the 8086 microprocessor s flag register, explain in detail each flag bit June 2016(05 Marks) 21.Explain the flags of 8086 processor using suitable examples. June 2012(06 Marks) 22.Explain all the bits of a flag register for 8086 MP with a neat diagram. Show the setting and resetting of the flag bits with a suitable example. June 2017(06 Marks) 23.Explain with an example why and how a 20 bit address is generated in June 2014(05 Marks) 24.Define physical address. Discuss how physical address is generated in 8086 processor. June 2015(04 Marks) 25.Explain how virtual address is translated into physical address with a neat diagram. June 2013(08 Marks) PESIT-BSC,Education for the real world Page 1

2 26.Show the memory dump for the following data segment DATA ORG 0010H DATA1 DB 25 DATA2 DB B DATA3 DB 12H ORG 0020H DATA4 DB 2591 ORG 0030H DATA5 DW 9, 2, 7, 0CH, B, 5 ORG 0040H DATA6 DW 4 DUP (00H) June 2017(04 Marks) 27.With an example distinguish between physical address, logical address and offset address if CS=2000H, DS=3000H,SS=4000H,ES=5000H,BX=0020H,BP=0030Hfind the physical address for i) MOV AL, (BP) ii)mov CX,(BX)Dec 2017(4 marks) 28.Explain different addressing modes of 8086 i. Register indirect ii. Based indexed indirect iii. Direct memory Dec 2017(6 marks) 29.Calculate the physical address for the following instructions. Assume DS = 1000H, SS = 7000H, ES 4000H, BP = 0100H, SI = 0020H, DI = 0200H, BX = 0700H, Values = 0500H. i) MOV AX, (BX)(SI) ii) ADD AL, (BP + 40H) iii) MOV CX, Values (BX)(DI) iv) MOV ES: (1000H),20H.Dec 2016(08 Marks) 30.Explain how virtual address is translated into physical address in 8086 microprocessor. CS=2000H, DS = 4000H, ES = 6000H, SS =8000H, BP = 0200H, SI = 0100H, DI = 0200H, BX = 0300H, LIST = 0014H. i. MOV DL,LIST(SI) ii. MOV AL,LIST(BX)(SI) iii. MOV AH,CS:(BX) iv. MOV CL,23H(BP)June 2016(10 Marks) 31.For DS=1200H,DI=2024H,ARRAY=0012H,BX=1012H find the physical address for the following instructions i. MOV AL,ARRAY(BX) ii. MOV AL,ARRAY(BX)(DI) Dec 2014(04 Marks) 32.What are assembler directives? Explain any four assembler directives with suitable examples Dec 2015(06 Marks) 33.What are assembler directives? Explain the following assembler directives with an example i) PROC ii) ASSUME. iii) PTR Dec 2017(07 Marks) 34.What do you mean by assembler directives? Explain the following assembler directives with an example i) ORG ii)proc and ENDP iii) OFFSET June 2017(06 Marks) 35.Explain with examples the following assembler directives (any four): i) ORG ii) DQ iii) PRO and ENDP iv) TYP 0) EVEN. June 2014(08 Marks) 36.Explain the following assembler directives with example. PESIT-BSC,Education for the real world Page 2

3 i) ASSUME ii) PUBLIC AND EXTRN iii) MACRO AND ENDM iv) MODEL. Dec 2016(10 Marks) 37.What are assembler directives? Explain the following assembler directives with an example i) PUBLIC ii) ORG iii) DW iv) ASSUME. June 2015(07 Marks) 38.Explain the following assembler directives with examples: i) DB ii) EXTRN iii) PROC iv) SEGMENT. June 2013(8 Marks) 39.Explain the following assembler directives with examplesi) EXTRN ii) PTR 40.Explain the following assembler directives: i) ASSUME ii) PROC iii) ENDS iv) DB. June 2012(08 Marks) 41.Explain public and extrn directives of assembler and write ALP to read data through keyboard using external procedure, save the keycode in public data segment. June 2012(08 Marks) 42.Define modular programming. Using the concept of public and extrn directives write aprogram which reads data in a program in one module which is then used by another module. June 2014(06 Marks) 43.What is meant by segment override prefix?explain with examples. June 2015(03 Marks) 44.What is segment override prefix? Illustrate the same with example.dec 2013(05 Marks) 45.What is meant by segment override prefix? Explain with illustration. Dec2016(04Marks) 46.What do you mean by segment override prefix? Explain following assembler directives: i) ASSUME ii) SMALL iii) PROC iv) EQUv) LOCAL. 47.Explain different addressing modes of 8086 with suitable examples. June 2017(8 Marks) 48.Discuss the following Addressing modes of8086 with example. i) Register indirect ii) Immediate iii) Base plus index. Dec 2016(06 Marks) 49.What are the different program memory addressing modes? Explain with example. Dec 2016(06 Marks) 50.Explain the following addressing modes with examples: i. Directaddressing ii. Immediate addressing iii. Register indirectaddressing iv. Base plus indexaddressing v. Base relative plus indexaddressing June 2016(10 Marks) 51.Explain Data related addressing modes of8086, with an example June 2015(08 Marks) 52.Explain with examples the various data related addressing modesdec 2014(08 Marks) 53.Explain any five addressing modes in detail with examples that are supported in 8086 MP. June 2014(10 Marks) 54.Briefly explain various addressing modes of 8086 with suitable examples. Dec 2013(06 Marks) 55.What do the following MOV instructions accomplish? MOV RAX, RCX MOV ESP, (BSP) MOV AX, 234lH MOV CS, AX Dec 2013(04 Marks) 56.Identify the addressing modes of the following instructions and explain them briefly: i) MOV WORD PTR (SI), 20H ii) MOV ES: (l000h), 10H iii) MOV CX, NUM(BX + DI) June 2013(06 Marks) 57.Identify the addressing modes of the following instructions and explain them briefly: i) MOV WORD PTR (SI), 20H PESIT-BSC,Education for the real world Page 3

4 ii) MOV ES: (l000h), 10H iii) MOV CX, NUM(BX + DI) June2013(6 marks) 58.Explain with examples the following addressing modes: i) Scaled - indexed addressing mode ii) RIP relative addressing mode iii) Relative program memory addressing mode. Dec 2012(06 Marks) 59.Discuss the following addressing modes with examples: vi. Direct vii. Register indirect viii. Base plus index ix. Immediate x. Scaled indexed June 2012(08 Marks) 60.Write and explain machine code for instruction MOV DL, (BX) Dec 2013 (10 Marks) 61.Write the instruction template (format) for the following instructions. i) MOV AX, DX ii) MOV DX, (BP) 0200H iii) MOV AL, (BX)(DI)Dec 2016(06 Marks) PESIT-BSC,Education for the real world Page 4

5 MODULE 2 1.Explain the syntax of the following instructions with an example: 2.i) DAA ii) MUL iii) AND iv) SHRiv) CMP v) AAM. Dec 2017 (6 marks) 3.Explain the following instructions with an example: i) XCHG ii) LEA iii) LAHF iv) CMP iv) LODSB v) STOSB. June 2017 (6 marks) 4.Explain the following instructions with examples: i. DAA ii. RLC iii. AAM iv. MOVSB June 2016(6 marks) 5.Discuss the following instructions with examples i) SHR ii)shl iii) RCR iv)test Dec 2015 (06 Marks) 6.Explain the following instructions with an example: i) XLAT ii) LEA iii) CMP iv) SAHF. Dec 2015 (08 Marks) 7.Explain the following instructions with an example: i) XLAT ii) LEA iii) CMP iv) MUL v) TEST. June 2015(10 Marks) 8.Explain the following statements to control the flow of the program with examples i).if ii).endif iii).repeat iv).until v).while vi).endw Dec 2014(6 Marks) 9.Describe the operation of the following instructions with examples 10.i) LEA ii) XLAT iii) DAA iv) IMUL Dec 2014 (08 Marks) 11.Explain the following instructionswith examples: i) CMP ii) LAMF iii) XCHG iv)lea v) PUSH AX vi) LDS DI, (3000H). June 2014 (06 Marks) 12.Describe the following instructions with an example: i) LEA ii) XCHG iii) DAA iv) MUL June 2013(08 Marks) 13.Explain the following instructions with examples any four: i) DAA ii) MUL iii) ADC iv) SHR v) RCL June 2014(8 marks) 14.Describe the operation of each of the following instruction in brief i) PUSHF ii) MOVS iii)lahf iv)div v)xchg Dec 2013 (5 Marks) 15.Explain the following instructions with an example for each: i) LEA ii) XCHG iii) XLAT iv) DAA v) AAA. Dec 2012(05 Marks) 16.Explain the syntax of the following instructions with an example: i) AAA ii) SHL iii) DIV iv) RCR. Dec 2017 (4 marks) 17.Describe the following instruction with suitable examples: i)push ii) MUL iii) IN iv) AAA. June 2012(08 Marks) 18.Explainthe working of XLAT instruction; illustrate its importance using a suitable program. June 2016 (04 Marks) 19.Bring out the importance of XLAT instruction using a suitable program. June 2012 (04 Marks) 20.Explain m/c control instructions with examples. Dec 2012 (06 Marks) 21.Explain with an example how multiple if then else statement can be implemented using ALP. Dec 2013(10 Marks) 22.Briefly explain any four bit test instructions. June 2012(04 Marks) 23.Discuss shift and rotate instructions with an example. June 2015(8 marks) PESIT-BSC,Education for the real world Page 5

6 24.With format explain rotate instructions. Give examples to rotate right by 1-bit and rotate left by 5-bits. Dec 2012(06 Marks) 25.Explain rotate instructions with suitable examples June 2017(06 Marks) 26.With format explain rotate instructions. Give examples to rotate right by 2 bit and rotate left by 4 bits Dec 2014(10 Marks) 27.Discuss with examples unconditional and conditional branching instructions. Dec 2012 (04 Marks) 28.With syntax explain the following control transfer instructions: i. Conditional transfer ii. Unconditional transfer instruction Dec 2017(08 Marks) 29.What is stack? What is the use of stack memory? Explain the execution of push and pop instructions. Dec 2012 (06 Marks) 30.Explain the working of PUSH and POP instructionindicating the status of the stack after the execution of the instructions. June 2016 (4 Marks) 31.Explain the execution of PUSH and POP instruction with respect to stack addressing mode Dec 2015 (06 Marks) 32.What is a procedure? Explain the sequence of operation that takes place when a procedure iscalled and returned. Dec 2012 (04 Marks) 33.What is a procedure?explain the sequence of operation that takes place during the execution of CALL and RET instructions. June 2016 (04 Marks) 34.Explain FAR procedure and NEAR procedure with an examplejune 2015(06 Marks) 35.Explain the different types of jumps and call instructions of 8086 June 2014(6 marks) 36.Differentiate between short, near and far jump instructions with two examples of each. Dec 2013(10 Marks),June 2017 (10 marks) 37.Explain short, near and far jump instructions with examples Dec 2015(8Marks) 38.Mention the differences between i) NEAR and FAR procedures ii) Procedures and macros Dec 2014(8 Marks) 39.Differentiate between procedures and macros. June 2013(4 Marks),June 2017 (06 Marks),Dec 2015(06 Marks),June 2014 (04 Marks) 40.What are differences between a PROCEDURE and a MACRO? June 2015(04 Marks) 41.Distinguish between 'Macros' and Procedures' with example for each.dec2016(08 Marks) 42.Differentiate between: (i) Assembler and linker (ii) Public and EXTRN(iii) Macros and Procedure. Dec 2013 (06 Marks) 43.Define modular programming. Explain various phases in program development and execution in the context of modular programming. June 2015(08 Marks) 44.What are the sources of interrupts? Briefly explain the steps taken by a processor to execute an interrupt instruction June 2013(8 Marks) 45.Draw and discuss the Interrupt structure of June 2015(06 Marks) 46.Explain any 3 types of 8086 interrupts Dec 2015(06 Marks) 47.Explain interrupt vector table in brief June 2012 (04 Marks) 48.Explain briefly the interrupt vector table of 8086 microprocessor Dec 2014(06 Marks) 49.What is an interrupt? Explain various types with an interrupt vector table Dec 2017(6 Marks) 50.Explain structure of 8086 interrupt vector table with neat diagram Dec 2013 (05 Marks) 51.Give the state of all the status flag bits after the addition of 30A2H with F01CH. 52.Write assembly language program to add 5 bytes of data stored in data segment Dec 2017(04 Marks) PESIT-BSC,Education for the real world Page 6

7 53.Write an ALP to sort a given set of 16 bit numbers in ascending order using any sorting method. Dec 2017 (6 marks) 54.Write an ALP using 8086 instructions to count the numbers of onesand zeros in a given 8 bit number using rotate instructions. Dec 2017 (4 marks) 55.Write an assembly level program (ALP) to add two bytes of data stored at DATA1 and DATA2 and save the result in SUM with comments. Identify all the directives found in the program. June 2017 (06 Marks) 56.With a suitable program show how packed BCD can be converted to ASCII June 2017(04 Marks) 57.Assume that there is a class of five people. With the following grades 9,87,96,45,75.Write an ALP to find the highest grade June 2017(06 Marks) 58.Write an ALP that adds the following two multiword numbers and saves the result: DATA1-548FB9963CE7H DATA2-3FCD4FA23B8DH June 2017(08 Marks) 59.Write an ALP to add 10 non negative 8 bit numbers June 2017 (8 marks) 60.Write an ALP to compute the factorial of a given 8-bit number using recursion. Dec2016(06 Marks) 61.Write an ALP to sort a given set of N numbers in ascending order using bubble sort. Dec 2016(06 Marks) 62.Write an ALP to sort five 8 bit numbers stored in an array in ascending order using bubble sort. June 2016(6 marks) 63.Write an ALP using 8086 instructions to count the numbers of ones in a given 8 bit number and store the result in memory location. June 2016(7 marks) 64.Write an 8086 ALP using DOS interrupt to read a two hexadecimal number and display the same on monitor June 2015(08Marks) 65.Write an 8086 ALP to find the factorial of a given number through recursive procedure Dec 2014(06 Marks) 66.Write an ALP to compute factorial of singledigit positive number using recursive Procedure Dec 2013(04 Marks) 67.Write a 8086 ALP to convert a given binary number into its equivalent unpacked decimal and ASCII Dec 2014(04 Marks) 68.Write an ALP using 8086 instructions to reverse a four digit number. June 2013(8 Marks) 69.Write an ALP using 8086 instructions to search a number placed in locationarray often numbers placed at location ARRAY. Give suitable messages.june 2013(08 Marks) 70.Write an ALP using 8086 instructions to generate and add the first l0 even numbers and save the numbers and result in memory location NUM and SUM June 2012 (08 Marks) 71.Write an ALP using 8086 instructions to count the numbers of zeros in a given 8 bit number and store the result in memory location 'Res'. June 2012(08 Marks) 72.Write bubble sort program using 8086 assembly instructions. Dec 2012 (08 Marks) PESIT-BSC,Education for the real world Page 7

8 MODULE 3 1. Explain the variousstring manipulation instructions with examples. June 2014(6 marks) 2. Briefly explain the various string comparison instructions Dec 2015 (06 Marks) 3. Illustrate a simple program that uses a character string defined with and display on a 4. separate line. Dec 2013(10 Marks) 5. Write an ALP to perform the following i. Clear the screen ii. iii. Set the cursor at row 8 and column 5 of the screen Prompt There is a message for you from VTU: To read it enter Y. If the user enters Y or y then the message Hello! All the best for your exams will appear on the screen. If the user enters any other key, then the prompt No more messages for you should appear on the next line June 2017(08 Marks) 6. What is inline assembly? Explain its need. Dec 2015(06 Marks) 7. Describe demultiplexing of multiplexed AD bus with neat diagram. June 2012 (06 Marks) 8. With neat timing diagram, explain memory read cycle. June 2012(08 Marks) 9. Using timing diagram, explain the I/Owrite bus cycle in 8086 microprocessor. Dec 2012 (06 Marks) 10. Explain how address demultiplexing is done in 8086 processor based systems. June 2013 (07 Marks) 11. With a neat timing diagram, explain memory read cycle. June 2013 (08 Marks) 12. Explain minimum mode PINS of 8086 and minimum mode configuration of 8086 with neatdiagram. Dec 2013 (10 Marks) 13. Describe internal block diagram of 8288 Bus controller with explanation of each pins. Dec 2013 (06 Marks) 14. With neat timing diagram, explain the I/O read operation. Dec 2013 (04 Marks) 15. Explain in detail with a neat figure demultiplexing of address and data lines in June 2014(06 Marks) 16. Explain with a neat figure the working of 8086 in MIN mode configuration. June 2014(08 Marks) 17. With a neat diagram explain the minimum mode system of 8086 microprocessor Dec 2014 (07 Marks) 18. Explain the timing diagram of read operation in 8086 microprocessor Dec 2014 (05 Marks) 19. Indicate the signals which are different when 8086 in minimum mode and in maximum mode. June 2015 (04 Marks) 20. Describe the working of 8086 in minimum mode configuration. June 2015(10 Marks) 21. With a neat diagram explain the minimum mode system of 8086 system Dec 2015 (07 Marks) 22. Explain bus timings of read and write operations in minimum mode of 8086 system Dec 2015 (05 Marks) 23. Interface 512 KB RAM to 8088 MP using 64 KB RAM using 3:8 decoder with starting address of memory as 80000H. Clearly mention decoding logic and memory map. June 2012(08 Marks) 24. Explain memory bank selection in 8086 and mention the number of memory bank in 80x86 MPs. June 2012 (06 Marks) 25. Differentiate between memory mapped I/O and I/O mapped I/O (isolated I/O). June 2012(06 Marks) PESIT-BSC,Education for the real world Page 8

9 26. Explain how 74LS138 decodes 2732 EPROMS for 32K x 8 section of memory. Assume the starting address is 40000H. Give the detailed memory map. Dec 2012 (06 Marks) 27. What is flash memory? Explain how a flash memory is interfaced to 8086 µp Dec 2012 (06 Marks) 28. Explain decoder configurations to enable ports at address E8H to EFH. Dec 2012(08 Marks) 29. List various memory devices. June 2013(02 Marks) 30. What is memory address decoding? Design a memory system for 8086 for the following specifications: i. 32 Kbytes EPROM using 16 Kbyte devices. ii. 64 Kbytes SRAM using 16 Kbyte devices.draw the memory map. June 2013(10 Marks) 31. With neat diagram, explain simple NAND gate address decoding logic. Dec 2013(10 Marks) 32. Differentiate between Memory mapped I/O and direct I/O. Dec 2013(05 Marks) 33. Briefly explain handshaking or polling with necessary diagrams. Dec 2013(05 Marks) 34. Differentiate between memory mapped 1/0 and 1/0 mapped I/O June 2014 (04 Marks) 35. Design an 8086 based system to interface with i) 64K byte EPROM; ii) 64K byte RAM. Assume RAM is connected at 30000h and EPROM at FOOOOH. June 2014(08 Marks) 36. Explain how a 3-8 line decoder could be used to interface eight 8K memory chips. June 2014 (08 Marks) 37. How 8086 microprocessor selects 8 or 16 bit data from odd and even memory banks Dec 2014(04 Marks) 38. Interface 8KX8 ROM and 4KX 8 RAM to 8086 microprocessor. Assume the starting address for ROM is 40000H and starting address for RAM is 44000H Dec 2014(10 Marks) 39. Mention the differences between memory mapped I/O and isolated mapped I/O. Dec 2014(06 Marks) 40. Discuss in brief commonly used memories. June 2015(08 Marks) 41. With neat diagram, explain the linear decoding techniques.june 2015(08 Marks) 42. Compare and contrast memory mapped I/O to I/O mapped I/O. June 2015(04 Marks) 43. Design an 8086 based system with the following specifications 44. i) 64K byte EPROM; ii) 64K byte RAM. Draw the complete schematic diagram of the design indicating memory map Dec 2015(08 Marks) 45. Differentiate between memory mapped I/O and I/O mapped I/O Dec 2015(04 Marks) 46. Explain any two methods of address decoding techniques with schematic diagram Dec 2015(08 Marks) 47. Interface 8 digit seven segment LED display to 8088 MP through 8255 PPI. Write initialization sequence for 8255 with allport as output ports in mode 0 and address of device is FF00h. June 2012(08 Marks) 48. Write an 8086 ALP to read a byte of data from port A and port B. Add the data and save the result in a memory location. Dec 2012(05 Marks) 49. Explain command word format of 82C55 in mode-0. Write the control word format to initialize to set PC3 and reset PC7. Dec 2012(07 Marks) 50. Briefly explain the control word format of 8255 in I/O mode and BSR mode. Give the control word format to program Port A and Port C lower as input and Port B and Port C upper as output parts in mode 0. June 2013(10 Marks) PESIT-BSC,Education for the real world Page 9

10 51. Write an ALP using 8086 instructions to read a byte of data from Port A and display its parity status as 00H or FFH for odd and even parity, on Port B. June 2013 (05 Marks) 52. Explain pin-out of 82C55 along with different operational modes. Dec 2013(05 Marks) 53. Explain different signals of 8255 PPI and control words. June 2014 (08 Marks) 54. Explain with a neat diagram the interfacing of stepper motor to 8086 using 8255 in detail. June 2014(06 Marks) 55. With a neat block diagram explain 82C55 PPI. Write the control words for i)port A as input, PORT B as output, PORT C as output, ii) PORT A as output, PORT B as input, PORT C as input in simple I/O mode. Dec 2014(08 Marks) 56. With functional block diagram, explain working principle of8255 PPI. June 2015(08 Marks) 57. Explain with a neat block diagram the working operation of 8255 PPI Dec 2015(08 Marks) PESIT-BSC,Education for the real world Page 10

11 MODULE 4 1. Compare microprocessor with microcontroller Dec2017(04Marks) 2. Explain the programmer s model of ARM processor with complete register set available. Dec2017(04Marks) 3. Explain registers under various modes ARM processor organisation Dec2017(04Marks) 4. With diagram explain the various blocks in a 3 stage pipeline of ARM processor organisation Dec2017(04Marks) 5. Explain the structure of ARM cross development tool kit Dec2017(06Marks) 6. Describe the various modes of operation of ARM processor Dec2017(05Marks) 7. Explain the various fields in the Current Program Status Register Dec2017(05Marks) 8. Differentiate between CISC and RISC processorsjune2017(06marks) 9. Explain ARM core data flow model with a neat diagramjune2017(06marks) 10. Discuss briefly how coprocessors can be attached to ARM processor June2017(04Marks) 11. Explain the architecture of a typical embedded device based on ARM core with a neat diagram June2017(08Marks) 12. Explain the concept of pipeline and interrupts used in ARM processor June2017(08Marks) PESIT-BSC,Education for the real world Page 11

12 MODULE 5 1. Explain the following instructions of ARM processor with a suitable example Dec 2017(08 Marks) i. MVN ii. RSB iii. ORR iv. MLA v. LDR 2. Write a program to display message HELLO WORLD using ARM7 instructions Dec 2017(04 Marks) 3. Explain various formats of ADD instructions based on operands of ARM7 processor Dec 2017(04 Marks) 4. If r 5 =5,r 7 =8 use the following instructions to write the values of r5 and r7 after execution of MOVr 7, r 5, LSL#2 Dec 2017(03 Marks) 5. Explain software interrupt instruction of ARM processor Dec 2017(04 Marks) 6. Explain various types of multiply instructions with syntax and example Dec 2017(04 Marks) 7. What are the salient features of ARM instruction set Dec 2017(05 Marks) 8. If r 1 =0b1111,r 2 =0b0101,find r 0 after BIC r 0,r 1,r 2 Dec 2017(04 Marks) 9. Write an ALP to copy a block of data (BLOCK1) to another block (Block2) using ARM instructions June2017(08Marks) 10. Write an ALP using ARM instructions that calls subroutine fact to find factorial of a given number June2017(08Marks) 11. Write short notes on memory access and branch instructions of ARM controller June2017(08Marks) 12. Explain the following instructions of ARM processor with a suitable example June2017(08 Marks) i. MLA ii. QADD iii. SMULL iv. LSL PESIT-BSC,Education for the real world Page 12

Question Bank Unit-1

Question Bank Unit-1 Question Bank Unit-1 1.Define a microprocessor. Explain in detail the evolution of microprocessor in microprocessor age from 4004 MP to core-2 system. 2.What is microprocessor? Explain how data, address

More information

PESIT Bangalore South Campus

PESIT Bangalore South Campus INTERNAL ASSESSMENT TEST 2 Date : 02/04/2018 Max Marks: 40 Subject & Code : Microprocessor (15CS44) Section : IV A and B Name of faculty: Deepti.C Time : 8:30 am-10:00 am Note: Note: Answer any five complete

More information

Intel 8086: Instruction Set

Intel 8086: Instruction Set IUST-EE (Chapter 6) Intel 8086: Instruction Set 1 Outline Instruction Set Data Transfer Instructions Arithmetic Instructions Bit Manipulation Instructions String Instructions Unconditional Transfer Instruction

More information

L1 Remember, L2 Understand, L3 - Apply, L4 Analyze, L5 Evaluate, L6 Create

L1 Remember, L2 Understand, L3 - Apply, L4 Analyze, L5 Evaluate, L6 Create Sample µp questions Syllabus: Microprocessors And Microcontrollers - 15CS44: Modules 1, 2, 3, 4, 5 Text book: Muhammad Ali Mazidi, Janice GillispieMazidi, Danny Causey, The x86 PC Assembly Language Design

More information

PART - B (Answer all five units, 5 X 10 = 50 Marks)

PART - B (Answer all five units, 5 X 10 = 50 Marks) Code: 13A04507 R13 B.Tech III Year I Semester (R13) Supplementary Examinations June 2017 MICROPROCESSS & INTERFACING (Common to CSE & IT) PART - A (a) Mention the function of the instruction ADD M of 8085

More information

Question Bank Part-A UNIT I- THE 8086 MICROPROCESSOR 1. What is microprocessor? A microprocessor is a multipurpose, programmable, clock-driven, register-based electronic device that reads binary information

More information

EEM336 Microprocessors I. Data Movement Instructions

EEM336 Microprocessors I. Data Movement Instructions EEM336 Microprocessors I Data Movement Instructions Introduction This chapter concentrates on common data movement instructions. 2 Chapter Objectives Upon completion of this chapter, you will be able to:

More information

EASWARI ENGINEERING COLLEGE DEPARTMENT OF ELECTRONICS AND COMMUNICATION QUESTION BANK - V SEMESTER ECE EC2304 MICROPROCESSORS AND MICROCONTROLLERS UNIT I 1. When the 8086 processor is in minimum mode and

More information

Babu Madhav Institute of Information Technology, UTU

Babu Madhav Institute of Information Technology, UTU 5 Years Integrated M.Sc.(IT) Semester 4 060010309 : DSE3 Microprocessor Programming and Interfacing Question Bank 1. Write an assembly language program to check whether the given number is odd or even.

More information

Mr. Sapan Naik 1. Babu Madhav Institute of Information Technology, UTU

Mr. Sapan Naik 1. Babu Madhav Institute of Information Technology, UTU 5 Years Integrated M.Sc.(IT) Semester 4 060010402 System Programming Question Bank Unit 1: Introduction 1. Write the decimal equivalent for each integral power of 2 from 2! to 2!". 2. Convert the following

More information

ADVANCE MICROPROCESSOR & INTERFACING

ADVANCE MICROPROCESSOR & INTERFACING VENUS INTERNATIONAL COLLEGE OF TECHNOLOGY Gandhinagar Department of Computer Enggineering ADVANCE MICROPROCESSOR & INTERFACING Name : Enroll no. : Class Year : 2014-15 : 5 th SEM C.E. VENUS INTERNATIONAL

More information

VALLIAMMAI ENGINEERING COLLEGE S.R.M. NAGAR, KATTANKULATHUR-603203. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING VII-EEE EE6502- MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT I 1. What

More information

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM?

4. (a) With a neat sketch explain 8237 DMA controller and its operation? (b) With the help of basic cell explain SRAM and DRAM? Code No: R05220504 Set No. 1 II B.Tech II Semester Regular Examinations, Apr/May 2008 MICROPROCESSORS AND INTERFACING ( Common to Computer Science & Engineering, Information Technology and Computer Science

More information

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013)

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) UNIT I THE 8086 MICROPROCESSOR PART A (2 MARKS) 1. What are the functional

More information

EC6504 MICROPROCESSOR AND MICROCONTROLLER QUESTION BANK UNIT I - THE 8086 MICROPROCESSOR PART A

EC6504 MICROPROCESSOR AND MICROCONTROLLER QUESTION BANK UNIT I - THE 8086 MICROPROCESSOR PART A EC6504 MICROPROCESSOR AND MICROCONTROLLER Question Bank EC6504 MICROPROCESSOR AND MICROCONTROLLER QUESTION BANK UNIT I - THE 8086 MICROPROCESSOR 1. List the addressing modes of 8086?give examples [May

More information

2. (a) Draw and explain the pin out diagram of (b) Explain the various operations performed by Bus Interfacing unit in 8086.

2. (a) Draw and explain the pin out diagram of (b) Explain the various operations performed by Bus Interfacing unit in 8086. Code No: RR420303 Set No. 1 IV B.Tech II Semester Supplimentary Examinations, May 2008 MICROPROCESSORS (Mechanical Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry

More information

Computer Architecture 1 ح 303

Computer Architecture 1 ح 303 Lecture 4 A. Addressing MODES 1. Introduction to assembly language programming: Program is a sequence of commands used to tell a microcomputer what to do. Each command in a program is an instruction Programs

More information

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad - 500 043 COMPUTER SCIENCE AND ENGINEERING TUTORIAL QUESTION BANK Name : MICROPROCESSORS AND INTERFACING Code : AEC021 Class : B.

More information

3.1 DATA MOVEMENT INSTRUCTIONS 45

3.1 DATA MOVEMENT INSTRUCTIONS 45 3.1.1 General-Purpose Data Movement s 45 3.1.2 Stack Manipulation... 46 3.1.3 Type Conversion... 48 3.2.1 Addition and Subtraction... 51 3.1 DATA MOVEMENT INSTRUCTIONS 45 MOV (Move) transfers a byte, word,

More information

UNIT 4. Modular Programming

UNIT 4. Modular Programming 1 UNIT 4. Modular Programming Program is composed from several smaller modules. Modules could be developed by separate teams concurrently. The modules are only assembled producing.obj modules (Object modules).

More information

8086 INSTRUCTION SET

8086 INSTRUCTION SET 8086 INSTRUCTION SET Complete 8086 instruction set Quick reference: AAA AAD AAM AAS ADC ADD AND CALL CBW CLC CLD CLI CMC CMP CMPSB CMPSW CWD DAA DAS DEC DIV HLT IDIV IMUL IN INC INT INTO I JA JAE JB JBE

More information

PHI Learning Private Limited

PHI Learning Private Limited MICROPROCESSORS The 8086/8088, 80186/80286, 80386/80486 and the Pentium Family Nilesh B. Bahadure Reader Department of Electronics and Telecommunication Engineering Bhilai Institute of Technology, Durg

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY BACKGROUND Segment The "SEGMENT" and "ENDS" directives indicate to the assembler the beginning and ending of a segment and have the following format label SEGMENT [options] ;place the statements belonging

More information

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil

Microprocessor. By Mrs. R.P.Chaudhari Mrs.P.S.Patil Microprocessor By Mrs. R.P.Chaudhari Mrs.P.S.Patil Chapter 1 Basics of Microprocessor CO-Draw Architecture Of 8085 Salient Features of 8085 It is a 8 bit microprocessor. It is manufactured with N-MOS technology.

More information

Assignment no:4 on chapter no :3 : Instruction set of 8086

Assignment no:4 on chapter no :3 : Instruction set of 8086 Assignment no:4 on chapter no :3 : Instruction set of 8086 1) Describe any two string operation instruction of 8086 with syntax & one example of each. 1] REP: REP is a prefix which is written before one

More information

Week /8086 Microprocessor Programming I

Week /8086 Microprocessor Programming I Week 4 8088/8086 Microprocessor Programming I Example. The PC Typewriter Write an 80x86 program to input keystrokes from the PC s keyboard and display the characters on the system monitor. Pressing any

More information

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR

KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK. Subject Name: Microprocessors and Microcontrollers UNIT-I 8085 MICROPROCESSOR KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Subject Name: Microprocessors and Microcontrollers Year/Sem: II/IV UNIT-I 8085 MICROPROCESSOR PART-A (2 MARKS) 1. Name the

More information

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them?

1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them? Code No: R05220504 Set No. 1 1. (a) Draw the internal architecture of 8085? Explain each block. (b) What are the special functions of GPRs in 8086? And explain them? 2. Explain clearly with examples the

More information

Unit wise Question Bank UNIT-II

Unit wise Question Bank UNIT-II Academic year: 2017-18 Program: B Tech Course Title: Microprocessor & Microcontrollers Unit wise Question Bank Year/Semester: III/I Section: A, B & C Branch: ECE UNIT-I 1. Draw the functional pin diagram

More information

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS)

DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER UNIT-1 PART-A (2 MARKS) DEPARTMENT OF ECE QUESTION BANK SUBJECT: MICROPROCESSOR AND MICROCONTROLLER CODE: EC6504 UNIT-1 1. How many memory locations are available in 8086 microprocessor? 2. What are the flags available in 8086

More information

Microprocessors and Interfacng. Question bank

Microprocessors and Interfacng. Question bank Microprocessors & Interfacing 8086 ARCHITECTURE: UNIT-I Functional Diagram, Register Organization, Addressing modes, Instructions, Functional schematic, Minimum and Maximum mode operations of 8086, 8086

More information

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING

S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem

More information

db "Please enter up to 256 characters (press Enter Key to finish): ",0dh,0ah,'$'

db Please enter up to 256 characters (press Enter Key to finish): ,0dh,0ah,'$' PA4 Sample Solution.model large.stack 100h.data msg1 db "This programs scans a string of up to 256 bytes and counts the repetitions of the number 4206 and sums them.",0dh,0ah,'$' msg2 db "Please enter

More information

WINTER 12 EXAMINATION Subject Code : Model Answer Page No : / N. a) Describe the function of SID and SOD pins of 8085 microprocessor

WINTER 12 EXAMINATION Subject Code : Model Answer Page No : / N. a) Describe the function of SID and SOD pins of 8085 microprocessor Subject Code : Model Answer Page No : / N Q.1) SOLVE ANY FIVE : (20 MARKS) a) Describe the function of SID and SOD pins of 8085 microprocessor Ans: - SID: - (2 Mark) Serial Input Data SID pin is used to

More information

UNIT III MICROPROCESSORS AND MICROCONTROLLERS MATERIAL OVERVIEW: Addressing Modes of Assembler Directives. Procedures and Macros

UNIT III MICROPROCESSORS AND MICROCONTROLLERS MATERIAL OVERVIEW: Addressing Modes of Assembler Directives. Procedures and Macros OVERVIEW: UNIT III Addressing Modes of 8086 Assembler Directives Procedures and Macros Instruction Set of 8086 Data Transfer Group Arithmetic Group Logical Instructions Rotate and Shift instructions Loop

More information

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Shamshabad, Hyderabad

VARDHAMAN COLLEGE OF ENGINEERING (AUTONOMOUS) Shamshabad, Hyderabad Introduction to MS-DOS Debugger DEBUG In this laboratory, we will use DEBUG program and learn how to: 1. Examine and modify the contents of the 8086 s internal registers, and dedicated parts of the memory

More information

8088/8086 Programming Integer Instructions and Computations

8088/8086 Programming Integer Instructions and Computations Unit3 reference 2 8088/8086 Programming Integer Instructions and Computations Introduction Up to this point we have studied the software architecture of the 8088 and 8086 microprocessors, their instruction

More information

CS-202 Microprocessor and Assembly Language

CS-202 Microprocessor and Assembly Language CS-202 Microprocessor and Assembly Language Lecture 2 Introduction to 8086 Assembly Language Dr Hashim Ali Spring - 2019 Department of Computer Science and Engineering HITEC University Taxila!1 Lecture

More information

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK Course Name Course Code Class Branch INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad - 500 04 ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK : Microprocessors and Microcontrollers :

More information

UNIT 2 PROCESSORS ORGANIZATION CONT.

UNIT 2 PROCESSORS ORGANIZATION CONT. UNIT 2 PROCESSORS ORGANIZATION CONT. Types of Operand Addresses Numbers Integer/floating point Characters ASCII etc. Logical Data Bits or flags x86 Data Types Operands in 8 bit -Byte 16 bit- word 32 bit-

More information

Ex : Write an ALP to evaluate x(y + z) where x = 10H, y = 20H and z = 30H and store the result in a memory location 54000H.

Ex : Write an ALP to evaluate x(y + z) where x = 10H, y = 20H and z = 30H and store the result in a memory location 54000H. Ex : Write an ALP to evaluate x(y + z) where x = 10H, y = 20H and z = 30H and store the result in a memory location 54000H. MOV AX, 5000H MOV DS, AX MOV AL, 20H MOV CL, 30H ADD AL, CL MOV CL, 10H MUL CL

More information

EC 6504 MICROPROCESSOR AND MICROCONTROLLER

EC 6504 MICROPROCESSOR AND MICROCONTROLLER DEPARTMENTOFELECTRONICS&COMMUNICATIONENGINEERING EC 6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR PARTA 1. What is microprocessor? What is the difference between a MP and CPU?

More information

Intel 8086 MICROPROCESSOR ARCHITECTURE

Intel 8086 MICROPROCESSOR ARCHITECTURE Intel 8086 MICROPROCESSOR ARCHITECTURE 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14, 16

More information

Department of Computer Science and Engineering

Department of Computer Science and Engineering Department of Computer Science and Engineering QUESTION BANK Subcode/Subject : CS1304 Microprocessor & Microcontroller Year/Sem: III / V UNIT I THE 8085 MICROPROCESSOR PART A ( 2Marks) 1. How AD0-AD7 are

More information

EC 333 Microprocessor and Interfacing Techniques (3+1)

EC 333 Microprocessor and Interfacing Techniques (3+1) EC 333 Microprocessor and Interfacing Techniques (3+1) Lecture 6 8086/88 Microprocessor Programming (Arithmetic Instructions) Dr Hashim Ali Fall 2018 Department of Computer Science and Engineering HITEC

More information

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY B.E.,/B.TECH., ELECTRONICS EC6504 MICROPROCESSORS & MICRO CONTROLLERS COMMUNICATION ENGINEERING REG 2008 TWO MARKS QUESTION AND ANSWERS UNIT 1 AND 2 CS SUBJECT

More information

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor

INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor Subject Name: Microprocessor and Microcontroller Year: 3 rd Year Subject Code: CS502 Semester: 5 th Module Day Assignment 1 Microprocessor

More information

A4 Sample Solution Ch3

A4 Sample Solution Ch3 A4 Sample Solution Ch3 2. AL, AH, BL, BH,CL,CH,DLl, DH 3. AX, BX, CX, DX, SP, BP, SI, DI, CS, DS, ES, SS, FS, GS 4. EAX, EBX, ECX, EDX, ESP, EBP, EDI, ESI 5. RAX, RBX, RCX, RDX, RSP, RBP, RSI, RDI and

More information

Kingdom of Saudi Arabia Ministry of Higher Education. Taif University. Faculty of Computers & Information Systems

Kingdom of Saudi Arabia Ministry of Higher Education. Taif University. Faculty of Computers & Information Systems Kingdom of Saudi Arabia Ministry of Higher Education Taif University Faculty of Computers & Information Systems المملكة العربية السعودية وزارة التعليم العالي جامعة الطاي ف آلية الحاسبات ونظم المعلومات

More information

b) List the 16 Bit register pairs of 8085?(Any 2 pair, 1 Mark each) 2M Ans: The valid 16 bit register pair of 8085 are

b) List the 16 Bit register pairs of 8085?(Any 2 pair, 1 Mark each) 2M Ans: The valid 16 bit register pair of 8085 are Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD

MLR INSTITUTE OF TECHNOLOGY DUNDIGAL , HYDERABAD Name Code : 56012 Class Branch MR INSTITUTE OF TECHNOOGY DUNDIGA - 500 043, HYDERABAD EECTRONICS AND COMMUNICATION ENGINEERING ASSIGNMENT QUESTIONS : MICROPROCESSORS AND MICROCONTROERS : III - B. Tech

More information

PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Electronics and Communication

PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Electronics and Communication USN 1 P E PESIT Bangalore South Campus Hosur road, 1km before Electronic City, Bengaluru -100 Department of Electronics and Communication INTERNAL ASSESSMENT TEST 1 Date : 26/02/2018 Marks: 40 Subject

More information

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU.

Q. P. Code : b. Draw and explain the block dig of a computer with microprocessor as CPU. Q. P. Code : 08235 (2½ Hours) [Total Marks: 75] N. B.: (1) All questions are compulsory. (2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same question

More information

CC411: Introduction To Microprocessors

CC411: Introduction To Microprocessors CC411: Introduction To Microprocessors OBJECTIVES this chapter enables the student to: Describe the Intel family of microprocessors from 8085 to Pentium. In terms of bus size, physical memory & special

More information

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler:

Assembling, Linking and Executing 1) Assembling: .obj obj .obj.lst .crf Assembler Types: a) One pass assembler: Assembling, Linking and Executing 1) Assembling: - Assembling converts source program into object program if syntactically correct and generates an intermediate.obj file or module. - It calculates the

More information

Week /8086 Microprocessor Programming II

Week /8086 Microprocessor Programming II Week 5 8088/8086 Microprocessor Programming II Quick Review Shift & Rotate C Target register or memory SHL/SAL 0 C SHR 0 SAR C Sign Bit 2 Examples Examples Ex. Ex. Ex. SHL dest, 1; SHL dest,cl; SHL dest,

More information

CS401 Assembly Language Solved MCQS From Midterm Papers

CS401 Assembly Language Solved MCQS From Midterm Papers CS401 Assembly Language Solved MCQS From Midterm Papers May 14,2011 MC100401285 Moaaz.pk@gmail.com MC100401285@gmail.com PSMD01(IEMS) Question No:1 ( Marks: 1 ) - Please choose one The first instruction

More information

.code. lea dx,msg2. Page 1/8. Problem 1: Programming in Assembly [25 Points]

.code. lea dx,msg2. Page 1/8. Problem 1: Programming in Assembly [25 Points] Problem : Programming in Assembly [ Points] The following assembly program is supposed to: receive three integer numbers from the console, call a function, name sort, function sort arranges the three input

More information

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY

SPRING TERM BM 310E MICROPROCESSORS LABORATORY PRELIMINARY STUDY BACKGROUND 8086 CPU has 8 general purpose registers listed below: AX - the accumulator register (divided into AH / AL): 1. Generates shortest machine code 2. Arithmetic, logic and data transfer 3. One

More information

Microcomputer Architecture..Second Year (Sem.2).Lecture(2) مدرس المادة : م. سندس العزاوي... قسم / الحاسبات

Microcomputer Architecture..Second Year (Sem.2).Lecture(2) مدرس المادة : م. سندس العزاوي... قسم / الحاسبات 1) Input/output In computing, input/output or I/O, is the communication between an information processing system (such as a computer) and the outside world, possibly a human or another information processing

More information

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS

QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS FATIMA MICHAEL COLLEGE OF ENGINEERING & TECHNOLOGY Senkottai Village, Madurai Sivagangai Main Road, Madurai -625 020 QUESTION BANK CS2252 MICROPROCESSOR AND MICROCONTROLLERS UNIT 1 - THE 8085 AND 8086

More information

INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI

INSTRUCTOR: ABDULMUTTALIB A. H. ALDOURI 8 Unsigned and Signed Integer Numbers 1. Unsigned integer numbers: each type of integer can be either byte-wide or word-wide. This data type can be used to represent decimal numbers in the range 0 through

More information

Experiment 8 8 Subroutine Handling Instructions and Macros

Experiment 8 8 Subroutine Handling Instructions and Macros Introduction Experiment 8 8 Subroutine Handling Instructions and Macros In this experiment you will be introduced to subroutines and how to call them. You will verify the exchange of data between a main

More information

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI

DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI EE2354- MICROPROCESSORS AND MICROCONTROLLER UNIT I 8085 and 8086 PROCESSOR PART A 1. Define

More information

Computer Architecture and System Software Lecture 06: Assembly Language Programming

Computer Architecture and System Software Lecture 06: Assembly Language Programming Computer Architecture and System Software Lecture 06: Assembly Language Programming Instructor: Rob Bergen Applied Computer Science University of Winnipeg Announcements Assignment 3 due thursday Midterm

More information

Microprocessors and Microcontrollers. Assignment 1:

Microprocessors and Microcontrollers. Assignment 1: Microprocessors and Microcontrollers Assignment 1: 1. List out the mass storage devices and their characteristics. 2. List the current workstations available in the market for graphics and business applications.

More information

EC 333 Microprocessor and Interfacing Techniques (3+1)

EC 333 Microprocessor and Interfacing Techniques (3+1) EC 333 Microprocessor and Interfacing Techniques (3+1) Lecture 7 8086/88 Microprocessor Programming (Data Movement Instructions) Dr Hashim Ali Spring 2018 Department of Computer Science and Engineering

More information

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices.

3. (a) Explain the steps involved in the Interfacing of an I/O device (b) Explain various methods of interfacing of I/O devices. Code No: R05320202 Set No. 1 1. (a) Discuss the minimum mode memory control signals of 8086? (b) Explain the write cycle operation of the microprocessor with a neat timing diagram in maximum mode. [8+8]

More information

Intel 8086 MICROPROCESSOR. By Y V S Murthy

Intel 8086 MICROPROCESSOR. By Y V S Murthy Intel 8086 MICROPROCESSOR By Y V S Murthy 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14,

More information

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.

Microprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller. Course B.E(EEE) Batch 2015 Semester V Subject code subject Name UAEE503 Microprocessor and Microcontroller question bank UNIT-1 Architecture of a Microprocessor PART-A Marks: 2 1 Distinguish between microprocessor

More information

ORG ; TWO. Assembly Language Programming

ORG ; TWO. Assembly Language Programming Dec 2 Hex 2 Bin 00000010 ORG ; TWO Assembly Language Programming OBJECTIVES this chapter enables the student to: Explain the difference between Assembly language instructions and pseudo-instructions. Identify

More information

BLDEA S V.P. DR. P.G. HALAKATTI COLLEGE OF ENGINEERING & TECHNOLOGY, VIJAYAPURA

BLDEA S V.P. DR. P.G. HALAKATTI COLLEGE OF ENGINEERING & TECHNOLOGY, VIJAYAPURA EXPERIMENT NO.:- 1. BINARY SEARCH Work Space: Register Used Memory Address Data DI 10000H 11H 10001H 11H 10002H 22H 10003H 22H BX 10004H 33H 10005H 33H 10006H 44H 10007H 44H CX 10008H 55H 10009H 55H 24

More information

Code No: Set No. 1

Code No: Set No. 1 Code No: 2320404 Set No. 1 1. a) Draw the architectural diagram of 8085 and explain the function of each block in detail b) Discuss about Multiplexing in 8086 microprocessor [10+6] 2. a) Explain in detail

More information

Arithmetic and Logic Instructions And Programs

Arithmetic and Logic Instructions And Programs Dec Hex Bin 3 3 00000011 ORG ; FOUR Arithmetic and Logic Instructions And Programs OBJECTIVES this chapter enables the student to: Demonstrate how 8-bit and 16-bit unsigned numbers are added in the x86.

More information

6/20/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to:

6/20/2011. Introduction. Chapter Objectives Upon completion of this chapter, you will be able to: Introduction Efficient software development for the microprocessor requires a complete familiarity with the addressing modes employed by each instruction. This chapter explains the operation of the stack

More information

Code segment Stack segment

Code segment Stack segment Registers Most of the registers contain data/instruction offsets within 64 KB memory segment. There are four different 64 KB segments for instructions, stack, data and extra data. To specify where in 1

More information

ASSEMBLY LANGUAGE PROGRAMMING OF THE MICROCOMPUTER

ASSEMBLY LANGUAGE PROGRAMMING OF THE MICROCOMPUTER CHAPTER ASSEMBLY LANGUAGE PROGRAMMING OF THE MICROCOMPUTER 2.1 Introduction To run a program, a microcomputer must have the program stored in binary form in successive memory locations. There are three

More information

EC6504 MICROPROCESSOR AND MICROCONTROLLER

EC6504 MICROPROCESSOR AND MICROCONTROLLER UNIT I THE 8086 MICROPROCESSOR 1. What do you mean by Addressing modes? (May/June 2014) The different ways that a microprocessor can access data are referred to as addressing modes. 2. What is meant by

More information

Arithmetic Instructions

Arithmetic Instructions Segment 3C Arithmetic Instructions This topic covers the following instructions: Addition (ADD, INC, ADC) Subtraction (SUB, DEC, SBB,CMP) Multiplication (MUL, IMUL) Division (DIV, IDIV) BCD Arithmetic

More information

Summer 2003 Lecture 4 06/14/03

Summer 2003 Lecture 4 06/14/03 Summer 2003 Lecture 4 06/14/03 LDS/LES/LSS General forms: lds reg,mem lseg reg,mem Load far pointer ~~ outside of current segment {E.g., load reg w/value @ mem, & seg w/mem+2 XCHG Exchange values General

More information

Q1: Multiple choice / 20 Q2: Protected mode memory accesses

Q1: Multiple choice / 20 Q2: Protected mode memory accesses 16.317: Microprocessor-Based Systems I Summer 2012 Exam 2 August 1, 2012 Name: ID #: For this exam, you may use a calculator and one 8.5 x 11 double-sided page of notes. All other electronic devices (e.g.,

More information

Ex: Write a piece of code that transfers a block of 256 bytes stored at locations starting at 34000H to locations starting at 36000H. Ans.

Ex: Write a piece of code that transfers a block of 256 bytes stored at locations starting at 34000H to locations starting at 36000H. Ans. INSTRUCTOR: ABDULMUTTALIB A H ALDOURI Conditional Jump Cond Unsigned Signed = JE : Jump Equal JE : Jump Equal ZF = 1 JZ : Jump Zero JZ : Jump Zero ZF = 1 JNZ : Jump Not Zero JNZ : Jump Not Zero ZF = 0

More information

Basic characteristics & features of 8086 Microprocessor Dr. M. Hebaishy

Basic characteristics & features of 8086 Microprocessor Dr. M. Hebaishy Basic characteristics & features of 8086 Microprocessor Dr. M. Hebaishy Digital Logic Design Ch1-1 8086 Microprocessor Features: The 8086 microprocessor is a 16 bit microprocessor. The term 16 bit means

More information

Midterm Exam #2 Answer Key

Midterm Exam #2 Answer Key Midterm Exam #2 Answer Key Name: Student ID #: I have read and understand Washington State University s policy on academic dishonesty and cheating YOU Signed: Problem 1) Consider the following fragment

More information

EC-333 Microprocessor and Interfacing Techniques

EC-333 Microprocessor and Interfacing Techniques EC-333 Microprocessor and Interfacing Techniques Lecture 4 Addressing Modes Dr Hashim Ali Spring - 2018 Department of Computer Science and Engineering HITEC University Taxila Slides taken from Computer

More information

Internal architecture of 8086

Internal architecture of 8086 Case Study: Intel Processors Internal architecture of 8086 Slide 1 Case Study: Intel Processors FEATURES OF 8086 It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 220 memory locations (1

More information

MICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

MICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUBJECT CODE: EC1257 SUBJECT NAME: MICROPROCESSOR AND MICROCONTROLLER YEAR : II IT SEM : IV UNIT I THE 8085 MICROPROCESSOR

More information

Experiment 3 3 Basic Input Output

Experiment 3 3 Basic Input Output Experiment 3 3 Basic Input Output Introduction The aim of this experiment is to introduce the use of input/output through the DOS interrupt. Objectives: INT Instruction Keyboard access using DOS function

More information

Q. State and Explain steps involved in program development. [w-08, w-10, s-12, w-11]

Q. State and Explain steps involved in program development. [w-08, w-10, s-12, w-11] Q. State and Explain steps involved in program development. [w-08, w-10, s-12, w-11] Answer: 1. Defining Problem 2. Algorithm 3. Flowchart 4. Initialization of checklist 5. Choosing instructions 6. Converting

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK V SEMESTER EE6502- MICROPROCESSORS AND MICROCONTROLLERS Regulation 2013

More information

Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions.

Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions. 2 Microprocessor Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions. It is used as CPU (Central Processing Unit) in computers. 3 Microprocessor

More information

PART B UNIT II PART A

PART B UNIT II PART A SRM INSTITUTE OF SCIENCE AND TECHNOLOGY (Deemed University) DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUB : Microprocessor/CS201 YEAR/SEM : II/III UNIT I PART - A 1. Differentiate accumulator

More information

complement) Multiply Unsigned: MUL (all operands are nonnegative) AX = BH * AL IMUL BH IMUL CX (DX,AX) = CX * AX Arithmetic MUL DWORD PTR [0x10]

complement) Multiply Unsigned: MUL (all operands are nonnegative) AX = BH * AL IMUL BH IMUL CX (DX,AX) = CX * AX Arithmetic MUL DWORD PTR [0x10] The following pages contain references for use during the exam: tables containing the x86 instruction set (covered so far) and condition codes. You do not need to submit these pages when you finish your

More information

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass Marks: 24 Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2065 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 153) Pass

More information

if 2 16bit operands multiplied the result will be

if 2 16bit operands multiplied the result will be how many operands in ADC? ans:3 how 32 bit word is defined? ans define double if 2 16bit operands multiplied the result will be ans 32bit if div by ero occurs then?? ans div by zero int for software int

More information

8086 INTERNAL ARCHITECTURE

8086 INTERNAL ARCHITECTURE 8086 INTERNAL ARCHITECTURE Segment 2 Intel 8086 Microprocessor The 8086 CPU is divided into two independent functional parts: a) The Bus interface unit (BIU) b) Execution Unit (EU) Dividing the work between

More information

8086 ALP TOOLS (CH 2) CHAPTER 2

8086 ALP TOOLS (CH 2) CHAPTER 2 1 CHAPTER 2 In this chapter, we shall discuss the Assembly Language Program development tools, PC memory structure and Assembler directives. Books to be Referred: 1. Microprocessors and Interfacing 2nd

More information

EC-333 Microprocessor and Interfacing Techniques

EC-333 Microprocessor and Interfacing Techniques EC-333 Microprocessor and Interfacing Techniques Lecture 3 The Microprocessor and its Architecture Dr Hashim Ali Fall - 2018 Department of Computer Science and Engineering HITEC University Taxila Slides

More information

CG2007 Microprocessor systems.

CG2007 Microprocessor systems. CG2007 Microprocessor systems Tutorial 1 Semester 2 AY 2011-12 Ganesh Iyer ganesh.vigneswara@gmail.com http://ganeshniyer.com About Me I have 3 years of Industry work experience in Bangalore, India. I

More information