8086 carry, here this flag is set.

8086
Microprocessor

·        
Designed by intel

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

·        
16-bit Micro-processor
having 20 bit address line and 16 data lines.

·        
Provides 1MB storage.

 

 

Basic
Features-

·        
Contains instruction
queue which contains 6 instruction bytes from memory

·        
Uses pipelining.

·        
Consist of 29,000
registers.

#8086 is then divided
into two units:

1.      EU(Execution
Unit)

2.      BIU(Bus
interface unit)

Execution Unit-

1.      Gives
instruction to BIU starting from where to fetch the data and decode and then
execute.

2.      Main
function is to control data operations using instruction decoder and ALU.

3.      No
direct connection with system bus.

 

ALU- Handle arithmetical
and logical operations

 

Flag
register-
16 bit register acts like flip-flop that means it changes its status acc. To
value stored in accumulator.

Ø  Contains
9 flags and basically divided into two groups:-

1.      Conditional
flags

2.       Control flags

 

Condition
flags-

#Represent result of last
arithmetic and logical operations.

Types-

1.      Carry
Flag- Indicates overflow condition of arithmetic operations.

2.      Auxiliary
Flag- When operation performed at ALU, sometimes results in a carry, here this
flag is set.

#Main function is to perform Binary and BCD
conversion.

3.      Parity
Flag- Used to indicate the parity of result. When lower order 8 bits of result
contains even number of 1’s, then parity flag is set. If it is odd, then parity
flag reset.

4.      Zero
Flag- If result of arithmetic or logical operations is zero, and then it is set
to 1 or else set to 0.

5.      Sign
Flag- Holds sign of result. When result is negative then set to 1 or else set
to 0.

6.      Overflow
Flag- Represent result when system capacity is exceeded.

 

 

Control
Flags-

1.      Trap
Flag

2.       Interrupt Flag

3.       Direction Flag

 

General Purpose Registers:-

#one
pair can store 16 bit data

#
there are 8 G.P. registers

Ø  AX
(Accumulator Register) – Used to store operand for arithmetic operations.

Ø  BX
(Base Register) – Store starting base address of memory area within data
segment.

Ø  CX
(Counter Register) – Used in loop instruction to store loop counter.

Ø  DX
(Data Register) – Used to hold I/O port address.

 

#Stack
Pointer Register

BIU (Bus Interface Unit) –

Take
cares of all data and address transfer on buses for EU like sending address,
fetching instruction from memory, read and write the data from and to the ports
and memory.

EU
and BIU are connected by internal bus.

BIU
has following functional parts:-

 

Ø Instruction Queue –

BIU gets 6 bytes of next instruction and store them in
instruction queue.

When EU gets ready for next instruction, then it
simply reads instruction from queue and hence resulting in increased execution speed.

# Fetching the next instruction while current
instruction executes is called pipelining.

 

Ø Segment Registers –

Holds the address of data and instruction in memory,
and which are used by processor to access memory location.

# contains one pointer register IP which holds the
address of next instruction to get executed by EU.

There are 4 types of Segment Registers –

1.      CS
(Code Segment) – Used for addressing a location in code segment of memory.

2.      DS
(Data Segment) – Contains data used by program and is accessed in data segment
by offset address.

3.      SS
(Stack Segment) – Handles memory to store data and address during execution.

4.      ES
(Extra Segment) – Used by string to hold extra data.

#
Instruction Pointer – 16 bit register which holds address of next instruction
to be executed.

 

 

 

 

     

  

8086
Microprocessor

·        
Designed by intel

We Will Write a Custom Essay Specifically
For You For Only $13.90/page!


order now

·        
16-bit Micro-processor
having 20 bit address line and 16 data lines.

·        
Provides 1MB storage.

 

 

Basic
Features-

·        
Contains instruction
queue which contains 6 instruction bytes from memory

·        
Uses pipelining.

·        
Consist of 29,000
registers.

#8086 is then divided
into two units:

1.      EU(Execution
Unit)

2.      BIU(Bus
interface unit)

Execution Unit-

1.      Gives
instruction to BIU starting from where to fetch the data and decode and then
execute.

2.      Main
function is to control data operations using instruction decoder and ALU.

3.      No
direct connection with system bus.

 

ALU- Handle arithmetical
and logical operations

 

Flag
register-
16 bit register acts like flip-flop that means it changes its status acc. To
value stored in accumulator.

Ø  Contains
9 flags and basically divided into two groups:-

1.      Conditional
flags

2.       Control flags

 

Condition
flags-

#Represent result of last
arithmetic and logical operations.

Types-

1.      Carry
Flag- Indicates overflow condition of arithmetic operations.

2.      Auxiliary
Flag- When operation performed at ALU, sometimes results in a carry, here this
flag is set.

#Main function is to perform Binary and BCD
conversion.

3.      Parity
Flag- Used to indicate the parity of result. When lower order 8 bits of result
contains even number of 1’s, then parity flag is set. If it is odd, then parity
flag reset.

4.      Zero
Flag- If result of arithmetic or logical operations is zero, and then it is set
to 1 or else set to 0.

5.      Sign
Flag- Holds sign of result. When result is negative then set to 1 or else set
to 0.

6.      Overflow
Flag- Represent result when system capacity is exceeded.

 

 

Control
Flags-

1.      Trap
Flag

2.       Interrupt Flag

3.       Direction Flag

 

General Purpose Registers:-

#one
pair can store 16 bit data

#
there are 8 G.P. registers

Ø  AX
(Accumulator Register) – Used to store operand for arithmetic operations.

Ø  BX
(Base Register) – Store starting base address of memory area within data
segment.

Ø  CX
(Counter Register) – Used in loop instruction to store loop counter.

Ø  DX
(Data Register) – Used to hold I/O port address.

 

#Stack
Pointer Register

BIU (Bus Interface Unit) –

Take
cares of all data and address transfer on buses for EU like sending address,
fetching instruction from memory, read and write the data from and to the ports
and memory.

EU
and BIU are connected by internal bus.

BIU
has following functional parts:-

 

Ø Instruction Queue –

BIU gets 6 bytes of next instruction and store them in
instruction queue.

When EU gets ready for next instruction, then it
simply reads instruction from queue and hence resulting in increased execution speed.

# Fetching the next instruction while current
instruction executes is called pipelining.

 

Ø Segment Registers –

Holds the address of data and instruction in memory,
and which are used by processor to access memory location.

# contains one pointer register IP which holds the
address of next instruction to get executed by EU.

There are 4 types of Segment Registers –

1.      CS
(Code Segment) – Used for addressing a location in code segment of memory.

2.      DS
(Data Segment) – Contains data used by program and is accessed in data segment
by offset address.

3.      SS
(Stack Segment) – Handles memory to store data and address during execution.

4.      ES
(Extra Segment) – Used by string to hold extra data.

#
Instruction Pointer – 16 bit register which holds address of next instruction
to be executed.

 

 

 

 

     

  

x

Hi!
I'm Mary!

Would you like to get a custom essay? How about receiving a customized one?

Check it out