Babu Madhav Institute of Information Technology, UTU

Size: px
Start display at page:

Download "Babu Madhav Institute of Information Technology, UTU"

Transcription

1 5 Years Integrated M.Sc.(IT) Semester : DSE3 Microprocessor Programming and Interfacing Question Bank 1. Write an assembly language program to check whether the given number is odd or even. Show the sample calculation. 2. Write an assembly language program to find the cube of 8 bit data. Show the sample calculation. 3. Given the register contents in figure 1, describe the operation and result of each of the following instructions. Assume that the following instructions are independent, not sequential. I. MOV AX, 8642H II. MOV BX, AX III. MUL BX IV. OR CL, BL V. ROR CX, 2 VI. ES = 1000h CS = 2000h SS = 3000h DS = 4000h IP = 5678h VII. AX = 1122h BX = 3344h CX = 5566h DX = 7788h VIII. SP = 4321h BP = 6543h SI = 8765h DI = A987h IX. Register content 4. Describe 8086 binary coding template of MOV instruction. Construct binary code for below instructions. I. MOV [BX], CX II. MOV 87H[SI], DH 5. Write an assembly language program to do BCD subtraction. Show the sample calculation. 6. Write an assembly language program to check whether the given number is bit wise palindrome or not. Show the sample calculation. 7. What are the advantages of using assembly language? Write down equivalent assembly language programming code for below C language code. Ans = 10; For(i=1;i<=5;i++){ If(i<3){ ans++;} Else{ ans--;} } 8. What is the importance of addressing modes? Identify which addressing mode is represented by below instruction and compare them in the context of execution time with diagram. (Diagram can have memory, registers and bus). 1. MOV BL, 08H 2. MOV AX, [3452H] 3. MOV AX, [BX][SI] 4. MOV AX, 50H[BX] 9. Write an assembly language program to count number of 1 s and 0 s in the given number. Show the sample calculation. 10. Write an assembly language program to do BCD addition. Show the sample calculation. 11. Given the register contents in Figure 1, answer the following questions. I. What physical address will the next instruction be fetched from? II. What is the physical address for the top of the stack? III. Register content changed after a) MOV AX, BX b) MOV CX, [1234H] and c) MOV DX, 9999H. (Assume memory content if needed). IV. ES = 1234h CS = 2345h SS = 3456h DS = 4567h IP = 5678h Mr. Sapan Naik 1

2 V. AX = 4321h BX = 5432h CX = 6543h DX = 7654h VI. SP = 1111h BP = 2222h SI = 3333h DI = 4444h VII. Register content 12. Describe 8086 binary coding template of MOV instruction and make it for below instructions. I. MOV CL, [BX] II. MOV CS:[BX], DL 13. Write an assembly language program to transfer values of one array to another array. Array elements are of size 16 bit each. Show sample calculation. 14. Write an assembly language program to find square of a word. Show sample calculation. 15. Draw and explain coding template for MOV instruction in Give any two examples. 16. Differentiate recursive procedure and reentrant procedure. Write a delay loop, which produces a delay of 50 microseconds on an 8086 with 10 MHz clock. 17. Write an assembly language program to shift values in single arrays. Array elements are of size 8 bit each. Show sample calculation. 18. Write an assembly language program to exchange values of two arrays. Array elements are of size 16 bit each. Show sample calculation. 19. What do you mean by reentrant procedure? List out the ways by which one can make any procedure, a reentrant procedure. Write a delay loop, which produces a delay of 100 microseconds on an (Assume data if needed) 20. Describe stack operations during near procedure CALL and RET. 21. Which pin numbers of 8086 represents GND and AD15 signals? 22. Write names of TYPE 1 and TYPE 3 interrupt. 23. Define BIOS Keyboard data area. 24. What is the use of DMA controller? 25. Draw the block diagram of Programmable Interrupt Controller. 26. If an interrupt has been requested, list out the major actions performed by 8086 to respond. 27. List out two function values of INT 16h and INT 10h with their purpose. 28. Write syntax of defining 16 bit array, defining string and finding length of string in 8086 assembly language. 29. Write syntax of finding length of a string in 8086 assembly language interrupt pointer table is stored at which memory location? 31. What is the use of Programmable Interface device - Serial I/O? 32. Write down the name of TYPE 2 and TYPE 4 interrupt. 33. Draw the block diagram of DMA Controller. 34. List out mode of Programmable Peripheral Interface and write use of all modes. 35. List out any two functions of INT 21H for screen interrupt and give example of both. 36. Compare TYPE 1 and TYPE 3 interrupts. 37. What do you mean by BIOS Keyboard data area? 38. Which pin numbers of 8086 represents NMI and READY signals? 39. Write down the name of TYPE 1 and TYPE 4 interrupt. 40. What is the use of Programmable Interrupt Controller? 41. Draw the block diagram of Programmable Interface device - Serial I/O. 42. Differentiate TYPE 2 and TYPE 3 interrupts. 43. Define BIOS Keyboard data area. What is the use of INT 16H interrupt? 44. Which actions are performed by 8086 when interrupt occurs? 45. Write syntax of defining 16 bit array in 8086 assembly language. 46. Write names of TYPE 3 and TYPE 4 interrupt. 47. List out two function values of INT 10h with their purpose. 48. Which pin numbers of 8086 represents CLK and RESET signals?

3 49. Draw the block diagram of Programmable Peripheral Interface interrupt pointer table is stored at which memory location? What is the use of it? 51. How can one use INT 21H for screen interrupt? 52. Which pin numbers of 8086 represents GND,CLK,RESET and AD15 signals? Write use of all pins. 53. What is the use of Programmable Peripheral Interface? 54. Write names of TYPE 1 and TYPE 2 interrupt. 55. List out two function values of INT 16h with their purpose. 56. Write syntax of defining string in 8086 assembly language. 57. Draw the block diagram of DMA Controller. 58. How many interrupt lines are available in Programmable Interrupt Controller? Can it handle nonmaskable interrupts? 59. Differentiate TYPE 3 and TYPE 4 interrupts. 60. What do you mean by BIOS Keyboard data area? What is the use of INT 10H interrupt? 61. Explain 09H, 02H and 40H functions for screen display of INT 21H with example. 62. With help of example, explain two functions of INT 10h and INT 16h in detail. 63. Explain 8237 DMA Controller in detail. 64. List out any four function values of INT 21H and explain each in detail. 65. Discuss INT 10H and INT 16H in detail. 66. Write short note on Programmable Peripheral Interface. 67. What is the use of INT 10H and 16H? Explain with the help of example. 68. Discuss string and array operations in Write short note on Programmable Interface device - Serial I/O. 70. Explain INT 16H and array manipulation for 8086 in detail. 71. With help of example, explain two functions of INT 10h and INT 21h in detail. 72. Write short note on Programmable Interrupt Controller. 73. Explain INT 10H and string operations for 8086 in detail. 74. With help of example, explain two functions of INT 21h and INT 16h in detail. 75. Write short note on 8237 DMA Controller. 76. Write the decimal equivalent for each integral power of 2 from 2 0 to Convert the following decimal numbers to binary: 22, 76, Convert the following binary number to decimal: 1011, , Convert to hexadecimal: 53 decimal, 756 decimal, binary, binary 80. Convert to decimal: D3H, 3FEH, 44H 81. Convert the following decimal numbers to BCD: 86, 62, Define parity and describe how it is used to detect an error in transmitted data. 83. Show addition of: and in binary, and in BCD, 4AH and 77H 84. Express the following decimal numbers in 8-bit sign and magnitude form: +26, -7, -26, Show the subtraction, in binary, of the following decimal numbers. 7 4, 37 26, Show the multiplication of 1001 and Show the division of by Do the indicated operations on the following numbers: 3AH + 94H, 17AH 4CH, BCD, BCD, BCD, BCD, BCD, BCD, BCD, BCD Mr. Sapan Naik 3

4 89. Show the output produced when the following binary words are ANDed with each other and when they are ORed with each other: 1010 and 0111, 1011 and 1100, and ANDing an 8-bit binary number with is sometimes referred to as masking the lower 4 bit why? 91. Describe the main advantage of distributed processing computer system over a simple timesharing system. 92. Describe the sequence of signals that occurs on the address bus, the control bus, and the data bus when a simple microcomputer fetches an instruction. 93. What determines whether a microprocessor is considered an 8-bit, a 16-bit, or a 32- bit device? 94. How many address lines does an 8086 have? 95. How many memory address does this number of address lines allow the 8086 to access directly? 96. At any given time, the 8086 works with four segments in this address space. How many bytes are contained in each segment? 97. What is the main difference between the 8086 and the 8088? 98. Describe the function of the 8086 queue and How does the queue speed up processing? 99. If the code segment for an 8086 program starts at address 70400H, what number will be in the CS register? And assuming this same code segment base, what physical address will a code byte be fetched from if the instruction pointer contain 539CH? 100. What physical address is represented by : 4370:561EH, 7A32:0028H 101. What is the advantage of using a CPU register for temporary data storage over using a memory location? 102. If the stack segment register contain 3000H and the stack pointer register contains 8434H, What is the physical address of the top of the stack? 103. What is the advantage of using assembly language instead of writing a program directly in machine language? 104. Describe the operation an 8086 will perform when it executes ADD AX, BX What types of program are usually written in assembly language? 106. Describe the operation that an 8086 will perform when it executes each of the following instructions: MOV BX, 03FFH MOV AL,0DBH MOV DH,CL MOVBX,AX 107. Write the 8086 assembly language statement which will perform the following operations: Load the number 7986H into the BP register. Copy the BP register contains to the SP register. Copy the contents of the AX register to the DS register. Load the number F3H into the AL register If the 8086 execution unit calculates an effective address of 14A34 and DS contains 7000H what physical address will the BUI produce? 109. If the data segment register (DS) contains 4000H, what physical address will the instruction MOV AL,[234Bh] read? 110. If the 8086 data segment register contains 7000H, write the instruction that will copy the contents of DL to address 74B2CH Describe the difference between the instructions MOV AX,2437H and MOV AX,[2437H] Write pin number of 8086 for a) to enable latch, b) INTA.

5 113. Draw the circuit connections for the 3625 decoder PROM and for two of the 4Kx8 RAMs Show the truth table you would use for a 3625 PROM decoder to produce CSI signals for 4Kx8 RAMs in an 8086 system. Assume the first RAM starts at address 00000H. Do not forget A0 and BHE Trace below program and write registers content after each instruction data segment a. ans db? b. num db 0f1h 118. ends code segment 121. start: a. mov b. mov ds, ax c. mov al, num d. rol al, 02 e. ror al, 03 f. rol al, 04 g. ror al, 05 h. xchg ah, al i. mov ans, ah j. mov ax, 4c00h k. int 21h 122. ends 123. end start 124. Explain 8086 memory banks and describe RAM address decoding on the SDK Differentiate memory mapped I/O and direct I/O Show the truth table you would use for a 3625 PROM decoder to produce CSI signals for eight 8Kx8 ROMs in an 8086 system. Assume the first RAM starts at address 00000H. Do not forget A0 and BHE Draw the block diagram of 8086 memory banks. Explain signals for byte and word operations for the same Explain 8086 memory banks and describe RAM address decoding on the SDK List out ways of accessing I/O. Which way is better in which situation? 130. Show the truth table you would use for a decoder to produce CSI signals for four 8Kx8 ROMs in an 8086 system User does not want to waste memory for accessing I/O. In this situation which method of accessing I/O is preferable and why? 132. Draw the circuit connections for the 3625 decoder PROM and for two of the 16Kx8 RAMS. Show the truth table of address also Write down the name of Type 3 interrupt Where in memory interrupt-pointer table is stored for 8086? Draw the structure of it On which memory locations, the Interrupt pointer table is stored? What is the use of it? 136. List out any two ways of taking input from keyboard and give example of both How to clear screen and set the cursor using interrupt? Describe screen features in detail What is the use of TYPE 2 and TYPE 3 interrupts? 139. Define BIOS Keyboard data area. What is the use of INT 16H interrupt? Mr. Sapan Naik 5

6 140. Draw 8086 interrupt-pointer table. Explain 8086 interrupts and interrupt responses Explain 09H, 02H and 40H functions for screen display of INT 21H with example What is the use of 09H function of INT 21h? 143. Write down the names of Type 0 and Type 1 interrupt How much memory does interrupt pointer table occupy? What is the starting address of TYPE 3 interrupt? 145. List out any functions of INT 21H for screen interrupt and give example of both Explain 8086 interrupt types in detail What is BIOS keyboard data area? Explain interrupt for taking input from keyboard What is the chip number for programmable interrupt controller and DMA controller? 149. Draw internal block diagram of 8255A programmable parallel port device Write short note on 8251 Programmable interface device Serial I/O List out modules of Programmable Interface device. What is the use of data buffer module? 152. Write short note on Programmable Interrupt Controller How many interrupt lines are available in Programmable Interrupt Controller? Can it handle nonmaskable interrupts? 154. Write short note on DMA Controller List out mode of Programmable Peripheral Interface and write use of all modes List the major steps in developing an assembly language program What is the main advantage of a top-down design approach to solving a program problem? 158. Why should you develop a detailed algorithm for a program before writing down any assembly for a program before writing down any assembly language instructions? 159. What are the three basic structure types used to write the algorithm for a program? 160. What is the advantage of using only these structures when writing the algorithm for a program? 161. Use a flowchart or pseudo code to show the algorithm for a program, which gets a number from a memory location, subtracts 20H from it, and outputs 01H to port 3AH if the result of the subtraction is greater than 25H Given the register contents in figure 1 answer the following questions: a. What physical address will the next instruction be fetched from? b. What is the physical address for the top of the stack? ES = 1234h CS = 2345h SS = 3456h DS = 4567h AX = 4321h BX = 5432h CX = 6543h DX = 7654h SP = 1111h BP = 2222h SI = 3333h DI = 4444h Figure 1. Register content IP = 5678h 163. Describe the operation and results of each of the following instruction, Given the register contents show in figure 1 include in your answer the physical address or register that each instruction will get its operands from and the physical address or register. Assume that the following instructions are independent, not sequential, unless listed together under a letter. a. MOV AX,BX

7 b. MOVCL,37H c. INCBX d. MOVCX.[246BH] e. MOVCX,246BH f. ADDAL,DH g. MULBX h. DECBP i. DIVBL j. SUBAX,DX k. ORCL,BL l. NOTAH m. ROLBX,CH n. ANDAL,CH o. AOVDS,AX p. PORBX,CL q. ANDAL,OFH r. MOV,AX,[BX] s. MOV[BX][SI],CL 164. See if you can spot the grammatical (syntax) errors in the following instruction. a. MOVBH,AX b. MOVDX,CL c. ADDAL,2073H d. MOV7632H,CX e. INBL,04H 165. Show the results that will be in the affected registers or memory locations after each of the following groups of the following groups of instructions executes. Assume that each group of instructions starts with the register and memory contents shown in Figure 1. -ADDBL,AL MOV [00041,BL ROR DI, 04 -MOV CL,04 -ADD Al,BH DAA -MOV BX,000AH MOV AL,[BX] SUB AL,CL INC BX MOV [BX),AL 166. Write the 8086 instructions, which will perform the indicated operation. Copy AL to BL. Load 43H into CL Increment the contents of CX by 1. Copy SP to BP. Add 07H to DL. Multiply AL times BL. Copy AX to a memory location at offset 245AH in data segment. Decrement SP by 1. Rotate the most significant bit of AL into the least significant bit position. Copy DL to a memory location whose offset is in BX. Mask the lower 4 bits of BL. Set the most significant bit of AX to a 1,but do not affect the other bits. Invent the lower 4 bits of BL,but do not affect the other bits. Mr. Sapan Naik 7

8 167. Construct the binary code for each of the following 8086 instructions. MOV BL,AL ROR AX,I MOV[BX],CX OUTDX, AL ADD BX,59H[DI] AND AL,OFH SUB[2048],DH NOP XCHGCH,ES:[BX] IN AL,DX 168. Describe how an assembly language program is a developed and debugged using system tool such as editors, assembler, linker, locator, emulators and debuggers Describe stack operations during near procedure CALL and RET What is reentrant procedure? Differentiate reentrant and recursive procedure Differentiate procedures and macros Write instruction format of CALL instruction for inter-segment, indirect call Explain STD, DAS, ROL,JG and CALL instructions with example Define: Indirect inter-segment call List out any two control flags of Explain LEA, ADC, AAA, JL and CMP instructions with example Define: Direct inter-segment jump Describe XCGH, DAA, SBB, ROR and PUSH instructions with example Describe stack operations during near procedure CALL and RET List out different types of Unconditional Jump instructions. Describe 8086 binary coding template of the same What is reentrant procedure? How to make any procedure as reentrant? 182. Define: Indirect intra-segment jump Describe the operation and result of each of the following instructions given the register contains showing figure including your answered register that each instruction will get its operand from enter physical address of register that each instruction can get result in it. user instruction description in chapter 6 to help you assume that the instruction below are independent, not sequential, unless listed together under a letter a) ROLL AX,CX b) IN AL,DXP c) MOV CX,IBX] d) ADD AX,[BX][SI] e) JMP 023AH f) JMP BX 184. Construct the binary codes for instruction for question 15a through 15f Predict the state of the 6 of 8086 conditional flags after each of the following instruction or group of instructions executes. use the registers contents shown in figure assume that all flags are reset before the instruction execute use the detail instruction description in the chapter 6 to help you. a) MOV AL,AH b) ADD BL,CL c) ADD CL,DH d) OR CX,BX 186. See if you can find any errors in the following instruction of group of instructions. a) CNTDOWN : MOV BL,72H DEC BL

9 JNZ CNTDOWN b) ADD CX,AL c) JMP BL d) JNZ [BX] 187. a ) write an algorithm for programmer which adds a byte number from one memory location to a byte from next memory location, put the sum in third memory location and save the state of flag in the least significant bit of a fourth memory location. b) write an 8086 assembly language program for this algorithm. hints: setup data declarations similar to those in figure use of rotate instruction to get the carry flag state the instruction LSD of register or memory location c) what additional instruction would you have to add to this program so that it correctly add 2 BCD bytes? 188. A common problem when reading a series of ASCII characters from a keyboard is the need to filter out those codes which represent the hex digits 0 to 9 and a to f and convert these ASCII Codes to the hex digits they represents. example, if we read 34h the ASCII code for 4. we want to mask upper 4 bits to leave 04, the 8 Bit hex code for 4 if we read in 42h the ASCII for B, we want to add 09 and mask the upper 4 bits to leave 0B, the 8 bit code for hex B. if we read in an ASCII code that is not in the range 30h to 39h or 31h to 36h then we want to load and error code of FFH instead of the hex value of the entered character. Figure 2 shows describe the action next to each range of ASCII values write an algorithm and assembly language program which implements the actions. hints: a nested IF - THEN - ELSE structure might be useful Compute the average of 4 bytes stored in an array in memory 190. Compute the average of any number of bytes in an array in memory. number of bytes to be added is in the first byte of the array Add a five-byte number in one array to a five byte number in another array. put the same in another array. put the state of the carry flag in byte 6 of the array that contains the sum the first value in each array is the least significant byte of that number Based process control system outputs a Measured Fahrenheit Temperature to a display on its front panel. you need write a short program which converts Fahrenheit temperature to Celsius so that System can be sold in Europe the Relationship between Fahrenheit and Celsius is C = (F-32)5/9. the Fahrenheit Temperature will always be in the range 50 to 250. Round the Celsius Value to the nearest degree Write a delay loop which produces a delay of 500us on an 8086 with a 5-MHz delay 194. Write a short program which outputs a 1 KHz square wave on D0 of port FFFAH the basic principle is to output of high, wait 500us (0.5ms.output a low wait 500us output a high etc.) Mr. Sapan Naik 9

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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. 8086 Microprocessor Microprocessor Program controlled semiconductor device (IC) which fetches (from memory), decodes and executes instructions. It is used as CPU (Central Processing Unit) in computers.

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

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

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

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

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

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

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN ROAD MAP SDK-86 Intel 8086 Features 8086 Block Diagram 8086 Architecture Bus Interface Unit Execution Unit 8086 Architecture 8086 Programmer s Model Flag Register

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

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

Computer Organization and Assembly Language CSC-210

Computer Organization and Assembly Language CSC-210 Computer Organization and Assembly Language CSC-2 Lab # Lab() Lab(2) Lab(3) Lab(4) Lab(5) Lab(6) Lab(7) Lab(8) Lab(9) Lab() Lab() Lab(2) Lab(3) Title Computer Anatomy Memory and ports Motherboard and cards

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

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

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing

More information

Lecture (07) x86 programming 6

Lecture (07) x86 programming 6 Lecture (07) x86 programming 6 By: Dr. Ahmed ElShafee 1 The Flag Register 31 21 20 19 18 17 16 14 13 12 11 10 9 8 7 6 4 2 0 ID VIP VIF AC VM RF NT IOP 1 IOP 0 O D I T S Z A P C 8088/8086 80286 80386 80486

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

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M

1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M. 2 PUSH/ POP R16/M16/SR/F 2 x ( ) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M Increment R16 1-Operand instruction types 1 INC/ DEC/ NOT/NEG R/M 4 x (16+48) = 256 opcodes 2 PUSH/ POP R16/M16/SR/F 2 x (8+24+4+1) = 74 opcodes 3 MUL/ IMUL/ DIV/ DIV R/M 4 x (16+48) = 256 opcodes INC

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

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

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

EE2007 Microprocessor systems.

EE2007 Microprocessor systems. EE2007 Microprocessor systems Tutorial 1 Semester 1 AY 2010-11 Ganesh Iyer ganesh.vigneswara@gmail.com (facebook, gtalk) http://ganeshniyer.com About Me I have 3 years of Industry work experience in Bangalore,

More information

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM EXPERIMENT WRITE UP AIM: Assembly language program for 16 bit BCD addition LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM TOOLS/SOFTWARE

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

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

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

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language

The x86 Microprocessors. Introduction. The 80x86 Microprocessors. 1.1 Assembly Language The x86 Microprocessors Introduction 1.1 Assembly Language Numbering and Coding Systems Human beings use the decimal system (base 10) Decimal digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Computer systems use the

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

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

A Presentation created By Ramesh.K Press Ctrl+l for full screen view

A Presentation created By Ramesh.K Press Ctrl+l for full screen view Press Ctrl+l for full screen view A Presentation created By Ramesh.K rameshpkd@gmail.com Press Ctrl+l for full screen view A Microprocessor sor is a multipurpose, programmable logic device that reads binary

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

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

Lesson 1. Fundamentals of assembly language

Lesson 1. Fundamentals of assembly language Lesson 1. Fundamentals of assembly language Computer Structure and Organization Graduate in Computer Sciences Graduate in Computer Engineering Graduate in Computer Sciences Graduate in Computer Engineering

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

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer.

UNIT 1. Introduction to microprocessor. Block diagram of simple computer or microcomputer. UNIT 1 Unit 1 contents at a glance: 1. Architecture of 8086 microprocessor, 2. Register organization, 3. 8086 flag register and its functions, 4. addressing modes of 8086, 5. Pin diagram of 8086, 6. Minimum

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

Lecture 5:8086 Outline: 1. introduction 2. execution unit 3. bus interface unit

Lecture 5:8086 Outline: 1. introduction 2. execution unit 3. bus interface unit Lecture 5:8086 Outline: 1. introduction 2. execution unit 3. bus interface unit 1 1. introduction The internal function of 8086 processor are partitioned logically into processing units,bus Interface Unit(BIU)

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

Section 001. Read this before starting!

Section 001. Read this before starting! Points missed: Student's Name: Total score: /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 3 for Fall Semester,

More information

icroprocessor istory of Microprocessor ntel 8086:

icroprocessor istory of Microprocessor ntel 8086: Microprocessor A microprocessor is an electronic device which computes on the given input similar to CPU of a computer. It is made by fabricating millions (or billions) of transistors on a single chip.

More information

Logic Instructions. Basic Logic Instructions (AND, OR, XOR, TEST, NOT, NEG) Shift and Rotate instructions (SHL, SAL, SHR, SAR) Segment 4A

Logic Instructions. Basic Logic Instructions (AND, OR, XOR, TEST, NOT, NEG) Shift and Rotate instructions (SHL, SAL, SHR, SAR) Segment 4A Segment 4A Logic Instructions Basic Logic Instructions (AND, OR, XOR, TEST, NOT, NEG) Shift and Rotate instructions (SHL, SAL, SHR, SAR) Course Instructor Mohammed Abdul kader Lecturer, EEE, IIUC Basic

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER 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

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

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

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

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

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

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

CS401 Assembly Language Solved Subjective MAY 03,2012 From Midterm Papers. MC

CS401 Assembly Language Solved Subjective MAY 03,2012 From Midterm Papers. MC CS401 Assembly Language Solved Subjective MAY 03,2012 From Midterm Papers MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 MIDTERM FALL 2011 CS401 Assembly Language Q: Affected flag of AND operation

More information

Tutorial Letter 103/3/2012 Computer Organization COS2621 Semesters 1 & 2

Tutorial Letter 103/3/2012 Computer Organization COS2621 Semesters 1 & 2 COS2621/103/3/2012 Tutorial Letter 103/3/2012 Computer Organization COS2621 Semesters 1 & 2 School of Computing Solutions to self tests Bar code 2 Self-test A Question 1 Alternative 1 Which one of the

More information

Chapter 3: Addressing Modes

Chapter 3: Addressing Modes Chapter 3: Addressing Modes Chapter 3 Addressing Modes Note: Adapted from (Author Slides) Instructor: Prof. Dr. Khalid A. Darabkh 2 Introduction Efficient software development for the microprocessor requires

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

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

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers. Lecture 5: Computer Organization Instruction Execution Computer Organization Addressing Buses Fetch-Execute Cycle Computer Organization CPU Control Unit U Input Output Memory Components Control Unit fetches

More information

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language

Assembly Language. Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology. Overview of Assembly Language 4345 Assembly Language Assembly Language Dr. Esam Al_Qaralleh CE Department Princess Sumaya University for Technology Assembly Language 3-1 Overview of Assembly Language Advantages: Faster as compared

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

Northern India Engineering College, Delhi (GGSIP University) PAPER I

Northern India Engineering College, Delhi (GGSIP University) PAPER I PAPER I Q1.Explain IVT? ANS. interrupt vector table is a memory space for storing starting addresses of all the interrupt service routine. It stores CS:IP PAIR corresponding to each ISR. An interrupt vector

More information

Microprocessor and Assembly Language Week-5. System Programming, BCS 6th, IBMS (2017)

Microprocessor and Assembly Language Week-5. System Programming, BCS 6th, IBMS (2017) Microprocessor and Assembly Language Week-5 System Programming, BCS 6th, IBMS (2017) High Speed Memory Registers CPU store data temporarily in these location CPU process, store and transfer data from one

More information

Chapter 3. Assembly Language Programming with 8086

Chapter 3. Assembly Language Programming with 8086 Chapter 3 Assembly Language Programming with 8086 UNIT - III Assembly Language Programming with 8086- Machine level programs, Machine coding the programs, Programming with an assembler, Assembly Language

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

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

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor?

UNIT-I. 1.Draw and explain the Architecture of a 8085 Microprocessor? UNIT-I INTRODUCTION TO MICROPROCESSOR A common way of categorizing microprocessors is by the no. of bits that their ALU can work with at a time. (i) The first commercially available microprocessor was

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

Hardware and Software Architecture. Chapter 2

Hardware and Software Architecture. Chapter 2 Hardware and Software Architecture Chapter 2 1 Basic Components The x86 processor communicates with main memory and I/O devices via buses Data bus for transferring data Address bus for the address of a

More information

Experiment #2. Addressing Modes and Data Transfer using TASM

Experiment #2. Addressing Modes and Data Transfer using TASM 2.0 Objective Experiment #2 Addressing Modes and Data Transfer using TASM The objective of this experiment is to learn various addressing modes and to verify the actions of data transfer. 2.1 Introduction

More information

Marking Scheme. Examination Paper Department of CE. Module: Microprocessors (630313)

Marking Scheme. Examination Paper Department of CE. Module: Microprocessors (630313) Philadelphia University Faculty of Engineering Marking Scheme Examination Paper Department of CE Module: Microprocessors (630313) Final Exam Second Semester Date: 02/06/2018 Section 1 Weighting 40% of

More information

EEM336 Microprocessors I. Arithmetic and Logic Instructions

EEM336 Microprocessors I. Arithmetic and Logic Instructions EEM336 Microprocessors I Arithmetic and Logic Instructions Introduction We examine the arithmetic and logic instructions. The arithmetic instructions include addition, subtraction, multiplication, division,

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

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

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

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

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

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

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

Basic Execution Environment

Basic Execution Environment Basic Execution Environment 3 CHAPTER 3 BASIC EXECUTION ENVIRONMENT This chapter describes the basic execution environment of an Intel Architecture processor as seen by assembly-language programmers.

More information

8086 Interrupts and Interrupt Responses:

8086 Interrupts and Interrupt Responses: UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller

More information

UNIT II SYSTEM BUS STRUCTURE 1. Differentiate between minimum and maximum mode 2. Give any four pin definitions for the minimum mode. 3. What are the pins that are used to indicate the type of transfer

More information

Alexandria University Faculty of Engineering Communications and Computers SSP

Alexandria University Faculty of Engineering Communications and Computers SSP Alexandria University Faculty of Engineering Communications and Computers SSP Course: Microprocessors CC421 Instructor: Dr.M.El-Banna Academic Year: 2016 2017 Assistant: TBA Spring Semester SHEET 1 Introduction

More information

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM

EXPERIMENT WRITE UP. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM EXPERIMENT WRITE UP AIM: Assembly language program to search a number in given array. LEARNING OBJECTIVES: 1. Get hands on experience with Assembly Language Programming 2. Write and debug programs in TASM/MASM

More information

Unit I Introduction. Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad , India.

Unit I Introduction. Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad , India. Unit I Introduction Department of Electronics and Communication Engineering VARDHAMAN COLLEGE OF ENGINEERING Shamshabad, Hyderabad 501218, India. Pre-requisites Digital Logic Design (A1404) Computer Architecture

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085

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

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