URL
https://opencores.org/ocsvn/forwardcom/forwardcom/trunk
Subversion Repositories forwardcom
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 82 to Rev 83
- ↔ Reverse comparison
Rev 82 → Rev 83
/forwardcom/libraries/fprintf.as
0,0 → 1,22
/********************************* fprintf.as ******************************* |
* Author: Agner Fog |
* date created: 2018-03-21 |
* Last modified: 2018-03-21 |
* Version: 1.00 |
* Project: ForwardCom library libc.li |
* Description: fprintf function. Write a formatted data to a file |
* C declaration: int fprintf(FILE *stream, const char *format, ...); |
* |
* Copyright 2018 GNU General Public License http://www.gnu.org/licenses |
*****************************************************************************/ |
|
code section execute align = 4 |
|
_fprintf function public reguse = 7 |
|
sys_call(sp, sp, 1, 0x104) // system call fprintf. full access to program memory |
return |
|
_fprintf end |
|
code end |