You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 9Technically, long mode can run 16-bit protected mode code, just not virtual 8086 code. For the Windows-specific case, the 16-bit Windows APIs are still not available in 64-bit Windows, but this isn't a CPU limitation. (DOS applications, on the other hand, are real/virtual 8086 and won't work without emulation.)Bob– Bob2016-06-09 23:53:35 +00:00Commented Jun 9, 2016 at 23:53
- 5"you can't simply pretend AL and AH are separate 8-bit registers unless you avoid DIV, MUL etc. entirely" -- of course, the 8080 didn't have any such instructions anyway, so you'd probably be avoiding them as a matter of course.Jules– Jules2016-06-10 19:21:07 +00:00Commented Jun 10, 2016 at 19:21
- 1@Jules yes indeed, if you're porting 8-bit code — I was thinking more along the lines of developing new 8-bit code. The same consideration applies to the 16- to 32-bit switch, and to the 32- to 64-bit switch, since they all introduced new instructions that don't have smaller equivalents, so I suppose my argument is contrived.Stephen Kitt– Stephen Kitt2016-06-10 19:23:57 +00:00Commented Jun 10, 2016 at 19:23
- 2@Radovan I’m mentioning DOSBox and Wine in the context of emulating the operating system services, not the CPU. You’re right about DOSBox emulating the CPU (DOSEMU does so too in some circumstances, since it’s hard to run 16-bit code in VM86-mode while in long mode on 64-bit CPUs).Stephen Kitt– Stephen Kitt2017-08-11 12:50:27 +00:00Commented Aug 11, 2017 at 12:50
- 1Windows 10 32 bits edition supports 16 bits applications. One can say that it's its "raison d'être". That version exists mainly for that purpose, as x86 without 64 bit support (Athlon XP, Pentium 4, Dothan, etc.) would be so slow anyway that there would be no point in installing windows 10 on them.Patrick Schlüter– Patrick Schlüter2020-04-27 09:50:30 +00:00Commented Apr 27, 2020 at 9:50
| Show 8 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. ms-dos), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you