Re: NASM 0.98.39 vs. NASM 2.03.01 disassembly



On Thu, 4 Sep 2008 10:39:10 -0400
"Rod Pemberton" <do_not_have@xxxxxxxxxxxxx> wrote:

"load" to me means a "read" of default register size.

The reason that one should not take such words too literally is that
they were chosen by a tech writer who was trying to explain a hardware
process in terms that an average programmer would understand.

From a hardware design point of view, "load" is acceptable in the case
where the selector must be fetched from memory, but is inappropriate
when the selector has already been loaded into a register. Every bit the
cpu logic needs to access can be accessed directly from the source
register, so gating it to some hidden 32-bit register would merely
waste cpu resources.

Nor does the concept of "default register size" apply to the source
register. The cpu uses bits 0-2 to enforce the security rules; bit 3
to select between the GDT and LDT; and bits 4-15 as an index into the
selected table. Under no circumstances does it deal with 8, 16, 32, or
64 bit entities.

--
Chuck
http://www.pacificsites.com/~ccrayne/charles.html


.



Relevant Pages

  • Re: HP35s slower than HP32SII?
    ... It is built around substantially the same hardware. ... differences are due to the new capabilities of the software running the ... So, probably, every register ... even though the CPU is the same and it runs at the same speed as a 33S. ...
    (comp.sys.hp48)
  • Startup 68332
    ... I have a new hardware. ... the CPU doesn't start up. ... I can't see the register values. ... after a reset i have 4 low pulses on CSBOOT ...
    (comp.sys.m68k)
  • Re: Startup 68332
    ... I have a new hardware. ... the CPU doesn't start up. ... I can't see the register values. ... after a reset i have 4 low pulses on CSBOOT ...
    (comp.sys.m68k)
  • acpi problems w/ DL140s in recent kernels
    ... Using 3 I/O APICs ... CPU: Trace cache: 12K uops, ... number of MP IRQ sources: ... register #01: 000F0011 ...
    (Linux-Kernel)
  • Re: 2.6.16-rc5 lost cpu
    ... CPU: Trace cache: 12K uops, ... Using specific hotkey driver ... Unable to register with parport ... Detection failed at step 5 ...
    (Linux-Kernel)