URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [sw/] [mini-libc/] [printf.c] - Diff between revs 2 and 33
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 33 |
Line 201... |
Line 201... |
return pc;
|
return pc;
|
}
|
}
|
|
|
|
|
/* Printf an integer */
|
/* Printf an integer */
|
int printi(char** dst, unsigned long i, int b, int sg, int width, int pad, int letbase)
|
int printi(char** dst, int i, int b, int sg, int width, int pad, int letbase)
|
{
|
{
|
char print_buf[PRINT_BUF_LEN];
|
char print_buf[PRINT_BUF_LEN];
|
char *s;
|
char *s;
|
int t, neg = 0, pc = 0;
|
int t, neg = 0, pc = 0;
|
unsigned int u = i;
|
unsigned int u = i;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.