Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Before You Buy Your Next Phone, Read This About Security

    Why a Marathon Runner Who Hates Treadmills Is Curious About This AI-Powered One

    FaceTime Call Has No Sound? Here’s the Fix

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026

      To avoid accusations of AI cheating, college students are turning to AI

      January 29, 2026

      ChatGPT can embrace authoritarian ideas after just one prompt, researchers say

      January 24, 2026
    • Business

      The HDD brand that brought you the 1.8-inch, 2.5-inch, and 3.5-inch hard drives is now back with a $19 pocket-sized personal cloud for your smartphones

      February 12, 2026

      New VoidLink malware framework targets Linux cloud servers

      January 14, 2026

      Nvidia Rubin’s rack-scale encryption signals a turning point for enterprise AI security

      January 13, 2026

      How KPMG is redefining the future of SAP consulting on a global scale

      January 10, 2026

      Top 10 cloud computing stories of 2025

      December 22, 2025
    • Crypto

      Metaplanet Reports FY2025 Results as Bitcoin Unrealized Losses Top $1 Billion

      February 17, 2026

      Crypto’s AI Pivot: Hype, Infrastructure, and a Two-Year Countdown

      February 17, 2026

      The RWA War: Stablecoins, Speed, and Control

      February 17, 2026

      Jeffrey Epstein Emails Show Plans to Meet Gary Gensler To Talk Crypto

      February 17, 2026

      Bitcoin Bounce Fades, Q1 Losses Deepen, and New Price Risk Back in Focus

      February 17, 2026
    • Technology

      Before You Buy Your Next Phone, Read This About Security

      February 18, 2026

      Why a Marathon Runner Who Hates Treadmills Is Curious About This AI-Powered One

      February 18, 2026

      FaceTime Call Has No Sound? Here’s the Fix

      February 18, 2026

      How to Turn Your iPhone Photos Into Instant Search Results

      February 18, 2026

      How to Get Your iPhone Back on Wi-Fi

      February 18, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»x86 prefixes and escape opcodes flowchart
    Technology

    x86 prefixes and escape opcodes flowchart

    TechAiVerseBy TechAiVerseJanuary 20, 2026No Comments2 Mins Read1 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    x86 prefixes and escape opcodes flowchart

    Published on 2023-07-29. Last updated on 2025-04-27

     start here
          |
          v                                                          ╔══════════════════════════════════════════════════╗
    ╔═══════════════════════════════════════════════╤══╗             ║ 2-byte instructions               (legacy map 1) ║
    ║ 1-byte instructions (legacy map 0)            │0F------------->║                                                  ║
    ║                                               └──╢             ║ operand type specified      ┌──┐   ┌──┐          ║
    ╟──────────────────────────────────────────────────╢    .------->║ via mandatory prefixes      │38│   │3A--------------.
    ║                         40-4F                    ║    |        ║ - none (packed single)      └─|┘   └──┘          ║  |
    ╟───────────────────────────|──────────────────────╢    |  .---->║ - 66   (packed double)        |                  ║  |
    ║      ┌──┐       ┌──┬──┐   |                      ║    |  |     ║ - F2   (scalar single)        |                  ║  |
    ║    .--62│       │66│67│   |                      ║    |  |  +->║ - F3   (scalar double)        |                  ║  |
    ║    | └──┘       └─|┴─|┘   |                      ║    |  |  |  ╚═══════════════════════════════|══════════════════╝  |
    ║    |              |  |    |     ┌──┬──┐          ║    |  |  |                                  v                     |
    ║    |              |  |    |     │C4│C5-----.     ║    |  |  |  ╔══════════════════════════════════════════════════╗  |
    ║    |              |  |    |     └|─┼──┤    |     ║    |  |  |  ║ 3-byte instructions               (legacy map 2) ║  |
    ╟──┐ | ┌──┬──┐      |  |    |      | │D5│    |     ║    |  +---->║                                                  ║  |
    ║F0│ | │F2│F3│      |  |    |      | └─|┘    |     ║    |  |  |  ║ operand type specified                           ║  |
    ╚══╧═|═╧═|╧═|╧══════|══|════|══════|═══|═════|═════╝    |  |  +->║ via mandatory prefixes                           ║  |
         |   |  |  ^ ^  |  |    | ^  ^ |   | ^   |          |  |  |  ║ - none (packed single)                           ║  |
         |   |  |  | |  |  |    | |  | |   | +---|----------+  |  |  ║ - 66   (packed double)                           ║  |
         v   '--+--+ +--+--'    v |  | v   v |   v   m bit  |  |  |  ║ - F2   (scalar single)                           ║  |
      ┏━━━━┓       |          ┏━━━|┓┏|━━━┓┏━━|━┓┏━━━━┓      |  |  |  ║ - F3   (scalar double)                           ║  |
      ┃EVEX┃       |          ┃REX1┃┃VEX3┃┃REX2┃┃VEX2┃------'  |  |  ╚══════════════════════════════════════════════════╝  |
      ┗━━|━┛       |          ┗━━━━┛┗━━|━┛┗━━━━┛┗━━━━┛         |  |                                                        |
         |         ^                   |                       |  |  ╔══════════════════════════════════════════════════╗  |
         |         |                   +-------->--------------+---->║ 3-byte instructions               (legacy map 3) ║<-+
         |         |       m bits                                 |  ║                                                  ║
         '---------+---->-----------------------------------------+->║ operand type specified                           ║
                                                                  |  ║ via mandatory prefixes                           ║
                                                                  |  ║ - none (packed single)                           ║
                                                                  |  ║ - 66   (packed double)                           ║
                                                                  |  ║ - F2   (scalar single)                           ║
                                                                  |  ║ - F3   (scalar double)                           ║
                                                                  |  ╚══════════════════════════════════════════════════╝
                                                                  |  
                                                                  |  ╔══════════════════════════════════════════════════╗
                                                                  +->║ "promoted" legacy instructions           (map 4) ║
                                                                  |  ║                                                  ║
                                                                  |  ║ instruction from legacy maps 1/2/3               ║
                                                                  |  ║ promoted to EVEX for use with APX                ║
                                                                  |  ╚══════════════════════════════════════════════════╝
                                                                  |                                                      
                                                                  |  ╔══════════════════════════════════════════════════╗
                                                                  +->║ AVX512-Float16 instructions            (map 5/6) ║
                                                                     ╚══════════════════════════════════════════════════╝
    
    ┏━┯━┯━┯━┯━┯━┯━┯━┓                                                    ┏━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┓
    ┃0 1 0 0 W R X B┃                                                    ┃1 1 0 1 0 1 0 1┃M R X B W R X B┃
    ┗━┷━┷━┷━┷━┷━┷━┷━┛                                                    ┗━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┛
    REX (1-byte prefix)                       AMD64 (1999/2003)          REX (2-byte prefix)                APX (2023/????)
    - W extends operand size                                             - M selects legacy map 0 or legacy map 1
    - R extends register bits                                            - R extends register bits
    - X extends index in SIB byte                                        - X extends index in SIB byte
    - B extends base in SIB byte                                         - B extends base in SIB byte
                                                                         - W extends operand size
    
    
    ┏━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┓                                    ┏━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┓
    ┃1 1 0 0 0 1 0 1┃Ṙ ⩒ ⩒ ⩒ ⩒ L p p┃                                    ┃1 1 0 0 0 1 0 0┃Ṙ Ẋ Ḃ m m m m m┃W ⩒ ⩒ ⩒ ⩒ L p p┃
    ┗━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┛                                    ┗━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┛
    VEX (2-byte prefix)                         AVX (2008/2011)          VEX (3-byte prefix)                AVX (2008/2011)
    - R extends register bits                                            - R extends register bits
    - v encodes additional source register                               - X extends index in SIB byte
    - L selects vector length (0: 128bit | 1: 256bit)                    - B extends base in SIB byte
    - p encodes mandatory prefixes                                       - m selects instruction map (1: 0F | 2: 0F38 | 3: 0F3A)
      (0: none | 1: 66 | 2: F2 | 3: F3)                                  - W extends operand size
    - instruction map 0F (legacy map 1) implied                          - v encodes additional source register
                                                                         - L selects vector length (0: 128bit, 1: 256bit)                
                                                                         - p encodes mandatory prefixes
                                                                           (0: none | 1: 66 | 2: F2 | 3: F3)
    
    
    ┏━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┳━┯━┯━┯━┯━┯━┯━┯━┓          Notes:
    ┃0 1 1 0 0 0 1 0┃Ṙ Ẋ Ḃ Ṙ B m m m┃W ⩒ ⩒ ⩒ ⩒ Ẋ p p┃z Ŀ L b ⩒ a a a┃          - years after the instruction set extension  
    ┗━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┻━┷━┷━┷━┷━┷━┷━┷━┛            denote when it was first announced/shipped       
    EVEX (4-byte prefix)                    AVX-512 (2013/2017)                - letters with a dot above denote that the   
    - R extends register bits                                                    prefix contains the bit in inverted form   
    - X extends index in SIB byte                                              - the diagram elides escape bytes D8 til DF  
    - B extends base in SIB byte                                               - the EVEX prefix has additional variations  
    - m selects instruction map (1: 0F | 2: 0F38 | 3: 0F3A | 4 | 5 | 6)            not shown here for encoding                
    - W extends operand size                                                     - VEX instructions                         
    - v encodes additional source register                                       - legacy instructions                      
    - p encodes mandatory prefixes (0: none | 1: 66 | 2: F2 | 3: F3)             - conditional CMP/TEST                     
    - z selects merge mode (0: zero | 1: merge)                                
    - Ŀ selects vector length (512bit) or rounding control mode (with L)       
    - L selects vector length (256bit)
    - b encodes source broadcast or rounding control (with Ŀ and L) or exception suppression
    
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleF-16 Falcon Strike
    Next Article Chatbot Psychosis
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Before You Buy Your Next Phone, Read This About Security

    February 18, 2026

    Why a Marathon Runner Who Hates Treadmills Is Curious About This AI-Powered One

    February 18, 2026

    FaceTime Call Has No Sound? Here’s the Fix

    February 18, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025682 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025265 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025155 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025114 Views
    Don't Miss
    Technology February 18, 2026

    Before You Buy Your Next Phone, Read This About Security

    Before You Buy Your Next Phone, Read This About Security If you are a reader…

    Why a Marathon Runner Who Hates Treadmills Is Curious About This AI-Powered One

    FaceTime Call Has No Sound? Here’s the Fix

    How to Turn Your iPhone Photos Into Instant Search Results

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Before You Buy Your Next Phone, Read This About Security

    February 18, 20262 Views

    Why a Marathon Runner Who Hates Treadmills Is Curious About This AI-Powered One

    February 18, 20262 Views

    FaceTime Call Has No Sound? Here’s the Fix

    February 18, 20260 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    This new Roomba finally solves the big problem I have with robot vacuums

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.