OpenCores
URL https://opencores.org/ocsvn/forwardcom/forwardcom/trunk

Subversion Repositories forwardcom

[/] [forwardcom/] [libraries/] [fprintf.as] - Blame information for rev 83

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 83 Agner
/*********************************  fprintf.as  *******************************
2
* Author:        Agner Fog
3
* date created:  2018-03-21
4
* Last modified: 2018-03-21
5
* Version:       1.00
6
* Project:       ForwardCom library libc.li
7
* Description:   fprintf function. Write a formatted data to a file
8
* C declaration: int fprintf(FILE *stream, const char *format, ...);
9
*
10
* Copyright 2018 GNU General Public License http://www.gnu.org/licenses
11
*****************************************************************************/
12
 
13
code section execute align = 4
14
 
15
_fprintf function public reguse = 7
16
 
17
sys_call(sp, sp, 1, 0x104)           // system call fprintf. full access to program memory
18
return
19
 
20
_fprintf end
21
 
22
code end

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.