This lack the best option: ctrl-x a Don't bother having a external GUI, just use the built-in Ncruses one.
Why kernel tutorials always say they need nasm. Gcc already comes with an assembler so simply use it instead of installing other softwares. And if you prefer intel syntax simply add ".intel_syntax;"
No, a ret instruction would probably segfault, depending on the content of the stack. To terminate a program you have to use the corresponding system call. On linux : mov $1, %eax int $0x80
This lack the best option: ctrl-x a Don't bother having a external GUI, just use the built-in Ncruses one.
Why kernel tutorials always say they need nasm. Gcc already comes with an assembler so simply use it instead of installing other softwares. And if you prefer intel syntax simply add ".intel_syntax;"
No, a ret instruction would probably segfault, depending on the content of the stack. To terminate a program you have to use the corresponding system call. On linux : mov $1, %eax int $0x80