implement pseudo calling convention to support syscall_print_int