Re: x86 addressing

From: Jonathan Bartlett (johnnyb_at_eskimo.com)
Date: 09/27/04


Date: Mon, 27 Sep 2004 10:45:02 -0500


> does anyone know of a good tut dealing with addressing in assembly? I'm
> struggling a little to figure out which registers I'm allowed to use for
> what - I figured 'general purpose' meant I could use any register for
> anything.

Chapter 2 of my book, Programming from the Ground Up, deals with this
issue. It discusses a number of addressing modes, and under what
practical circumstances each is used for. You can purchase the book at
http://www.cafeshops.com/bartlettpublish.8640017 or a slightly older PDF
at http://savannah.nongnu.org/projects/pgubook/

Jon

----
Learn to program using Linux assembly language
http://www.cafeshops.com/bartlettpublish.8640017


Relevant Pages

  • Re: x86 addressing
    ... > does anyone know of a good tut dealing with addressing in assembly? ... > struggling a little to figure out which registers I'm allowed to use for ...
    (alt.lang.asm)
  • x86 addressing
    ... does anyone know of a good tut dealing with addressing in assembly? ... struggling a little to figure out which registers I'm allowed to use for ...
    (alt.lang.asm)
  • Re: bit width
    ... gaming consoles used 64-bit chips WAY back with the Nintendo 64 (and ... Width of the integer registers ... AMD64 chips have 40 bit physical and 48 bit virtual addressing. ... Really this isn't too relevant anymore, especially with the move to more serialized databuses, though you do sometimes see it with video cards, particularly as a way to differentiate the low-end cards from their more expensive brethren. ...
    (comp.sys.ibm.pc.hardware.chips)
  • Re: little i8086 fix
    ... assembler programmers and CPU ... managed 16+16 addressing ... same registers, nearly same transistor ... the genuine, original Intel x86 processor. ...
    (comp.sys.intel)
  • Re: More Harddrive Troubles
    ... The registers are 8 bits wide. ... ATA-8 confuses the issue because it has 48 bit addressing (which ADFS ... Drives must support both 28 bit and 48 bit addressing. ...
    (comp.sys.acorn.hardware)