Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instruction Pointer vs Program Counter?

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.

like image 811
B. Kostas Avatar asked Nov 11 '15 00:11

B. Kostas


1 Answers

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

like image 97
Sneftel Avatar answered Oct 07 '22 18:10

Sneftel