URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [sw/] [zasm/] [zparser.cpp] - Diff between revs 9 and 12
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 9 |
Rev 12 |
Line 231... |
Line 231... |
if (!valid)
|
if (!valid)
|
printf("ERR: Only Mov can specify user regs\n");
|
printf("ERR: Only Mov can specify user regs\n");
|
}
|
}
|
|
|
if ((!*opc)&&(strncasecmp("DAT",point,3)==0)) {
|
if ((!*opc)&&(strncasecmp("DAT",point,3)==0)) {
|
ins = strtoul(opb, NULL, 0);
|
ins = imm;
|
valid = true;
|
valid = true;
|
} else if (strcasecmp("CMP",opc)==0) {
|
} else if (strcasecmp("CMP",opc)==0) {
|
if (rb != ZIP_Rnone)
|
if (rb != ZIP_Rnone)
|
ins = op_cmp(cnd, imm, rb, ra);
|
ins = op_cmp(cnd, imm, rb, ra);
|
else ins = op_cmp(cnd, imm, ra);
|
else ins = op_cmp(cnd, imm, ra);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.