URL
https://opencores.org/ocsvn/forwardcom/forwardcom/trunk
Subversion Repositories forwardcom
[/] [forwardcom/] [libraries/] [gets_s.as] - Rev 106
Go to most recent revision | Compare with Previous | Blame | View Log
/********************************* gets_s.as ********************************* Author: Agner Fog* date created: 2018-03-23* Last modified: 2020-04-25* Version: 1.09* Project: ForwardCom library libc.li* Description: gets_s function. Read string from stdin* C declaration: char *gets_s(char *str, int n);** Copyright 2018-2020 GNU General Public License http://www.gnu.org/licenses*****************************************************************************/code section execute align = 4_gets_s function public reguse = 3sys_call(r0, r1, 1, 0x124) // system call gets_s. Buffer base r0, size r1return_gets_s endcode end
Go to most recent revision | Compare with Previous | Blame | View Log
