[PDF] Features of 8086 Comparison between 8085 & 8086 Microprocessor





Previous PDF Next PDF



PDF Microprocessors - Tutorialspoint

In this tutorial we will discuss the architecture



ASSEMBLY LANGUAGE TUTORIAL - Simply Easy Learning by

programmable device specific to a particular computer architecture in contrast Each personal computer has a microprocessor that manages the computer's ...



UNIT-I INTRODUCTION TO 8086 Contents to be covered

Architecture of 8086 microprocessor. ? Register organization. ? 8086 flag register and its Block diagram of simple computer or microcomputer.





Untitled

programmable device specific to a particular computer architecture in contrast to most in this tutorial please notify us at contact@tutorialspoint.com ...



Features of 80186 80286

80486 and Pentium family



Lecture Note On Microprocessor and Microcontroller Theory and

A typical microprocessor consists of arithmetic and logic unit (ALU) in association with 8086 Microprocessor Architecture and Operation:.



Computer Organization and Architecture Lecture Notes

The next major step in the evolution of the microprocessor was the introduction in 1972 of The 8086 is the first appearance of the x86 architecture.



Features of 8086 Comparison between 8085 & 8086 Microprocessor

instruction queue. • Pipelining ? 8085 doesn't support a pipelined architecture while 8086 supports a pipelined architecture.



The Pentium Processor

4-bit microprocessor 4004. ? 8-bit microprocessors. » 8080. » 8085. ? 16-bit processors. » 8086 introduced in 1979. – 20-bit address bus 16-bit data bus.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

8086 Microprocessor is an enhanced version of 8085Microprocessor that

was designed by Intel in 1976. It is a 16-bit Microprocessor having 20 address lines and16 data lines that provides up to 1MB storage. It consists of powerful instruction set, which provides operations like multiplication and division easily. It supports two modes of operation, i.e. Maximum mode and Minimum mode. Maximum mode is suitable for system having multiple processors and Minimum mode is suitable for system having a single processor.

Features of 8086

7OH PRVP SURPLQHQP IHMPXUHV RI M 8086 PLŃURSURŃHVVRU MUH MV IROORRV í

It has an instruction queue, which is capable of storing six instruction bytes from the memory resulting in faster processing. It was the first 16-bit processor having 16-bit ALU, 16-bit registers, internal data bus, and 16-bit external data bus resulting in faster processing. HP LV MYMLOMNOH LQ 3 YHUVLRQV NMVHG RQ POH IUHTXHQŃ\ RI RSHUMPLRQ í o 8086 ĺ 5MHz o 8086-2 ĺ 8MHz o (c)8086-1 ĺ 10 MHz It uses two stages of pipelining, i.e. Fetch Stage and Execute Stage, which improves performance. Fetch stage can prefetch up to 6 bytes of instructions and stores them in the queue.

Execute stage executes these instructions.

It has 256 vectored interrupts.

It consists of 29,000 transistors.

Comparison between 8085 & 8086

Microprocessor

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS Size í 808D LV 8-bit microprocessor, whereas 8086 is 16-bit microprocessor. Address Bus í 808D OMV 16-bit address bus while 8086 has 20-bit address bus. Memory í 808D ŃMQ MŃŃHVV XS PR 64.N ROHUHMV 8086 can access up to 1

Mb of memory.

instruction queue. supports a pipelined architecture. I/O í 808D ŃMQ MGGUess 2^8 = 256 I/O's, whereas 8086 can access 2^16 =

65,536 I/O's.

Cost í 7OH ŃRVP RI 808D LV ORR ROHUHMV POMP RI 8086 LV OLJOB

Architecture of 8086

The following diagram depicts the architecture of a 8086 Microprocessor

8086 Microprocessor is divided into two functional units,

i.e., EU (Execution Unit) and BIU (Bus Interface Unit).

EU (Execution Unit)

Execution unit gives instructions to BIU stating from where to fetch the data and then decode and execute those instructions. Its function is to control operations on data using the instruction decoder & ALU. EU has no direct connection with system buses as shown in the above figure, it performs operations over data through BIU. Let us now discuss the functional parts of 8086 microprocessors. ALU It handleV MOO MULPOPHPLŃ MQG ORJLŃMO RSHUMPLRQV OLNH Ą í î C 25 $1G

NOT operations.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS

Flag Register

It is a 16-bit register that behaves like a flip-flop, i.e. it changes its status according to the result stored in the accumulator. It has 9 flags and they arH GLYLGHG LQPR 2 JURXSV í FRQGLPLRQMO )OMJV MQG FRQPURO )OMJVB

Conditional Flags

It represents the result of the last arithmetic or logical instruction H[HŃXPHGB )ROORRLQJ LV POH OLVP RI ŃRQGLPLRQMO IOMJV í Carry flag í 7OLV IOMJ LQGLŃMPHV MQ RYHUIORR condition for arithmetic operations. Auxiliary flag í JOHQ MQ RSHUMPLRQ LV SHUIRUPHG MP $I8 LP UHVXOPV LQ M carry/barrow from lower nibble (i.e. D0 ± D3) to upper nibble (i.e. D4 ± D7), then this flag is set, i.e. carry given by D3 bit to D4 is AF flag. The processor uses this flag to perform binary to BCD conversion. Parity flag í 7OLV IOMJ LV XVHG PR LQGLŃMPH POH SMULP\ RI POH UHVXOP LBHB ROHQ Zero flag í 7OLV IOMJ LV VHP PR 1 ROHQ POH UHVXOP RI MULPOPHPLŃ RU ORJLŃMO operation is zero else it is set to 0. Sign flag í 7OLV IOMJ OROGV POH VLJQ RI POH UHVXOP LBHB ROHQ POH UHVXOP RI POH operation is negative, then the sign flag is set to 1 else set to 0. Overflow flag í 7OLV IOMJ UHSUHVHQPV POH UHVXOP ROHQ POH V\VPHP ŃMSMŃLP\ LV exceeded.

Control Flags

Control flags controls the operations of the execution unit. Following is

POH OLVP RI ŃRQPURO IOMJV í

Trap flag í Ht is used for single step control and allows the user to execute one instruction at a time for debugging. If it is set, then the program can be run in a single step mode. Interrupt flag í HP LV MQ LQPHUUXSP HQMNOHCGLVMNOH IOMJ LBHB XVHG PR allow/prohibit the interruption of a program. It is set to 1 for interrupt enabled condition and set to 0 for interrupt disabled condition.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS Direction flag í HP LV XVHG LQ VPULQJ RSHUMPLRQB $V POH QMPH VXJJHVPV ROHQ LP is set then string bytes are accessed from the higher memory address to the lower memory address and vice-a-versa.

General purpose register

There are 8 general purpose registers, i.e., AH, AL, BH, BL, CH, CL, DH, and DL. These registers can be used individually to store 8-bit data and can be used in pairs to store 16bit data. The valid register pairs are AH and AL, BH and BL, CH and CL, and DH and DL. It is referred to the AX,

BX, CX, and DX respectively.

AX register í HP LV MOVR NQRRQ MV MŃŃXPXOMPRU UHJLVPHUB HP LV XVHG PR VPRUH operands for arithmetic operations. BX register í HP LV XVHG MV M NMVH UHJLVPHUB HP LV XVHG PR VPRUH POH VPMUPLQJ base address of the memory area within the data segment. CX register í HP LV UHIHUUHG PR MV ŃRXQPHUB HP LV XVHG LQ ORRS LQVPUXŃPLRQ PR store the loop counter. DX register í 7OLV UHJLVPHU LV XVHG PR OROG HC2 SRUP MGGUHVV IRU HC2 instruction.

Stack pointer register

It is a 16-bit register, which holds the address from the start of the segment to the memory location, where a word was most recently stored on the stack.

BIU (Bus Interface Unit)

BIU takes care of all data and addresses transfers on the buses for the EU like sending addresses, fetching instructions from the memory, reading data from the ports and the memory as well as writing data to the ports and the memory. EU has no direction connection with System Buses so this is possible with the BIU. EU and BIU are connected with the

Internal Bus.

HP OMV POH IROORRLQJ IXQŃPLRQMO SMUPV í

Instruction queue í %H8 ŃRQPMLQV POH LQVPUXŃPLRQ TXHXHB %H8 JHPV XSPR 6 bytes of next instructions and stores them in the instruction queue. When EU

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS executes instructions and is ready for its next instruction, then it simply reads the instruction from this instruction queue resulting in increased execution speed. Fetching the next instruction while the current instruction executes is called pipelining. Segment register í %H8 OMV 4 VHJPHQP NXVHV LBHB F6 G6 66 (6B HP holds the addresses of instructions and data in memory, which are used by the processor to access memory locations. It also contains 1 pointer register IP, which holds the address of the next instruction to executed by the EU. o CS í HP VPMQGV IRU FRGH 6HJPHQPB HP LV XVHG IRU MGGUHVVLQJ M PHPRU\ location in the code segment of the memory, where the executable program is stored. o DS í HP VPMQGV IRU GMPM 6HJPHQPB HP ŃRQVLVPV RI GMPM XVHG N\ POH program andis accessed in the data segment by an offset address or the content of other register that holds the offset address. o SS í HP VPMQGV IRU 6PMŃN 6HJPHQPB HP OMQGOHV memory to store data and addresses during execution. o ES í HP VPMQGV IRU ([PUM 6HJPHQPB (6 LV MGGLPLRQMO GMPM VHJPHQP which is used by the string to hold the extra destination data. Instruction pointer í HP LV M 16-bit register used to hold the address of the next instruction to be executed.

8086 Microprocessor is divided into two functional units,

i.e., EU (Execution Unit) and BIU (Bus Interface Unit). The Bus Interface Unit (BIU) generates the 20-bit physical memory address and provides the interface with external memory (ROM/RAM). As mentioned earlier, 8086 has a single memory interface. To speed up the execution, 6- bytes of instruction are fetched in advance and kept in a 6-byte Instruction Queue while other instructions are being executed in the Execution Unit (EU). Hence after the execution of an instruction, the next instruction is directly fetched from the instruction queue without having to wait for the external memory to send the instruction. This is called pipe-lining and is helpful for speeding up the overall execution process.

8086's BIU produces the 20-bit physical memory address by combining a 16-

bit segment address with a 16-bit offset address. There are four 16-bit

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS segment registers, viz., the code segment (CS), the stack segment (SS), the extra segment (ES), and the data segment (DS). These segment registers hold the corresponding 16-bit segment addresses. A segment address is the upper 16-bits of the starting address of that segment. The lower 4-bits of the starting address of a segment is always zero. The offset address is held by another 16-bit register. The physical 20-bit address is calculated by shifting the segment address 4-bit left and then adding that to the offset address.

For Example:

Code segment Register CS holds the segment address which is 4569 H Instruction pointer IP holds the offset address which is 10A0 H The physical 20-bit address is calculated as follows.

Segment address: 45690 H

Offset address :+ 10A0 H

Physical address : 46730 H

EU (Execution Unit)

Execution unit gives instructions to BIU stating from where to fetch the data and then decode and execute those instructions. Its function is to control operations on data using the instruction decoder & ALU. EU has no direct connection with system buses as shown in the above figure, it performs operations over data through BIU. Let us now discuss the functional parts of 8086 microprocessors. ALU HP OMQGOHV MOO MULPOPHPLŃ MQG ORJLŃMO RSHUMPLRQV OLNH Ą í î C 25 $1G

NOT operations.

Flag Register

It is a 16-bit register that behaves like a flip-flop, i.e. it changes its status according to the result stored in the accumulator. It has 9 flags MQG POH\ MUH GLYLGHG LQPR 2 JURXSV í FRQGLPLRQMO )OMJV MQG FRQPURO )OMJVB

Conditional Flags

It represents the result of the last arithmetic or logical instruction H[HŃXPHGB )ROORRLQJ LV POH OLVP RI ŃRQGLPLRQMO IOMJV í Carry flag í 7OLV IOMJ LQGLŃMPHV MQ RYHUIORR ŃRQGLPLRQ IRU MULPOPHPLŃ operations.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS Auxiliary flag í JOHQ MQ RSHUMPLRQ LV SHUIRUPHG MP $I8 LP UHVXOPV LQ M carry/barrow from lower nibble (i.e. D0 ± D3) to upper nibble (i.e. D4 ± D7), then this flag is set, i.e. carry given by D3 bit to D4 is AF flag. The processor uses this flag to perform binary to BCD conversion. Parity flag í 7OLV IOMJ LV XVHG PR LQGLŃMPH POH SMULP\ RI POH UHVXOP LBHB ROHQ Zero flag í 7OLV IOag is set to 1 when the result of arithmetic or logical operation is zero else it is set to 0. Sign flag í 7OLV IOMJ OROGV POH VLJQ RI POH UHVXOP LBHB ROHQ POH UHVXOP RI POH operation is negative, then the sign flag is set to 1 else set to 0. Overflow flag í 7OLV IOMJ UHSUHVHQPV POH UHVXOP ROHQ POH V\VPHP ŃMSMŃLP\ LV exceeded.

Control Flags

Control flags controls the operations of the execution unit. Following is

POH OLVP RI ŃRQPURO IOMJV í

Trap flag í HP LV XVHG IRU VLQJOH VPHS ŃRQPURO MQG MOORRV POH XVHU to execute one instruction at a time for debugging. If it is set, then the program can be run in a single step mode. Interrupt flag í HP LV MQ LQPHUUXSP HQMNOHCGLVMNOH IOMJ LBHB XVHG PR allow/prohibit the interruption of a program. It is set to 1 for interrupt enabled condition and set to 0 for interrupt disabled condition. Direction flag í HP LV XVHG LQ VPULQJ RSHUMPLRQB $V POH QMPH VXJJHVPV ROHQ LP is set then string bytes are accessed from the higher memory address to the lower memory address and vice-a-versa.

General purpose register

There are 8 general purpose registers, i.e., AH, AL, BH, BL, CH, CL, DH, and DL. These registers can be used individually to store 8-bit data and can be used in pairs to store 16bit data. The valid register pairs are AH and AL, BH and BL, CH and CL, and DH and DL. It is referred to the AX,

BX, CX, and DX respectively.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS AX register í HP LV MOVR NQRRQ MV MŃŃXPXOMPRU UHJLVPHUB HP LV XVHG PR VPRUH operands for arithmetic operations. BX register í HP LV XVHG MV M NMVH UHJLVPHUB It is used to store the starting base address of the memory area within the data segment. CX register í HP LV UHIHUUHG PR MV ŃRXQPHUB HP LV XVHG LQ ORRS LQVPUXŃPLRQ PR store the loop counter. DX register í 7OLV UHJLVPHU LV XVHG PR OROG HC2 SRUP MGGUHVV IRU I/O instruction.

Stack pointer register

It is a 16-bit register, which holds the address from the start of the segment to the memory location, where a word was most recently stored on the stack.

BIU (Bus Interface Unit)

BIU takes care of all data and addresses transfers on the buses for the EU like sending addresses, fetching instructions from the memory, reading data from the ports and the memory as well as writing data to the ports and the memory. EU has no direction connection with System Buses so this is possible with the BIU. EU and BIU are connected with the

Internal Bus.

HP OMV POH IROORRLQJ IXQŃPLRQMO SMUPV í

Instruction queue í %H8 ŃRQPMLQV POH LQVPUXŃPLRQ TXHXHB %H8 JHPV XSPR 6 bytes of next instructions and stores them in the instruction queue. When EU executes instructions and is ready for its next instruction, then it simply reads the instruction from this instruction queue resulting in increased execution speed. Fetching the next instruction while the current instruction executes is called pipelining. Segment register í %H8 OMV 4 VHJPHQP NXVHV LBHB F6 G6 66 (6B HP holds the addresses of instructions and data in memory, which are used by the processor to access memory locations. It also contains 1 pointer register IP, which holds the address of the next instruction to executed by the EU.

UNIT -4

SEC1312 MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS o CS í HP VPMQGV IRU FRGH 6HJPHQPB HP LV XVHG IRU MGGUHVVLQJ M PHPRU\ location in the code segment of the memory, where the executable program is stored. o DS í HP VPMQGV IRU GMPM 6HJPHQPB HP ŃRQVLVPV RI GMPM XVHG N\ POH program andis accessed in the data segment by an offset address or the content of other register that holds the offset address. o SS í HP VPMQGV IRU 6PMŃN 6HJPHQPB HP OMQGOHV PHPRU\ PR VPRUH GMPM and addresses during execution. o ES í HP VPMQGV IRU ([PUM 6HJPHQPB (6 LV MGGLPLRQMO GMPM VHJPHQP which is used by the string to hold the extra destination data. Instruction pointer í HP LV M 16-bit register used to hold the address of the next instruction to be executed.

Bus Interface Unit (BIU )

UNIT -4

quotesdbs_dbs12.pdfusesText_18
[PDF] 8086 microprocessor assembly language programming questions

[PDF] 8086 microprocessor assembly language programs examples

[PDF] 8086 microprocessor assembly language programs pdf

[PDF] 8086 microprocessor basic programs pdf

[PDF] 8086 microprocessor bharat acharya pdf free download

[PDF] 8086 microprocessor book by ramesh gaonkar pdf free download

[PDF] 8086 microprocessor book pdf for engineering

[PDF] 8086 microprocessor ebook pdf download

[PDF] 8086 microprocessor family overview

[PDF] 8086 microprocessor instruction set with example

[PDF] 8086 microprocessor instruction set with explanation pdf

[PDF] 8086 microprocessor introduction pdf

[PDF] 8086 microprocessor kit manual

[PDF] 8086 microprocessor lab manual

[PDF] 8086 microprocessor lab manual for cse