20

Is there any basic difference between instruction pointer and program counter? I believe they both refer to the same thing, the eip/rip register, although with the research i have done so far it is not very clear in my mind.

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
B. Kostas
  • 583
  • 4
  • 17

1 Answers1

31

Nope, they're the same thing. A given architecture will refer to exactly one of these (in particular, x86 and x64 use IP instead of PC).

Sneftel
  • 40,271
  • 12
  • 71
  • 104