Dump Registers
Dump Registers
Does anyone have any ideas on writing a Dump Registers subroutine in NASM. Please let me know if you do.
Only Human
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Dump Registers
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
actually, it doesn't dump registers, but stack content ... blaH ... just pushad before you call it and you'll have registers
Re:Dump Registers
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*
p.s.: did I say already that i'm crazy today? *lol*