linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* What is the NIP?
@ 1999-08-15  0:18 Brian K. Neidig
  1999-08-15  1:32 ` David A. Gatwood
  0 siblings, 1 reply; 2+ messages in thread
From: Brian K. Neidig @ 1999-08-15  0:18 UTC (permalink / raw)
  To: linuxppc-dev


I've looked throughout the code for a comment describing this, but
couldn't find it.  What is the purpose of the NIP?  I think it is NOT
QUITE the IP, but I don't know what it is supposed to be.  In one place
I saw the NIP being set to the instruction before a branch instruction,
but other things seem to be happening with this variable.

Does it stand for anything?  If I knew that, all may become clearer!
For example, is it New Instruction Pointer?  Or what?

Brian




[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: What is the NIP?
  1999-08-15  0:18 What is the NIP? Brian K. Neidig
@ 1999-08-15  1:32 ` David A. Gatwood
  0 siblings, 0 replies; 2+ messages in thread
From: David A. Gatwood @ 1999-08-15  1:32 UTC (permalink / raw)
  To: Brian K. Neidig; +Cc: linuxppc-dev


On Sat, 14 Aug 1999, Brian K. Neidig wrote:

> I've looked throughout the code for a comment describing this, but
> couldn't find it.  What is the purpose of the NIP?  I think it is NOT
> QUITE the IP, but I don't know what it is supposed to be.  In one place
> I saw the NIP being set to the instruction before a branch instruction,
> but other things seem to be happening with this variable.

AFAIK, it's "next instruction pointer".  IOW, it points to whatever
instruction is supposed to be looked at by the processor next.  A branch
would thus change this, as I assume an interrupt would, but I'm not 100%
positive about that.


David


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-15  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-15  0:18 What is the NIP? Brian K. Neidig
1999-08-15  1:32 ` David A. Gatwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).