projects
/
dcpu16
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor cleanup
[dcpu16]
/
as-dcpu16.c
diff --git
a/as-dcpu16.c
b/as-dcpu16.c
index f22e848867ce58d74c831dff22c0c6ab5e7a9042..1475ddfa661303cdc9dd9461c6ce3ccde4d1b32c 100644
(file)
--- a/
as-dcpu16.c
+++ b/
as-dcpu16.c
@@
-710,7
+710,7
@@
int instr_assemble_(struct dynamic_array *labels, struct instruction_ *i, unsign
struct operand_ *o = i->operands;
if (opt_.verbose > 2) {
struct operand_ *o = i->operands;
if (opt_.verbose > 2) {
- printf("%s: assembling %p ", __func__, i);
+ printf("%s: assembling %p ", __func__,
(void *)
i);
instruction_print_(i, 1);
printf("(line %zu)\n", i->src_line);
}
instruction_print_(i, 1);
printf("(line %zu)\n", i->src_line);
}
@@
-743,7
+743,7
@@
while debugging, always reassemble
char *x;
unsigned long l;
char *x;
unsigned long l;
- DEBUG_PRINTF("DAT operand:'%s' next:%p\n", o->operand, o->next);
+ DEBUG_PRINTF("DAT operand:'%s' next:%p\n", o->operand,
(void *)
o->next);
/* is this a string? */
/* does it start with a quote, and end with the same quote? */
/* is this a string? */
/* does it start with a quote, and end with the same quote? */