NASM - The Netwide Assembler

NASM Forum => Example Code => Topic started by: TightCoderEx on June 17, 2012, 08:22:55 PM

Title: Formatted error reporting SYSCALL's
Post by: TightCoderEx on June 17, 2012, 08:22:55 PM
This procedure formats an error string and gives operator a selection of three things that can be done.

   Error [ 0x5D ] @ {0x400088} = ESOCKTNOSUPPORT > Socket type not supported

           [A] Abort
           [R] Retry
           [  ] Ignore
           [  ]

Don't know how to put "I" next to ignore without thinking I want to italicise, but you get the idea. I chose to include error mnemonic
so it's easier to identify error details through man pages.