URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1358 |
Rev 1484 |
Line 480... |
Line 480... |
unsigned long a = start_addr;
|
unsigned long a = start_addr;
|
int x = 0;
|
int x = 0;
|
assert (fo = fopen (out_fn, "wt+"));
|
assert (fo = fopen (out_fn, "wt+"));
|
|
|
do {
|
do {
|
unsigned long d = evalsim_mem32 (a);
|
int breakpoint;
|
|
unsigned long d = eval_direct32 (a, &breakpoint, 0, 0);
|
int index = insn_decode (d);
|
int index = insn_decode (d);
|
assert (index >= 0);
|
assert (index >= 0);
|
if (x) x++;
|
if (x) x++;
|
if (strcmp (insn_name (index), "l.jr") == 0) x = 1;
|
if (strcmp (insn_name (index), "l.jr") == 0) x = 1;
|
a += 4;
|
a += 4;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.