summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assemble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/assemble.c b/assemble.c
index 7e8462b..604cc7c 100644
--- a/assemble.c
+++ b/assemble.c
@@ -1109,7 +1109,7 @@ static int64_t calcsize(int32_t segment, int64_t offset, int bits,
default:
errfunc(ERR_PANIC, "internal instruction table corrupt"
- ": instruction code 0x%02X given", c);
+ ": instruction code \\%o (0x%02X) given", c, c);
break;
}
}
@@ -1869,7 +1869,7 @@ static void gencode(int32_t segment, int64_t offset, int bits,
default:
errfunc(ERR_PANIC, "internal instruction table corrupt"
- ": instruction code 0x%02X given", c);
+ ": instruction code \\%o (0x%02X) given", c, c);
break;
}
}