starting to add timing to vm driver
[dcpu16] / as-dcpu16.c
index 73b2fa37a662dc4c4a2dbd9219dc01706a98ac6d..37954aaf20b76fce9bb5410485c507f3e531f3fe 100644 (file)
@@ -538,8 +538,7 @@ int value_bits_(struct dynamic_array *labels, const char *operand_orig, DCPU16_W
             *nextwordused += 1;
             return 0x1e;
         } else if (errno) {
-            DEBUG_PRINTFQ("is out of range\n");
-            fprintf(stderr, "trouble with operand '%s': %s\n", operand_orig, strerror(errno));
+            /* if number wasn't parsable, just fall through and assume it's a label */
         }
 
         /* not a number? try a label */
@@ -1065,7 +1064,7 @@ int assemble_check_(struct dynamic_array *instructionps, struct dynamic_array *l
             return retval;
         }
         if (! (*instrp)->ready) {
-            fprintf(stderr, "instruction not resolvable\n");
+            fprintf(stderr, "instruction not resolvable at line %lu\n", (*instrp)->src_line);
             return -1;
         }
     }