Messages in this thread | | | Date | Tue, 22 Jul 2003 13:50:20 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: asm (lidt) question |
| |
On Tue, 22 Jul 2003, Davide Libenzi wrote:
> On Tue, 22 Jul 2003, Jamie Lokier wrote: > > > Davide Libenzi wrote: > > > IMHO, since "var" is really an output parameter. > > > > "var" is read, not written. > > I think you are confusing "lidt" with "sidt". > > Actually I don't even know what I was confusing, since L and S are not > there for nothing ;) And yes, the form with =m as input parameter should > be corrected, even if it generates the same code. > > > > - Davide
LIDT is "load interrupt descriptor table". SIDT is "store interrupt descriptor table". Only SIDT modifies memory. LIDT reads from memory and puts the result into a special CPU register, therefore doesn't modify memory.
Cheers, Dick Johnson Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips). Note 96.31% of all statistics are fiction.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |