Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [x86]

The tag has no usage guidance.

3
votes
1answer
357 views

What was the first Intel x86 processor with “Base + Index * Scale + Displacement” addressing mode?

As the title says, what's the first x86 processor from Intel that supports the following addressing mode? mov %reg, 8(base, index, 4) ^^^^^^^^^^^^^^^^^ where the content of %reg will be ...
26
votes
6answers
5k views

Why weren't discrete x86 CPUs ever used in game hardware?

Please don't point out APUs with x86_64 cores used in current generation game consoles, these are not part of the question I cannot recall a single arcade system or game console that ever used x86 ...
18
votes
7answers
16k views

What does the “x” in “x86” represent?

I have read the following in the x86 Wikipedia page: 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 ...
22
votes
2answers
5k views

What was the last x86 CPU that did not have the x87 floating-point unit built in?

This Wikipedia page says the following: Most x86 processors since the Intel 80486 have had these x87 instructions implemented in the main CPU So the above quote implies that some CPUs that were ...
33
votes
2answers
4k views

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

When an x86 CPU is running in real mode, can it be considered to be basically an 8086 CPU (or maybe 8088)? Or are there differences between the two?
6
votes
1answer
269 views

What's the fastest way to ignore keypresses?

I'm writing a game for the IBM PC (running MS-DOS), complete with fancy cutscenes. Unfortunately, though, the keys pressed during those fancy cutscenes are carried out once the fancy cutscene has ...
12
votes
2answers
910 views

Examples of operating systems using hardware task switching of x86 CPUs

Intel IA-32 architecture a.k.a. x86 offers hardware task switching capabilities since 80386. It includes TR (task register), memory segmentation features such as Task State Segment, task gates, call ...
0
votes
2answers
284 views

Does anyone have an x86 EGA draw pixel routine?

So far, I have gotten by with using the BIOS draw-pixel routine here: http://stanislavs.org/helppc/int_10-c.html This works of course, but I can't imagine that commercial games used this BIOS call as ...
11
votes
2answers
449 views

How to use the “darker” CGA palette using x86 Assembly?

For those of you retro developers out there, I am having a hard time figuring out how exactly to select the "darker" color palette in 320x200 CGA mode. Here's what I have so far: setup_cga_graphics: ...
3
votes
1answer
200 views

What was the first publication documenting AT&T syntax assembly language?

What was the first publication to document what is (now) known as AT&T syntax assembly language?
13
votes
1answer
345 views

SYSENTER/SYSEXIT broken on Pentium Pro and Pentium II?

I was just What is linux-gate.so.1?, and it says this Intel recognized this problem early on and introduced a more efficient system call interface in the form of sysenter and sysexit instructions. ...
6
votes
4answers
634 views

Reason behind “ASCII Adjust” instructions being ASCII and not BCD?

I'm just curious if there was ever other instructions that were more ASCII-centric than the CISC associated ones we're left with now? Specifically, all the Binary Coded Decimal (BCD) instructions ...
1
vote
1answer
471 views

How do you put a 286 in Protected Mode?

From the Art of Intel x86 Assembly, Page 149, The 80386 added four control registers: CR0-CR3. These registers extend the msw registers of the 80286 [...] The book says earlier that, The 80286 ...
9
votes
3answers
679 views

x86 as a Pascal Machine?

From this answer by gsg about the usage of certain x86 instructions: Note that the x86 was originally designed as a Pascal machine, which is why there are instructions to support nested functions (...
1
vote
2answers
208 views

Mysterious things happening to stack when running a debug session

When I run a debug session using Freedos and debug.exe, I get a session like the following. I've added a description of what I saw as annotation on the image. Each step, I've printed out the stack ...
16
votes
2answers
2k views

The start of x86: Intel 8080 vs Intel 8086?

Why is it said that all modern Intel processors of the x86 family are said to descent from the Intel 8086 and not the Intel 8080? From the Wikipedia article on the Intel 8086, The 8086 gave rise to ...