diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-28 01:32:34 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-28 01:32:34 +0000 |
commit | 25738474b655bbff8c31b12634d7377520420baf (patch) | |
tree | 82fe6586ff721004d71386044cf3203f55f46936 /z80.c | |
parent | 472447531bc02c0cbdf9793675ef4475fa07aef5 (diff) |
Added labels to Z80 disassembler
Diffstat (limited to 'z80.c')
-rw-r--r-- | z80.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -38,6 +38,7 @@ static const char ident[]="$Id$"; static const char ident_z80_header[]=Z80_H; static const char ident_z80_private_header[]=Z80_PRIVATE_H; +Z80Label *z80_labels=NULL; /* ---------------------------------------- PRIVATE FUNCTIONS */ @@ -309,6 +310,12 @@ Z80Val Z80Cycles(Z80 *cpu) } +void Z80SetLabels(Z80Label labels[]) +{ + z80_labels=labels; +} + + const char *Z80Disassemble(Z80 *cpu, Z80Word *pc) { #ifdef ENABLE_DISASSEM |