Page 1 of 1

Dump Registers

Posted: Thu Aug 07, 2003 1:01 pm
by Neo
Does anyone have any ideas on writing a Dump Registers subroutine in NASM. Please let me know if you do.

Re:Dump Registers

Posted: Thu Aug 07, 2003 2:40 pm
by Pype.Clicker
mine comes from TRAN's start32 tutorial. You can get a look at it in SOS32.ASM (function "crash") ...

actually, it doesn't dump registers, but stack content ... blaH ... just pushad before you call it and you'll have registers :-)

Re:Dump Registers

Posted: Fri Aug 08, 2003 12:19 am
by beyond infinity lazy
you can also dump the cntents of the process context after an interrupt *ggg* that's cool for doing error tracking on queer faults you canna find with bochsdebug - f. ex. when your linked list management routines have some bugz built in for free *sssfffgg* Dood, you'll roast in hell then...

p.s.: did I say already that i'm crazy today? *lol*