Mercurial > repos > blastem
diff z80inst.h @ 2362:b6c5a0fa3dfc
Refactor debugger a bit. Allow types other than integers to be passed in expressions and stored in arrays. Better namespace support
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 06 Nov 2023 22:41:33 -0800 |
parents | 1625555e346e |
children |
line wrap: on
line diff
--- a/z80inst.h Mon Oct 30 00:07:56 2023 -0700 +++ b/z80inst.h Mon Nov 06 22:41:33 2023 -0800 @@ -1,6 +1,6 @@ /* Copyright 2013 Michael Pavone - This file is part of BlastEm. + This file is part of BlastEm. BlastEm is free software distributed under the terms of the GNU General Public License version 3 or greater. See COPYING for full license text. */ #ifndef Z80INST_H_ @@ -137,6 +137,8 @@ uint16_t opcode_bytes; } z80inst; +extern const char *z80_regs[Z80_USE_IMMED]; + uint8_t * z80_decode(uint8_t * istream, z80inst * decoded); int z80_disasm(z80inst * decoded, char * dst, uint16_t address); uint8_t z80_high_reg(uint8_t reg);