Instruction Pointer vs Program Counter?
Asked Answered
T

1

25

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.

Tangential answered 11/11, 2015 at 0:3 Comment(0)
T
33

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).

Tensile answered 11/11, 2015 at 0:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.