IP/EIP registers? Pre-RIP use of instruction pointer
IP/EIP registers? Pre-RIP use of instruction pointer
What was their purpose when they were directly unusable?
Re: IP/EIP registers? Pre-RIP use of instruction pointer
Is there some invisible power preventing you from reading the kcufing manual?
Learn to read.
Re: IP/EIP registers? Pre-RIP use of instruction pointer
May I ask you why are you breaking forum rules by not reading it?
Learn to read.
Re: IP/EIP registers? Pre-RIP use of instruction pointer
But I can't find there why it was exposed as real register instead of being CPU internal only. Only usage I found is pushing his value in case of exceptions. Which I think does not need exposing it
Last edited by lopidas on Tue Jun 04, 2013 1:32 pm, edited 1 time in total.
Re: IP/EIP registers? Pre-RIP use of instruction pointer
I heard x86_64 introduced this thing called RIP-relative addressing...
Learn to read.
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: IP/EIP registers? Pre-RIP use of instruction pointer
The instruction pointer has always been a real register. Even the 8086 has a load IP with constant, load IP with register, and push/pop IP on the stack, and even *gasp* addition.lopidas wrote:But I can't find there why it was exposed as real register instead of being CPU internal only.