基于ARM处理器的Semihosting实现Information Quarterly [25] Number 1, Spring 2005 ID Semihosting Operation Type System Calls 0x01 SYS_OPEN int _sys_read(FILEHANDLE fh, unsigned char *buf, unsigned len, int mode) 0x02 SYS_CLOSE int _sys_close(FILEHANDLE fh) 0x03 SYS_WRITEC 0x04 SYS_WRITE0 0x05 SYS_WRITE int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode) 0x06 SYS_READ int _sys_read(FILEHANDLE fh, unsigned char *buf, unsigned len, int mode) 0x07 SYS_READC 0x08 SYS_ISERROR 0x09 SYS_ISTTY int _sys_istty(FILE *f) 0x0A SYS_SEEK ……