diff options
author | Michael Pavone <pavone@retrodev.com> | 2020-04-03 23:49:07 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2020-04-03 23:49:07 -0700 |
commit | d87fd5679ff41de226e91126c55b48a83751606a (patch) | |
tree | e251121174349ddc317b1ce7b4b7f75c8aa4dc84 | |
parent | f800328d2c7e5e05557e957aea5bb768ff0aa709 (diff) |
Z80 HALT isn't really terminal. Fixes bug in Z80 disassembler
-rw-r--r-- | z80inst.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1570,7 +1570,7 @@ uint8_t z80_word_reg(uint8_t reg) uint8_t z80_is_terminal(z80inst * inst) { return inst->op == Z80_RET || inst->op == Z80_RETI || inst->op == Z80_RETN || inst->op == Z80_JP - || inst->op == Z80_JR || inst->op == Z80_HALT || (inst->op == Z80_NOP && inst->immed == 42); + || inst->op == Z80_JR || (inst->op == Z80_NOP && inst->immed == 42); } |