URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
Subversion Repositories zipcpu
Compare Revisions
- This comparison shows the changes necessary to convert path
/zipcpu/trunk/sw
- from Rev 9 to Rev 12
- ↔ Reverse comparison
Rev 9 → Rev 12
/zasm/zdump.cpp
44,7 → 44,7
ZIPI ibuf[NZIP]; |
FILE *fp; |
int nr; |
int lineno=0; |
int addr=0x08000; |
|
fp = fopen(fn, "r"); |
if (!fp) |
54,7 → 54,7
for(int i=0; i<nr; i++) { |
zipi_to_string(ibuf[i], ln); |
// printf("%s\n", ln); |
printf("%08x: (0x%08x) %s\n", lineno, ibuf[i], ln); |
printf("%08x: (0x%08x) %s\n", addr++, ibuf[i], ln); |
} |
} fclose(fp); |
} |
/zasm/zparser.cpp
233,7 → 233,7
} |
|
if ((!*opc)&&(strncasecmp("DAT",point,3)==0)) { |
ins = strtoul(opb, NULL, 0); |
ins = imm; |
valid = true; |
} else if (strcasecmp("CMP",opc)==0) { |
if (rb != ZIP_Rnone) |