Dump Registers

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Neo
Member
Member
Posts: 842
Joined: Wed Oct 18, 2006 9:01 am

Dump Registers

Post by Neo »

Does anyone have any ideas on writing a Dump Registers subroutine in NASM. Please let me know if you do.
Only Human
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Dump Registers

Post 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 :-)
beyond infinity lazy

Re:Dump Registers

Post 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*
Post Reply