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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_1_x/] [or1ksim/] [support/] [simprintf.c] - Diff between revs 997 and 1095

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 997 Rev 1095
Line 96... Line 96...
#if STACK_ARGS
#if STACK_ARGS
        arg = eval_mem32(argaddr,&breakpoint);
        arg = eval_mem32(argaddr,&breakpoint);
        argaddr += 4;
        argaddr += 4;
#else
#else
        sprintf(regstr, "r%u", ++argaddr);
        sprintf(regstr, "r%u", ++argaddr);
        arg = eval_reg(regstr);
        arg = evalsim_reg32(atoi(regstr));
#endif
#endif
        debug(6, " 4: fmtstrpart=%p fmtstrpart=%s arg=%p\n", fmtstrpart, fmtstrpart, arg);
        debug(6, " 4: fmtstrpart=%p fmtstrpart=%s arg=%p\n", fmtstrpart, fmtstrpart, arg);
        if (strncmp(fmtstrpart, "%s", 2) == 0) {
        if (strncmp(fmtstrpart, "%s", 2) == 0) {
          int len = 0;
          int len = 0;
          char *str;
          char *str;

powered by: WebSVN 2.1.0

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