Re: Fiddling with the Instruction Pointer



Sami Lakka wrote:

> It has been long since I did anything with x86 assembler and now I'm
> starting a small hobby project. What I would like to do is monitor the
> instructions that the x86 machine is performing and when certain
> conditions occur I would like to perform other operations instead of
> those in the instruction pointer. Could someone give me pointers how
> to do this with your regular x86 Windows XP machines. For example how
> to write an app that constantly monitors the IP?

This depends on what level you want to monitor the instruction pointer. If
you're satisfied with a single application, and don't need to trace
applications that have been protected, the WIN32 Debug API will most likely
handle what you need.

If you need more heavy monitoring than this, you'll need to be very
comfortable with the IA-32 instruction set and architecture (see intel's
volume 3, "systems programming guide"), as well as the NT internals, which
is an even more complex beast...


.



Relevant Pages

  • Fiddling with the Instruction Pointer
    ... It has been long since I did anything with x86 assembler and now I'm ... What I would like to do is monitor the ... instructions that the x86 machine is performing and when certain conditions ... instruction pointer. ...
    (comp.lang.asm.x86)
  • Seeking Sun hardware recommendations...
    ... there is an x86 version but I'd really prefer to run it on Sun hardware. ... Ultra 5 - hopefully I can find one with a monitor. ... Am I correct in assuming that you can't just plug a PC monitor in? ... It looks like I might also be able to afford an Ultra 2 which interests ...
    (comp.unix.solaris)
  • Re: Fiddling with the Instruction Pointer
    ... >It has been long since I did anything with x86 assembler and now I'm ... What I would like to do is monitor the ... >instructions that the x86 machine is performing ... ... Where would such an app be executing? ...
    (comp.lang.asm.x86)
  • stack layout x86
    ... The stack layout of an x86 is: ... instruction pointer: arguments to function: local variables? ...
    (comp.lang.asm.x86)
  • CPU monitor
    ... I would like to monitor the CPU utilisation on my x86 based embedded platform running WinCE4.2. ...
    (microsoft.public.windowsce.platbuilder)