Hello friends,
I'm writing a program in C with some bits in inline asm for efficiency.
I'd like to be able to handle illegal instructions from within asm.
Here's an example of a standalone asm program,
..data
..text
..globl _start
_start:
..byte 0xff
..byte 0xff
..byte 0xff
movl $1,%eax
movl $0,%ebx
int $0x80
This generates an illegal instruction but I'd like to be able to ignore
that.
Thanks.