diff options
author | Bobby Bingham <koorogi@koorogi.info> | 2017-01-15 13:00:42 -0600 |
---|---|---|
committer | Bobby Bingham <koorogi@koorogi.info> | 2017-01-15 23:19:37 -0600 |
commit | e7c287836c8f866091f4394982dc060f838e5ae2 (patch) | |
tree | 00233626909b7d1fe38f016b7e59ed6a4d2a42c6 /nqdasm.c | |
parent | f38a18c10bcb7cfd5ce76a7216686b2631789fee (diff) |
nqdasm: Output .word directives for unknown instructions
Diffstat (limited to 'nqdasm.c')
-rw-r--r-- | nqdasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ int main() while (scanf(" %x\n", &bits) > 0) { const struct mnemonic *m = match_instruction(bits); if (!m) { - fprintf(stderr, "could not decode instruction 0x%04x\n", bits); + printf("\t.word 0x%04x\n", bits); continue; } |