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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [libgloss/] [testsuite/] [libgloss.all/] [printf.c] - Diff between revs 148 and 158

Only display areas with differences | Details | Blame | View Log

Rev 148 Rev 158
/* Oki bug report [OKI006]
/* Oki bug report [OKI006]
 
 
        The following program is no work.
        The following program is no work.
 
 
        illegal trap: 0x12 pc=d000d954
        illegal trap: 0x12 pc=d000d954
        d000d954 08000240  NOP
        d000d954 08000240  NOP
 */
 */
 
 
#include <stdio.h>
#include <stdio.h>
 
 
main ()
main ()
{
{
        int i, j, k;
        int i, j, k;
 
 
        print ("\r\nDemo Program Start\r\n");
        print ("\r\nDemo Program Start\r\n");
        printf ("Value = %d, %d\r\n", 2, 1);
        printf ("Value = %d, %d\r\n", 2, 1);
        pass ("printf [OKI006]");
        pass ("printf [OKI006]");
 
 
/* Oki bug report [OKI007]
/* Oki bug report [OKI007]
 
 
        iprintf is no work.
        iprintf is no work.
        "Value = 2, 1" string is not displayed.
        "Value = 2, 1" string is not displayed.
 
 
        break instruction trap (9) pc=4003c
        break instruction trap (9) pc=4003c
        0004003c 00000000  BREAK 0x0,0x0
        0004003c 00000000  BREAK 0x0,0x0
 */
 */
        print ("\r\nDemo Program Start\r\n");
        print ("\r\nDemo Program Start\r\n");
        iprintf ("Value = %d, %d\r\n", 2, 1);
        iprintf ("Value = %d, %d\r\n", 2, 1);
        pass ("iprintf [OKI007]");
        pass ("iprintf [OKI007]");
        fflush (stdout);
        fflush (stdout);
}
}
 
 

powered by: WebSVN 2.1.0

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