struct CPUState { uint32_t regs[32], csrs[CSR_COUNT]; uint8_t *mem; uint32_t mem_offset, mem_size; };
void _start() { // ... }
movq $SYS_exit, %rax # exit( movq $1, %rdi # status=1 syscall # );