[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/25344] z80 disassembler recursion
From: |
sergey.belyashov at gmail dot com |
Subject: |
[Bug binutils/25344] z80 disassembler recursion |
Date: |
Sat, 04 Jan 2020 11:43:35 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25344
--- Comment #1 from Sergey Belyashov <sergey.belyashov at gmail dot com> ---
You are right. 0x40, 0x49, 0x52 and 0x5b are ez80 opcode prefixes which changes
memory model of next instruction. 0x40 + 0x40 is impossible opcode.
I will fix it soon (within a week). You may try fix it. Move lines placed at
end of suffix() (opcodes/z80.c):
buf_in->n_used += buf.n_used;
buf_in->n_fetch += buf.n_fetch;
before:
if (*p == '.') /* suffix already present */
It should fix error.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/25344] New: z80 disassembler recursion, amodra at gmail dot com, 2020/01/04
- [Bug binutils/25344] z80 disassembler recursion, amodra at gmail dot com, 2020/01/04
- [Bug binutils/25344] z80 disassembler recursion,
sergey.belyashov at gmail dot com <=
- [Bug binutils/25344] z80 disassembler recursion, amodra at gmail dot com, 2020/01/05
- [Bug binutils/25344] z80 disassembler recursion, sergey.belyashov at gmail dot com, 2020/01/06
- [Bug binutils/25344] z80 disassembler recursion, cvs-commit at gcc dot gnu.org, 2020/01/06
- [Bug binutils/25344] z80 disassembler recursion, amodra at gmail dot com, 2020/01/06
- [Bug binutils/25344] z80 disassembler recursion, sergey.belyashov at gmail dot com, 2020/01/09