Re: Fiddling with the Instruction Pointer



"Sami Lakka" <spamtrap@xxxxxxxxxx> 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 ...

Have you thought about what you're asking here? How could an app monitor
the instructions? Where would such an app be executing?

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

On Linux, you can use the Bochs simulator to run and control x86 programs.
Another alternative would be to have one process control another process
using the "single step" capability of the x86 CPUs to move forward one
instruction at a time, like the DOS debug command.
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages

  • Re: Fiddling with the Instruction Pointer
    ... > It has been long since I did anything with x86 assembler and now I'm ... > instructions that the x86 machine is performing and when certain ... This depends on what level you want to monitor the 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)
  • 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)
  • CPU monitor
    ... I would like to monitor the CPU utilisation on my x86 based embedded platform running WinCE4.2. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Two Click disassembly/reassembly
    ... Map the extra x86 registers to memory. ... > equivalents to the string instructions. ... > got such a limited RISC like instruction set that the assembler is more ...
    (alt.lang.asm)