<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/september-10-2026-gn9tje8mw" -->

---
title: September 10, 2026 | daily.dev
description: A brief trivia note explains the naming of the x86 UD2 instruction (used to deliberately trigger an invalid opcode exception): it follows earlier UD0 and UD1...
canonical: https://daily.dev/posts/september-10-2026-gn9tje8mw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: September 10, 2026 | daily.dev
og:description: A brief trivia note explains the naming of the x86 UD2 instruction (used to deliberately trigger an invalid opcode exception): it follows earlier UD0 and UD1...
og:url: https://daily.dev/posts/september-10-2026-gn9tje8mw
og:image: https://api.daily.dev/og/posts/Gn9tJE8mW.png
og:image:alt: September 10, 2026
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# September 10, 2026

**[The Old New Thing](https://daily.dev/sources/oldnewthing)** · 1 min read · 0 upvotes · 0 comments

## Summary

A brief trivia note explains the naming of the x86 UD2 instruction (used to deliberately trigger an invalid opcode exception): it follows earlier UD0 and UD1 instructions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/oldnewthing/20260910-00>

## Questions this post answers

### Why is the x86 undefined instruction called ud2 instead of ud1?

It is named ud2 because it came after ud0 and ud1, which were earlier undefined instructions in the x86 instruction set. The numbering simply reflects the order in which these deliberately invalid opcodes were introduced, with ud2 being the one that ended up standardized and commonly used to trigger an invalid opcode exception.

_Curious explainers on x86 internals like this one show up for developers following daily.dev's low-level programming coverage._

## Similar posts on daily.dev

- [October 19, 2026](https://daily.dev/posts/october-19-2026-h766sbvrr) · The Old New Thing · 0 upvotes · 0 comments
- [October 7, 2026](https://daily.dev/posts/october-7-2026-ngtn7a7io) · The Old New Thing · 0 upvotes · 0 comments
- [October 6, 2026](https://daily.dev/posts/october-6-2026-tktecgfrs) · The Old New Thing · 1 upvotes · 0 comments
- [April 21, 2026](https://daily.dev/posts/april-21-2026-rmc2oscfw) · Hacker News · 0 upvotes · 0 comments
- [Another x86 Advisory From Some Entity Other Than Intel Or AMD](https://daily.dev/posts/another-x86-advisory-from-some-entity-other-than-intel-or-amd-1dlwjprgf) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#assembly](https://daily.dev/tags/assembly)

[View this post on daily.dev](https://daily.dev/posts/september-10-2026-gn9tje8mw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"September 10, 2026","url":"https://daily.dev/posts/september-10-2026-gn9tje8mw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/september-10-2026-gn9tje8mw"},"datePublished":"2026-09-11T16:48:35.460Z","dateModified":"2026-10-15T02:22:55.965Z","description":"A brief trivia note explains the naming of the x86 UD2 instruction (used to deliberately trigger an invalid opcode exception): it follows earlier UD0 and UD1...","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"The Old New Thing","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"The Old New Thing","logo":"https://media.daily.dev/image/upload/s--jKXDeorG--/f_auto,q_auto/v1783840773/logos/oldnewthing?_a=BAMAMicg0","url":"https://daily.dev/sources/oldnewthing"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/september-10-2026-gn9tje8mw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"assembly","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"The Old New Thing","item":"https://daily.dev/sources/oldnewthing"},{"@type":"ListItem","position":3,"name":"September 10, 2026"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/september-10-2026-gn9tje8mw#faq","mainEntity":[{"@type":"Question","name":"Why is the x86 undefined instruction called ud2 instead of ud1?","acceptedAnswer":{"@type":"Answer","text":"It is named ud2 because it came after ud0 and ud1, which were earlier undefined instructions in the x86 instruction set. The numbering simply reflects the order in which these deliberately invalid opcodes were introduced, with ud2 being the one that ended up standardized and commonly used to trigger an invalid opcode exception. Curious explainers on x86 internals like this one show up for developers following daily.dev's low-level programming coverage."}}]}
```

