0% found this document useful (0 votes)
9 views14 pages

Lec 4 MPI

Uploaded by

nishdpersonal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views14 pages

Lec 4 MPI

Uploaded by

nishdpersonal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Topic-II

8086 Microprocessor & it’s


Architecture

T1. Barry B Brey, The Intel Microprocessors .Pearson, Eight Ed. 2009. Chapter 2
R1. Douglas V Hall, Microprocessor and Interfacing, TMH, Second Edition. Chapter 2

Jan 24th – 28th 2023

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


16 bit Microprocessor

1/25/2023 2

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


32 bit Microprocessor

1/25/2023 3

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Variations of 8086 - 8088

1/25/2023 4

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Characteristics of the X86 family

• CISC
• Instructions broken up into micro operations
• Complex instruction decoder

1/25/2023 5

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Little Endian format
• Binary data are stored as a byte (8 bits), word (16 bits), or
double word (32 bits)
• data may be unsigned or signed.
• Signed negative data are always stored in the two's complement
form.
• Data that are wider than 8 bits are always stored using the little
endian format.
• The assembler directives
• DB or BYTE define bytes,
• DW or WORD define words,
• DD or DWORD define doublewords,
• DQ or QWORD define quadwords.
ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION
Little Endian & Big Endian
• A word (16-bits) is formed with two bytes of data.
• Little Endian
• The least significant byte always stored in the lowest-numbered
memory location.
• Most significant byte is stored in the highest.

• Big Endian
• Alternate method is called the big endian format.
• Numbers are stored with the lowest location containing the most
significant data.
• Not used with Intel microprocessors.
• The big endian format is used with the Motorola family of
microprocessors.

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


8086 Microprocessor

1/25/2023 8

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Bus Interface Unit (BIU)
• handles all transfers of data and addresses on the buses for
the execution unit

Execution Unit (EU)

• Actual function is performed here


- instructs BIU from where to fetch an instruction
- decodes it,
- executes it

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


8086 Microprocessor

1/25/2023 10

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


Internal Architecture of 8086

Address bus (20 bits)


AH AL General purpose
BH BL register 
CH CL
Execution Unit
DH DL
(EU) Data bus
SP CS (16 bits)
Segment
BP register DS
SI SS
DI ALU Data bus ES
(16 bits)
IP

Bus
control
ALU Instruction Queue External bus
EU
control
Flag register
Bus Interface Unit (BIU)
3-11

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


EU Operation
1. Fetch an instruction from instruction
queue AH AL General purpose
2. According to the instruction, EU control BH BL register
CH CL
logic generates control signals. DH DL
(This process is also referred to as instruction SP
decoding) BP
SI
3. Depending on the control signal, DI ALU Data bus
(16 bits)
EU performs one of the following
operations:
 An arithmetic operation ALU
EU
control instruction
 A logic operation Flag register 1011000101001010
 Storing a data into a register
 Moving a data from a register
 Changing flag register

3-12

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


X86 -ISA
Register Organisation

1/25/2023 13

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION


8086 Register organization
General purpose Registers. Address bus (20 bits)
- AX, BX, CX, DX AH AL General purpose
BH BL register 

Segment Registers. Execution Unit CH CL Data bus


(EU) (16 bits)
- CS, DS, SS, ES DH DL
SP CS

Pointer and Index Registers. BP DS


SI SS Segment
- IP, BP, SP ALU Data bus register
DI ES
-SI, DI (16 bits)
IP

Flag Registers Bus


-FLAGS control
ALU External bus
EU
control Instruction Queue
Flag register
Bus Interface Unit (BIU)

1/25/2023 14

ELECTRICAL ELECTRONICS COMMUNICATION INSTRUMENTATION

You might also like