URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1024 |
Rev 1027 |
Line 44... |
Line 44... |
{
|
{
|
va_list args;
|
va_list args;
|
va_start(args, fmt);
|
va_start(args, fmt);
|
__asm__ __volatile__ (" l.addi\tr3,%0,0\n": : "r" (fmt) : "r3", "r4");
|
__asm__ __volatile__ (" l.addi\tr3,%0,0\n": : "r" (fmt) : "r3", "r4");
|
__asm__ __volatile__ (" l.addi\tr4,%0,0\n": : "r" (args): "r3", "r4");
|
__asm__ __volatile__ (" l.addi\tr4,%0,0\n": : "r" (args): "r3", "r4");
|
__asm__ __volatile__ (" l.nop %0": : "K" (NOP_printf));
|
__asm__ __volatile__ (" l.nop %0": : "K" (NOP_PRINTF));
|
}
|
}
|
|
|
/* print long */
|
/* print long */
|
void report(unsigned long value)
|
void report(unsigned long value)
|
{
|
{
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.