URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 24 to Rev 25
- ↔ Reverse comparison
Rev 24 → Rev 25
/trunk/or1ksim/cpu/common/abstract.c
92,8 → 92,10
} |
|
for(i = 0; i < MEMORY_LEN; i++) |
if (strcmp(label, mem[i].label) == 0) |
if (strcmp(label, mem[i].label) == 0) { |
debug("eval_label(%s) => 0x%x\n", label, i+positive_offset-negative_offset); |
return i+positive_offset-negative_offset; |
} |
|
printf("\nINTERNAL ERROR: undefined label %s\n", label); |
cont_run = 0; |