© 2020 JETIR April 2020, Volume 7, Issue 4 www.jetir.org (ISSN-2349-5162) Study of X-86 Family Ayush Mishra Student, Department of ETRX, Shree L.R. Tiwari College of Engineering Mira Road, Thane, Mumbai, Maharashtra, India. Shreya Shivalkar Student, Department of ETRX, Shree L.R. Tiwari College of Engineering, Mira Road, Thane, Mumbai, Maharashtra, India. Shweta Yadav Student, Department of ETRX, Shree L.R. Tiwari College of Engineering, Mira Road, Thane, Mumbai, Maharashtra, India. Anil Suthar Student, Department of ETRX, Shree L.R. Tiwari College of Engineering, Mira Road, Thane, Mumbai, Maharashtra, India. Abstract- The 8086 was introduced in 1978 as a fully 16-bit extension of Intel's 8-bit 8080 microprocessor, with memory segmentation as a solution for addressing more memory. The term "X86" came into being because the names of several successors to Intel's 8086 processor end in "86", including the 80186, 80286, 80386 and 80486 processors.This paper is an in detail study of X-86 family consisting of its features, advantages, applications, instruction set and overview of other processors/extensions in the X-86 family.Architecture,Programmer's model and Various addressing modes are also explained briefly. Keywords- X-86 family, Registers, Pipelining, Modes of operation, clock speed, Core I. INTRODUCTION Intel and has evolved over time by the addition of new instructions as well as the expansion to 64-bits. As of The 8086 was introduced in 1978 as a fully 16-bit 2009, x86 primarily refers to IA-32 (Intel Architecture, extension of Intel's 8-bit 8080 microprocessor, with 32-bit) and/or X86-64,the extension to 64 bit .Versions of memory segmentation as a solution for addressing more the x86 instruction set architecture have been implemented memory.The X86 instruction set architecture originated by by Intel, AMD and several other vendors,with each vendor having its own family of x86 processors. II. FEATURES ● Wide Range of Clock Rates ● High Performance Processor (Up to 19 Times the 8086 Throughput) JETIR2004057 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 399 © 2020 JETIR April 2020, Volume 7, Issue 4 www.jetir.org (ISSN-2349-5162) ● Large Address Space 16 Megabytes Physical/1 Gigabyte Virtual per Task ● Integrated Memory Management, ● Four-Level Memory Protection and Support for Virtual Memory and Operating ● High Bandwidth Bus Interface (25 Megabyte/Sec) ● Can function in Protected Mode and Real Mode[10] Fig 2. General Purpose Registers IV. PROGRAMMERS MODEL 8086 has 8 general purpose registers,labelled AH,AL,BH,BL,CH,CL,DH and DL .The 32 bit registers have four separately addressable parts and the 16-bit registers have 16-bit AX, 8-bit AH and AL,16-bit BX, 8-bit BH and BL, 16-bit CX, 8-bit CH and CL, 16-bit DX, 8-bit DH and DL . These registers can be used for arithmetic and logical operations on data . Many have specialized purposes.[3] Register Size(in bits) Purpose name AL, 8/8/16 Known as AH/AX accumulator. It holds results of Fig 1. Programmers model arithmetic The programming model of the 8086 is considered operations and function return to be program visible because its registers are used values. during application programming and are specified by the instructions.The programming model for a BL, 8/8/16 Used to store the microprocessor shows the various internal registers BH/BX base address of the that are accessible to the programmer. In the program. programming model there are CL, 8/8/16 Used for loop and - 4 General Purpose registers( Data Registers) CH/CX string operations. - 4 Segment registers - 2 Pointer registers - 2 Index registers DL, 8/8/16 A general purpose - 1 Instruction Pointer register DH/DX registers. Also - 1 Flag register used for I/O operations. A.Basic Program execution registers. Table 1 b.) Segment Registers . a.)General Purpose Registers Fig 3. Segment Registers JETIR2004057 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 400 © 2020 JETIR April 2020, Volume 7, Issue 4 www.jetir.org (ISSN-2349-5162) The four segment registers CS, DS, ES and SS are the same as the segment registers found in Intel 8086 and Intel 286 processors and the FS and GS registers were introduced into the Intel 32 bit architecture.These registers are used to break up a program into parts. As it executes, the segment registers are assigned the base values of each segment. From here, offset values are used to access each command in the program.[4] Fig 4. Flag Registers Segment Size Purpose Register (bits) CS 16 Code segment register.Used Flag Bi Purpose for fetching instructions. t DS 16 Data segment register. Used CF Set if an arithmetic for data accesses. (Carry 0 operation generates a carry Flag) or a borrow out of the most ES 16 Extra segment register. Used significant bit of the result, during string operations. cleared otherwise. SS 16 Stack segment register. Base PF 2 Set if the least-significant location of the stack (Parity byte of the result contains an segment. Flag) even number of 1 bit, cleared otherwise. FS 16 Extra segment register. AF 4 Set if an arithmetic GS 16 Extra segment register. (Adjust operation generates a carry Flag) or a borrow out of bit 3 of the Table 2 result, cleared otherwise. ZF 6 Set if the result is zero, c.) Instruction pointer register (Zero Flag) cleared otherwise Instruction pointer register contains the offset in the SF 7 Set equal to the most- current code segment for the next instruction to be (Sign Flag) significant bit of the result. 0 executed. It is advanced from one instruction indicates a positive value, whereas 1 indicates a boundary to the next one in straight line negative value. code.Instruction pointer register cannot be accessed directly by software. It is controlled implicitly by AF 1 Set if the integer result is too control-transfer instructions such as JMP, JCC, (Auxiliary large a positive number or CALL, RET and IRET, interrupts and exceptions. carry Flag) too small a negative number, cleared otherwise. [6] d.) Flag Registers TF 0 Set if processor enters Flag is a flip-flop,which indicates some condition. (Trap single-step mode,cleared Depending upon the value of result after any Flag) otherwise Arithmetic and Logical operations, the flag bits IF 0 Set if CPU recognizes become Set (1) or Reset (0).The 8086 has a 16-bit (Interrupt Maskable interrupt flag register with 9-active flags.These flags are of Flag) requests,cleared otherwise. two types: 6 Status flags namely carry flag, parity flag, auxiliary carry flag, zero flag, sign flag and DF 0 Set if Instructions are (Directio processed high address to 3 Control flags namely trap flag, interrupt flag n flag) low address,cleared vice- and direction flag.The Control flags are used to versa. control certain operations. They are changed by the programmer.[8] Table 3 JETIR2004057 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 401 © 2020 JETIR April 2020, Volume 7, Issue 4 www.jetir.org (ISSN-2349-5162) B. FPU Registers There are Eight 80-bit floating point data registers.They are named as ST(0),ST(1),..ST(7).They are arranged in stacks and are used for all floating-point arithmetic operations.All floating-point instructions provide a 5-bit field that specifies which floating-point Fig 7. XXM Registers registers to use in the execution of the instruction. All floating-point instructions other than loads are performed on operands located in floating-point 5 ) Instruction Set of X-86 Microprocessors: registers. Numbers are pushed onto the stack from An instruction is a binary pattern designed inside a memory, and are popped off the stack back to microprocessor to perform a specific function. The memory. There is no instruction allowing to transfer entire group of instructions that a microprocessor values directly to or from ALU registers. [5] supports is called Instruction Set. 8086 has more than 20,000 instructions.Instructions are classified on the basis of functions they perform.The 8086 microprocessor supports 8 types of instructions − ● Data Transfer Instructions ● Arithmetic Instructions ● Bit Manipulation Instructions ● String Instructions Fig 5. FPU Registers ● Program Execution Transfer Instructions (Branch & Loop Instructions) C.MMX Registers ● Processor Control Instructions MMX defines eight registers, called MM0 through ● Iteration Control Instructions MM7, and operations that operate on them. Each ● Interrupt Instructions register is 64 bits wide and can be used to hold either 64-bit integers, or multiple smaller integers in a "Packed" format. It provides arithmetic and logic operations on 64-bit integer numbers.The extension a.) Data Transfer Instructions: contains 16 data registers of 64-bits and eight control registers of 32-bits.[2] The data transfer instructions are used to transfer data from one location to another. This transfer of data can be either from register to register, register to memory or memory to register.It is important to note here that the memory to memory transfer of data directly is not possible.All the store, move, load, exchange, input and output instructions belong to this category. These instructions do not affect any flags.[1] Fig 6. MMX Registers For eg: MOV, PUSH, IN, OUT etc D.XMM Registers b.) Arithmetic Instructions: These registers can be accessed directly using the names XMM0 to XMM7; and they can be These instructions perform the arithmetic accessed independently from the X87 FPU and operations, like addition, subtraction, multiplication MMX registers and the General-purpose and division along with the respective ASCII and registers.XMM registers can only be used to decimal adjust instructions.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-