Author Topic: Nasm Bug  (Read 3067 times)

nobody

  • Guest
Nasm Bug
« on: March 09, 2005, 09:06:07 PM »
Hi I would like to report a bug with the latest version of nasm-0.98.39. It incorrectly emits the "INT 3" -trap to debugger instruction as a a normal INT instruction.

For instance a normal INT instruction in hex is "CD" followed by the number. And what nasm is doing is emitting "CD 03" for the "INT 3" instruction but this is not a normal interrupt instruction it's the debugger instruction and is encoded differently it should be encoded as "CC".

nobody

  • Guest
Re: Nasm Bug
« Reply #1 on: March 09, 2005, 09:09:40 PM »
It's ok ignore this post I finally found where to submit bugs to..

Debbie Wiles

  • Guest
Re: Nasm Bug
« Reply #2 on: March 09, 2005, 10:33:26 PM »
If you want the shorter instruction "CC", the debug exception, you need to use the instruction "INT3" or "INT03". This is shown in the manual...

"INT 3" will call interrupt 3, which may be used for reasons other than setting a break point (I don't have RBIL on my system at the moment so I can't elaborate on that).