OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [testsuite/] [libgloss.all/] [printf.c] - Blame information for rev 617

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* Oki bug report [OKI006]
2
 
3
        The following program is no work.
4
 
5
        illegal trap: 0x12 pc=d000d954
6
        d000d954 08000240  NOP
7
 */
8
 
9
#include <stdio.h>
10
 
11
main ()
12
{
13
        int i, j, k;
14
 
15
        print ("\r\nDemo Program Start\r\n");
16
        printf ("Value = %d, %d\r\n", 2, 1);
17
        pass ("printf [OKI006]");
18
 
19
/* Oki bug report [OKI007]
20
 
21
        iprintf is no work.
22
        "Value = 2, 1" string is not displayed.
23
 
24
        break instruction trap (9) pc=4003c
25
        0004003c 00000000  BREAK 0x0,0x0
26
 */
27
        print ("\r\nDemo Program Start\r\n");
28
        iprintf ("Value = %d, %d\r\n", 2, 1);
29
        pass ("iprintf [OKI007]");
30
        fflush (stdout);
31
}

powered by: WebSVN 2.1.0

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