[comp.lang.c] Help with MSC 5.0

grubin@tramp.Colorado.EDU (Rick Grubin) (02/24/88)

I need some help with MSC 5.0.  Specifically, I need a way to get what's
currently stored in the `scratch registers' of the cpu (ie. AX, BX, etc).
Is there a way to do this with MSC (bypassing assembler)?  I know I can
get the segment registers, but I need the scratch registers.

I've looked at the int86* and intdos* calls, but I'm not sure these will
do what I want, since these calls request an interrupt to be served and
execute a DOS call.  Also, are these interrupt routines useful in any way
for setting (and deleting) breakpoints in a program?

Can anyone give me a hand?  Please reply via e-mail if the response is
lengthy, and I shall summarize if interest warrants.

Thanks much in advance.




Rick Grubin, Academic Computing Services, University of Colorado, Boulder
                        grubin@tramp.Colorado.EDU
           ...{nbires,hao,ihnp4}!boulder!tramp!grubin