>>107551232
Just make a proper
static inline long write(int fd, void* buf, long count) {
register long asm("rax") = 1;
...
}
function?
Yeah it's a lot of typing, so just write a script to generate them? If you ever want to run your code on another platform, it will be easy just to change code to generate for another platform.