SlideShare a Scribd company logo
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- double word
• 64 bit- quad word
• 128 bit -double quadword
Types of Operation
• Data Transfer
• Arithmetic
• Logical
• Conversion
• I/O
• System Control
• Transfer of Control
Data Transfer
• Specify
– Source
– Destination
– Amount of data
Use for copy the contents from one register to
another register.
Arithmetic
• Add, Subtract, Multiply, Divide
• Signed Integer
• Floating point ?
• May include
– Increment (a++)
– Decrement (a--)
– Negate (-a)
Shift and Rotate Operations
Logical
• Bitwise operations
• AND, OR, NOT
Conversion
• E.g. Binary to Decimal
RISC and CISC Microprocessor
• RISC?
RISC, or Reduced Instruction Set Computer. is a
type of microprocessor architecture that
utilizes a small, highly-optimized set of
instructions, rather than a more specialized
set of instructions often found in other types
of architectures.
Features of RISC m/c
• Limited and simple instruction set.
• Large no. of general purpose registers & use of
compiler technology to optimize register
usage.
• Simple instruction pipelining is used.
• A Single chip processor
• On chip cache and floating point processor.
Features of CISC m/c
• Instruction set with 120 to 350
instructions.
• Variable instructions and data formats.
• Small set of (8to24) general purpose
registers.
• A large no of addressing modes
unit-2-co-all-ppt_2-umbers – Integer/floating point
Architecture of typical RICS µp
• There are 9 functional units are
interconnected by multiple data paths.
• Data paths are ranging from 32-128 bit wide.
• Separate data and instruction caches are with
separate data paths.
• BUS control unit controls and coordinates data
transfer between chip and outside the
architecture.
• MMU(MEMORY MANAGEMENT UNIT)
Perform all OPERATION RELATED TO MEMORY.
• There are two floating point units namely,
multiplier unit and adder unit they can be use
parallel.
• Graphical unit responsible for bit pixel data
type. This unit supports 3D drawing in
graphics frame buffer with colors and shade
operations
Distinguish between RISC & CISC
RISC
• Si ple , less u er
of instructions are use
• Fi ed le gth
instructions
• Co ple it i o piler
•O l LOAD/STORE
instructions access
memory.
• Few addressi g odes.
CISC
• Ma o ple
instructions
• Varia le le gth
instructions
• Co ple it i
microcode
• Ma i stru tio s a
access memory
• Ma addressi g
modes
17
REGISTER ORGANIZATION OF 8086
• It is a 16-bit μp.
• 8086 has a 20 bit address bus can access up to 220
memory locations (1 MB).
• It requires +5V power supply.
• 8086 is designed to operate in two modes,
Minimum and Maximum.
• Memory Address ranges from 00000H to FFFFFH.
18
Intel 8086 Internal Architecture
19
Internal architecture of 8086
• 8086 has two blocks BIU and EU.
• The BIU handles all transactions of data and addresses
on the buses for EU.
• The BIU performs all bus operations such as instruction
fetching, reading and writing operands for memory and
calculating the addresses of the memory operands. The
instruction bytes are transferred to the instruction
queue.
• EU executes instructions from the instruction system
byte queue.
20
• BIU contains Instruction queue, Segment
registers, Instruction pointer, Address adder.
• EU contains Control circuitry, Instruction
decoder, ALU, Pointer and Index register, Flag
register.
21
EXECUTION UNIT
• Decodes instructions fetched by the BIU
• Generate control signals,
• Executes instructions.
The main parts are:
• Control Circuitry
• Instruction decoder
• ALU
Register organization in 8086 µp
15 0
Architecture
8086 Microprocessor
23
Bus Interface Unit (BIU)
Segment
Registers
Code Segment Register
16-bit
CS contains the base or start of the
current code segment.
Architecture
8086 Microprocessor
24
Bus Interface Unit (BIU)
Segment
Registers
Data Segment Register
16-bit
Points to the current data segment;
operands for most instructions are
fetched from this segment.
The 16-bit contents of the Source Index
(SI) or Destination Index (DI) or a 16-bit
displacement are used as offset for
computing the 20-bit physical address.
Architecture
8086 Microprocessor
25
Bus Interface Unit (BIU)
Segment
Registers
Stack Segment Register
16-bit
Points to the current stack.
The 20-bit physical stack address is
calculated from the Stack Segment (SS)
and the Stack Pointer (SP) for stack
instructions such as PUSH and POP.
Architecture
8086 Microprocessor
26
Bus Interface Unit (BIU)
Segment
Registers
Extra Segment Register
16-bit
Points to the extra segment in which data (in
excess of 64K pointed to by the DS) is stored.
String instructions use the ES and DI to
determine the 20-bit physical address for the
destination.
Architecture
8086 Microprocessor
27
Bus Interface Unit (BIU)
Segment
Registers
Instruction Pointer
16-bit
Always points to the next instruction to
be executed within the currently
executing code segment.
Its content is automatically incremented
as the execution of the next instruction
takes place.
Architecture
8086 Microprocessor
28
EU
Registers
Accumulator Register (AX)
Consists of two 8-bit registers AL and AH,
which can be combined together and used as
a 16-bit register AX.
AL in this case contains the low order byte of
the word, and AH contains the high-order
byte.
Execution Unit (EU)
Architecture
8086 Microprocessor
29
EU
Registers
Base Register (BX)
Consists of two 8-bit registers BL and BH, which can be
combined together and used as a 16-bit register BX.
BL in this case contains the low-order byte of the word,
and BH contains the high-order byte.
This is the only general purpose register whose contents
can be used for addressing the 8086 memory.
All memory references utilizing this register content for
addressing use DS as the default segment register.
Execution Unit (EU)
Architecture
8086 Microprocessor
30
EU
Registers
Counter Register (CX)
Consists of two 8-bit registers CL
and CH, which can be combined
together and used as a 16-bit
register CX.
Instructions such as SHIFT,
ROTATE and LOOP use the
contents of CX as a counter.
Execution Unit (EU)
Architecture
8086 Microprocessor
31
EU
Registers
Data Register (DX)
Consists of two 8-bit registers DL and DH, which can be
combined together and used as a 16-bit register DX.
When combined, DL register contains the low order byte of
the word, and DH contains the high-order byte.
Used to hold the high 16-bit result (data) in 16 X 16
multiplication or the high 16-bit dividend (data) before a
32 ÷ 16 division and the 16-bit reminder after division.
Execution Unit (EU)
Architecture
8086 Microprocessor
32
EU
Registers
Stack Pointer (SP) and Base Pointer (BP)
SP and BP are used to access
data in the stack segment.
SP contents are
automatically updated
(incremented/ decremented)
due to execution of a POP or
PUSH instruction.
Execution Unit (EU)
Architecture
8086 Microprocessor
33
EU
Registers
Source Index (SI) and Destination
Index (DI)
Used in indexed
addressing.
Execution Unit (EU)
Architecture
8086 Microprocessor
34
Flag Register
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OF DF IF TF SF ZF AF PF CF
Carry Flag
This flag is set, when there is
a carry out of MSB in case of
addition or a borrow in case
of subtraction.
Parity Flag
This flag is set to 1, if the lower
byte of the result contains even
number of 1’s ; for odd number
of 1’s set to zero.
Auxiliary Carry Flag
This is set, if there is a carry from the
lowest nibble, i.e, bit three during
addition, or borrow for the lowest
nibble, i.e, bit three, during
subtraction.
Zero Flag
This flag is set, if the result of
the computation or comparison
performed by an instruction is
zero
Sign Flag
This flag is set, when the
result of any computation
is negative
Tarp Flag
If this flag is set, the processor
enters the single step execution
mode by generating internal
interrupts after the execution of
each instruction
Interrupt Flag
Causes the 8086 to recognize
external mask interrupts; clearing IF
disables these interrupts.
Direction Flag
This is used by string manipulation instructions. If this flag bit
is ‘0’, the string is processed beginning from the lowest
address to the highest address, i.e., auto incrementing mode.
Otherwise, the string is processed from the highest address
towards the lowest address, i.e., auto incrementing mode.
Over flow Flag
This flag is set, if an overflow occurs, i.e, if the result of a signed
operation is large enough to accommodate in a destination
register. The result is of more than 7-bits in size in case of 8-bit
signed operation and more than 15-bits in size in case of 16-bit
sign operations, then the overflow will be set.
Execution Unit (EU)
35
Architecture
8086 Microprocessor
Sl.No. Type Register width Name of register
1 General purpose register 16 bit AX, BX, CX, DX
8 bit AL, AH, BL, BH, CL, CH, DL, DH
2 Pointer register 16 bit SP, BP
3 Index register 16 bit SI, DI
4 Instruction Pointer 16 bit IP
5 Segment register 16 bit CS, DS, SS, ES
6 Flag (PSW) 16 bit Flag register
8086 registers
categorized
into 4 groups
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OF DF IF TF SF ZF AF PF CF
Register organization in 80386DX
EFLAG REGISTERS IN 80386
• Virtual mode(VM): set when processor switch into
virtual mode.
• Resume flag (RF): This control flag use with debug
registers. It set when debug fault is ignored and next
instruction executed normally.
• Nested task flag (NT): This flag is used in protected
mode ,WHEN current task called from another task.
• IOPL: these two bits identify current privilege level in
protected mode
COPROCESSOR
• A coprocessor is a computer processor used to
supplement the functions of the primary processor
(the CPU).
• Additional operations performed by the
coprocessor may be floating
point arithmetic, graphical , signal
processing, string processing,
• A special-purpose processing unit that assists
the CPU in performing certain types of operations.
• For example, a math coprocessor (8087) performs
mathematical computations, particularly floating-
point operations.
• Math coprocessors are also called
numeric and floating-point coprocessors.
• EX. 8087 ,80387
• 8087 MATH COPROCESSOR USED
INTERFACING WITH 8086 .
• 80387 MATH COPROCESSOR USED
INTERFACING WITH 80386 .
REGISTER ORGANIZATION IN
i7 PROCESSOR
unit-2-co-all-ppt_2-umbers – Integer/floating point
• the x86 architecture extended the 32-bit
registers into 64-bit registers.
• An R-prefix identifies the 64-bit registers (RAX,
RBX, RCX, RDX, RSI, RDI, RBP, RSP, RFLAGS,
RIP), and eight additional 64-bit general
registers (R8-R15) were also introduced in the
creation of x86-64. However, these extensions
are only usable in 64-bit mode
• Memory address space wide up to 2^64.
bytes.
• Sixteen 64-bit general purpose registers .
• Six 16-bit segment registers .
• RFLAG registers 64 bits wide.
Features of some i7 registers
• XMM registers: these 8 registers are used to
operate on scalar single precision floating
point data.(XMM0- XMM7).
• MXCSR REGISTER: these 32 bit registers
provide status and control bits used in SIMD
floating point operations.
• MMX: These 8 registers are used to perform
operations on 64 bit packed integer
data.(MMX0- MMX7).

More Related Content

PPTX
Unit IV 8086 complete ppt, architecture and instruction set.pptx
PPTX
lec 2.pptx
PPTX
8086 PPt-2021.pptx
PPTX
Microprocessor Architecture.pptx
PPTX
introduction to Architecture of 8086 and it's application
PDF
MPMC PPT_MODULE 1&2 Jan202mmmmmmmmmmm4.pdf
PDF
8086 Register organization and Architecture details
Unit IV 8086 complete ppt, architecture and instruction set.pptx
lec 2.pptx
8086 PPt-2021.pptx
Microprocessor Architecture.pptx
introduction to Architecture of 8086 and it's application
MPMC PPT_MODULE 1&2 Jan202mmmmmmmmmmm4.pdf
8086 Register organization and Architecture details

Similar to unit-2-co-all-ppt_2-umbers – Integer/floating point (20)

DOCX
Intel Microprocessors 8086 Documentation
PPT
26677766 8086-microprocessor-architecture
PPTX
INTEL 8086 MICROPROCESSOR
PPTX
1.Registers.pptx tjrktjgktjghththyjytjytjyy
PPT
8086microprocessor 130821100244-phpapp02
PPT
8086microprocessor 130821100244-phpapp02
PPT
8086microprocessor 130821100244-phpapp02
PPT
8086 micro processor
PPT
8086microprocessor 130821100244-phpapp02
PDF
8086 Architecture ppt.pdf
PPTX
Microprocessors & Microcontrollers Architecture and Description
PDF
8086 Microprocessor
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
PPTX
The 8086 microprocessor
PPSX
8086 microprocessor
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
PPTX
8086 microprocessor-architecture-120207111857-phpapp01
PPT
SUSTAINABLE ENGINEERING FUNDAMENTALS NEW FOR BTECH KTU STUDENTS
PPTX
fINA_Foramt- 8086 Architecture_2021.pptx
Intel Microprocessors 8086 Documentation
26677766 8086-microprocessor-architecture
INTEL 8086 MICROPROCESSOR
1.Registers.pptx tjrktjgktjghththyjytjytjyy
8086microprocessor 130821100244-phpapp02
8086microprocessor 130821100244-phpapp02
8086microprocessor 130821100244-phpapp02
8086 micro processor
8086microprocessor 130821100244-phpapp02
8086 Architecture ppt.pdf
Microprocessors & Microcontrollers Architecture and Description
8086 Microprocessor
8086 microprocessor-architecture-120207111857-phpapp01
The 8086 microprocessor
8086 microprocessor
8086 microprocessor-architecture-120207111857-phpapp01
8086 microprocessor-architecture-120207111857-phpapp01
SUSTAINABLE ENGINEERING FUNDAMENTALS NEW FOR BTECH KTU STUDENTS
fINA_Foramt- 8086 Architecture_2021.pptx
Ad

Recently uploaded (20)

PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
composite construction of structures.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPT
Project quality management in manufacturing
PPTX
web development for engineering and engineering
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Lesson 3_Tessellation.pptx finite Mathematics
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Operating System & Kernel Study Guide-1 - converted.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
composite construction of structures.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Project quality management in manufacturing
web development for engineering and engineering
UNIT 4 Total Quality Management .pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CH1 Production IntroductoryConcepts.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Foundation to blockchain - A guide to Blockchain Tech
Ad

unit-2-co-all-ppt_2-umbers – Integer/floating point

  • 2. Types of Operand • Addresses • Numbers – Integer/floating point • Characters – ASCII etc. • Logical Data – Bits or flags
  • 3. x86 Data Types Operands in • 8 bit -Byte • 16 bit- word • 32 bit- double word • 64 bit- quad word • 128 bit -double quadword
  • 4. Types of Operation • Data Transfer • Arithmetic • Logical • Conversion • I/O • System Control • Transfer of Control
  • 5. Data Transfer • Specify – Source – Destination – Amount of data Use for copy the contents from one register to another register.
  • 6. Arithmetic • Add, Subtract, Multiply, Divide • Signed Integer • Floating point ? • May include – Increment (a++) – Decrement (a--) – Negate (-a)
  • 7. Shift and Rotate Operations
  • 10. RISC and CISC Microprocessor • RISC? RISC, or Reduced Instruction Set Computer. is a type of microprocessor architecture that utilizes a small, highly-optimized set of instructions, rather than a more specialized set of instructions often found in other types of architectures.
  • 11. Features of RISC m/c • Limited and simple instruction set. • Large no. of general purpose registers & use of compiler technology to optimize register usage. • Simple instruction pipelining is used. • A Single chip processor • On chip cache and floating point processor.
  • 12. Features of CISC m/c • Instruction set with 120 to 350 instructions. • Variable instructions and data formats. • Small set of (8to24) general purpose registers. • A large no of addressing modes
  • 14. Architecture of typical RICS µp • There are 9 functional units are interconnected by multiple data paths. • Data paths are ranging from 32-128 bit wide. • Separate data and instruction caches are with separate data paths. • BUS control unit controls and coordinates data transfer between chip and outside the architecture.
  • 15. • MMU(MEMORY MANAGEMENT UNIT) Perform all OPERATION RELATED TO MEMORY. • There are two floating point units namely, multiplier unit and adder unit they can be use parallel. • Graphical unit responsible for bit pixel data type. This unit supports 3D drawing in graphics frame buffer with colors and shade operations
  • 16. Distinguish between RISC & CISC RISC • Si ple , less u er of instructions are use • Fi ed le gth instructions • Co ple it i o piler •O l LOAD/STORE instructions access memory. • Few addressi g odes. CISC • Ma o ple instructions • Varia le le gth instructions • Co ple it i microcode • Ma i stru tio s a access memory • Ma addressi g modes
  • 17. 17 REGISTER ORGANIZATION OF 8086 • It is a 16-bit μp. • 8086 has a 20 bit address bus can access up to 220 memory locations (1 MB). • It requires +5V power supply. • 8086 is designed to operate in two modes, Minimum and Maximum. • Memory Address ranges from 00000H to FFFFFH.
  • 18. 18 Intel 8086 Internal Architecture
  • 19. 19 Internal architecture of 8086 • 8086 has two blocks BIU and EU. • The BIU handles all transactions of data and addresses on the buses for EU. • The BIU performs all bus operations such as instruction fetching, reading and writing operands for memory and calculating the addresses of the memory operands. The instruction bytes are transferred to the instruction queue. • EU executes instructions from the instruction system byte queue.
  • 20. 20 • BIU contains Instruction queue, Segment registers, Instruction pointer, Address adder. • EU contains Control circuitry, Instruction decoder, ALU, Pointer and Index register, Flag register.
  • 21. 21 EXECUTION UNIT • Decodes instructions fetched by the BIU • Generate control signals, • Executes instructions. The main parts are: • Control Circuitry • Instruction decoder • ALU
  • 22. Register organization in 8086 µp 15 0
  • 23. Architecture 8086 Microprocessor 23 Bus Interface Unit (BIU) Segment Registers Code Segment Register 16-bit CS contains the base or start of the current code segment.
  • 24. Architecture 8086 Microprocessor 24 Bus Interface Unit (BIU) Segment Registers Data Segment Register 16-bit Points to the current data segment; operands for most instructions are fetched from this segment. The 16-bit contents of the Source Index (SI) or Destination Index (DI) or a 16-bit displacement are used as offset for computing the 20-bit physical address.
  • 25. Architecture 8086 Microprocessor 25 Bus Interface Unit (BIU) Segment Registers Stack Segment Register 16-bit Points to the current stack. The 20-bit physical stack address is calculated from the Stack Segment (SS) and the Stack Pointer (SP) for stack instructions such as PUSH and POP.
  • 26. Architecture 8086 Microprocessor 26 Bus Interface Unit (BIU) Segment Registers Extra Segment Register 16-bit Points to the extra segment in which data (in excess of 64K pointed to by the DS) is stored. String instructions use the ES and DI to determine the 20-bit physical address for the destination.
  • 27. Architecture 8086 Microprocessor 27 Bus Interface Unit (BIU) Segment Registers Instruction Pointer 16-bit Always points to the next instruction to be executed within the currently executing code segment. Its content is automatically incremented as the execution of the next instruction takes place.
  • 28. Architecture 8086 Microprocessor 28 EU Registers Accumulator Register (AX) Consists of two 8-bit registers AL and AH, which can be combined together and used as a 16-bit register AX. AL in this case contains the low order byte of the word, and AH contains the high-order byte. Execution Unit (EU)
  • 29. Architecture 8086 Microprocessor 29 EU Registers Base Register (BX) Consists of two 8-bit registers BL and BH, which can be combined together and used as a 16-bit register BX. BL in this case contains the low-order byte of the word, and BH contains the high-order byte. This is the only general purpose register whose contents can be used for addressing the 8086 memory. All memory references utilizing this register content for addressing use DS as the default segment register. Execution Unit (EU)
  • 30. Architecture 8086 Microprocessor 30 EU Registers Counter Register (CX) Consists of two 8-bit registers CL and CH, which can be combined together and used as a 16-bit register CX. Instructions such as SHIFT, ROTATE and LOOP use the contents of CX as a counter. Execution Unit (EU)
  • 31. Architecture 8086 Microprocessor 31 EU Registers Data Register (DX) Consists of two 8-bit registers DL and DH, which can be combined together and used as a 16-bit register DX. When combined, DL register contains the low order byte of the word, and DH contains the high-order byte. Used to hold the high 16-bit result (data) in 16 X 16 multiplication or the high 16-bit dividend (data) before a 32 ÷ 16 division and the 16-bit reminder after division. Execution Unit (EU)
  • 32. Architecture 8086 Microprocessor 32 EU Registers Stack Pointer (SP) and Base Pointer (BP) SP and BP are used to access data in the stack segment. SP contents are automatically updated (incremented/ decremented) due to execution of a POP or PUSH instruction. Execution Unit (EU)
  • 33. Architecture 8086 Microprocessor 33 EU Registers Source Index (SI) and Destination Index (DI) Used in indexed addressing. Execution Unit (EU)
  • 34. Architecture 8086 Microprocessor 34 Flag Register 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 OF DF IF TF SF ZF AF PF CF Carry Flag This flag is set, when there is a carry out of MSB in case of addition or a borrow in case of subtraction. Parity Flag This flag is set to 1, if the lower byte of the result contains even number of 1’s ; for odd number of 1’s set to zero. Auxiliary Carry Flag This is set, if there is a carry from the lowest nibble, i.e, bit three during addition, or borrow for the lowest nibble, i.e, bit three, during subtraction. Zero Flag This flag is set, if the result of the computation or comparison performed by an instruction is zero Sign Flag This flag is set, when the result of any computation is negative Tarp Flag If this flag is set, the processor enters the single step execution mode by generating internal interrupts after the execution of each instruction Interrupt Flag Causes the 8086 to recognize external mask interrupts; clearing IF disables these interrupts. Direction Flag This is used by string manipulation instructions. If this flag bit is ‘0’, the string is processed beginning from the lowest address to the highest address, i.e., auto incrementing mode. Otherwise, the string is processed from the highest address towards the lowest address, i.e., auto incrementing mode. Over flow Flag This flag is set, if an overflow occurs, i.e, if the result of a signed operation is large enough to accommodate in a destination register. The result is of more than 7-bits in size in case of 8-bit signed operation and more than 15-bits in size in case of 16-bit sign operations, then the overflow will be set. Execution Unit (EU)
  • 35. 35 Architecture 8086 Microprocessor Sl.No. Type Register width Name of register 1 General purpose register 16 bit AX, BX, CX, DX 8 bit AL, AH, BL, BH, CL, CH, DL, DH 2 Pointer register 16 bit SP, BP 3 Index register 16 bit SI, DI 4 Instruction Pointer 16 bit IP 5 Segment register 16 bit CS, DS, SS, ES 6 Flag (PSW) 16 bit Flag register 8086 registers categorized into 4 groups 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 OF DF IF TF SF ZF AF PF CF
  • 38. • Virtual mode(VM): set when processor switch into virtual mode. • Resume flag (RF): This control flag use with debug registers. It set when debug fault is ignored and next instruction executed normally. • Nested task flag (NT): This flag is used in protected mode ,WHEN current task called from another task. • IOPL: these two bits identify current privilege level in protected mode
  • 39. COPROCESSOR • A coprocessor is a computer processor used to supplement the functions of the primary processor (the CPU). • Additional operations performed by the coprocessor may be floating point arithmetic, graphical , signal processing, string processing,
  • 40. • A special-purpose processing unit that assists the CPU in performing certain types of operations. • For example, a math coprocessor (8087) performs mathematical computations, particularly floating- point operations. • Math coprocessors are also called numeric and floating-point coprocessors. • EX. 8087 ,80387
  • 41. • 8087 MATH COPROCESSOR USED INTERFACING WITH 8086 . • 80387 MATH COPROCESSOR USED INTERFACING WITH 80386 .
  • 44. • the x86 architecture extended the 32-bit registers into 64-bit registers. • An R-prefix identifies the 64-bit registers (RAX, RBX, RCX, RDX, RSI, RDI, RBP, RSP, RFLAGS, RIP), and eight additional 64-bit general registers (R8-R15) were also introduced in the creation of x86-64. However, these extensions are only usable in 64-bit mode
  • 45. • Memory address space wide up to 2^64. bytes. • Sixteen 64-bit general purpose registers . • Six 16-bit segment registers . • RFLAG registers 64 bits wide.
  • 46. Features of some i7 registers • XMM registers: these 8 registers are used to operate on scalar single precision floating point data.(XMM0- XMM7). • MXCSR REGISTER: these 32 bit registers provide status and control bits used in SIMD floating point operations. • MMX: These 8 registers are used to perform operations on 64 bit packed integer data.(MMX0- MMX7).