[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pgubook-readers] Book reader
From: |
Bryn Reeves |
Subject: |
Re: [Pgubook-readers] Book reader |
Date: |
Sat, 15 Jan 2005 21:07:49 +0000 |
On Sat, 2005-01-15 at 20:02, Benn Goldman Rivers wrote:
> Hi, i've just started to read this book. On Chapter 2 is a CPU element
> called 'program counter', it's the same as EIP ?
>
Yes: on x86 the program counter register is called IP/EIP.
IP stands for Instruction Pointer - the real mode name of the register
(16 bits). The E was added with the 386 along with the other extended
registers (AX -> EAX, BX -> EBX etc.) and refers to the 32 bit register
accesible in protected mode.
See pages 13 & 25-26, there are also some nice diagrams of x86 register
layout here:
http://www.csee.umbc.edu/~plusquel/310/slides/micro_arch1.html
Cheers,
Bryn.