0
When I change the system call of int $0x80
for syscall
or sysenter
in this code:
mov $4, %rax
mov $1, %rbx
mov $String1, %rcx
mov $16, %rdx
int $0x80
the program ends up in Segmentation fault. In GDB it shows:
Program Received Signal SIGSEGV, Segmentation fault. 0x0000f7ffdbe9 in ?? ()
Why is this change making this impact? Thank you