C++ & Fortran; Get Current Register Values
I want to make a program in both Fortran (For Syntax Simplicity) and C++ (Know More) that prints the current values of each register (esp, etc.).
I have a hunch that it will difficult in Fortran but C++ should be Mildly simple. I would rather it not be inline assembly so I could edit it more easaly but I'm flexible.
How would I Get the value of a register(s) in C++\Fortran?
Last edited by Zssfssz; 03-02-2012 at 01:54 PM.
|