<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy" -->

---
title: A Completely Useless Instruction? | daily.dev
description: Intel's datasheets give the wrong opcode for FRSTPM, an instruction found only on the 80287XL and M80287. Testing on a real 286 with a 287XL suggests the...
canonical: https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: A Completely Useless Instruction? | daily.dev
og:description: Intel's datasheets give the wrong opcode for FRSTPM, an instruction found only on the 80287XL and M80287. Testing on a real 286 with a 287XL suggests the...
og:url: https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy
og:image: https://api.daily.dev/og/posts/EIarXxypy.png
og:image:alt: A Completely Useless Instruction?
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.

# A Completely Useless Instruction?

**[Two Stop Bits](https://daily.dev/sources/twostopbits)** · 16 min read · 0 upvotes · 0 comments

## Summary

Intel's datasheets give the wrong opcode for FRSTPM, an instruction found only on the 80287XL and M80287. Testing on a real 286 with a 287XL suggests the instruction is encoded as DB E5, not the documented DB F4. DB F4 does nothing visible, while DB E5 switches the format FSTENV saves back to the real-mode version. Hummel's 1992 book also listed DB E5 in one place, though inconsistently. The instruction is effectively useless, since a reset already returns a 286 and 287 to real mode, and the original 287 lacks it. The author found no support for it in 1990s Microsoft, Borland, Watcom or Symantec assemblers and disassemblers.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.os2museum.com/wp/a-completely-useless-instruction>

## Questions this post answers

### What is the correct opcode for the FRSTPM instruction on the Intel 80287XL?

The correct FRSTPM opcode is DB E5, not DB F4 as Intel's 80287XL and M80C287 datasheets list. Testing on a 286 with a 287XL showed DB F4 has no discernible effect, while DB E5 changes the format FSTENV stores back to the real-mode version. Third-party sources such as Hummel's 1992 book, and the Solaris/Illumos disassembler, list DB E5.

_Hardware quirks like this keep surfacing on daily.dev for developers who dig into low-level internals._

### Why does the 80287 need FSETPM but the 80387 doesn't?

On the 80286 the FPU can't see the CPU's machine status word, so software must execute FSETPM after entering protected mode to make the 287 save its state in the protected-mode, segmented-address format. The 386 CPU, not the FPU, tracks FP instruction and operand addresses, so the save format follows the CPU mode automatically and neither FSETPM nor FRSTPM is needed.

_Developers digging into x86 architecture history follow this kind of detail on daily.dev._

## Similar posts on daily.dev

- [Who Is Vfmaddrnd231pd?](https://daily.dev/posts/who-is-vfmaddrnd231pd--8dawjky69) · Hacker News · 0 upvotes · 0 comments
- [Your CPU still boots up pretending to be a 1978 Intel chip, and Intel gave up on removing it](https://daily.dev/posts/your-cpu-still-boots-up-pretending-to-be-a-1978-intel-chip-and-intel-gave-up-on-removing-it-yoaapy56i) · XDA Developers · 2 upvotes · 0 comments
- [How The Intel 8087 FPU Knows Which Instructions To Execute](https://daily.dev/posts/how-the-intel-8087-fpu-knows-which-instructions-to-execute-xq7uk4umr) · Hackaday · 0 upvotes · 0 comments
- [6502 Emulation - The Jump Indirect Bug](https://daily.dev/posts/6502-emulation---the-jump-indirect-bug-wn0qipigx) · Two Stop Bits · 0 upvotes · 0 comments
- [Analyzing The FScale Instruction In Intel’s 8087 FPU](https://daily.dev/posts/analyzing-the-fscale-instruction-in-intel-s-8087-fpu-gxn1cxtgy) · Hackaday · 0 upvotes · 0 comments

---

Tags: [#hardware](https://daily.dev/tags/hardware), [#reverse-engineering](https://daily.dev/tags/reverse-engineering), [#retrocomputing](https://daily.dev/tags/retrocomputing)

[View this post on daily.dev](https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy)

```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":"A Completely Useless Instruction?","url":"https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy"},"datePublished":"2026-11-26T12:17:44.748Z","dateModified":"2026-11-26T12:18:08.107Z","description":"Intel's datasheets give the wrong opcode for FRSTPM, an instruction found only on the 80287XL and M80287. Testing on a real 286 with a 287XL suggests the...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d44d849fa6855bda60d8b1a6d65ac500?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d44d849fa6855bda60d8b1a6d65ac500?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Two Stop Bits","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":"Two Stop Bits","logo":"https://media.daily.dev/image/upload/s--BScjOU_Q--/f_auto/v1728977574/logos/twostopbits","url":"https://daily.dev/sources/twostopbits"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"hardware,reverse-engineering,retrocomputing","timeRequired":"PT16M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Two Stop Bits","item":"https://daily.dev/sources/twostopbits"},{"@type":"ListItem","position":3,"name":"A Completely Useless Instruction?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/a-completely-useless-instruction--eiarxxypy#faq","mainEntity":[{"@type":"Question","name":"What is the correct opcode for the FRSTPM instruction on the Intel 80287XL?","acceptedAnswer":{"@type":"Answer","text":"The correct FRSTPM opcode is DB E5, not DB F4 as Intel's 80287XL and M80C287 datasheets list. Testing on a 286 with a 287XL showed DB F4 has no discernible effect, while DB E5 changes the format FSTENV stores back to the real-mode version. Third-party sources such as Hummel's 1992 book, and the Solaris/Illumos disassembler, list DB E5. Hardware quirks like this keep surfacing on daily.dev for developers who dig into low-level internals."}},{"@type":"Question","name":"Why does the 80287 need FSETPM but the 80387 doesn't?","acceptedAnswer":{"@type":"Answer","text":"On the 80286 the FPU can't see the CPU's machine status word, so software must execute FSETPM after entering protected mode to make the 287 save its state in the protected-mode, segmented-address format. The 386 CPU, not the FPU, tracks FP instruction and operand addresses, so the save format follows the CPU mode automatically and neither FSETPM nor FRSTPM is needed. Developers digging into x86 architecture history follow this kind of detail on daily.dev."}}]}
```

