Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But if you are the one writing the standard library, it's still easy. You can write asm volatile("syscall" : a bunch of stuff telling the compiler which values to put in which registers)


You can write that sort of asm code to call functions too, but the whole point of compilers is you shouldn't need to. It's a stable calling convention and I felt that the compiler should know how to emit the code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: