mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-22 16:30:06 +00:00
Z80: disassmbler tweaks
Change-Id: I22a3d34516e46bed68eb23ffd9b31cee0a92db6d
This commit is contained in:
parent
0e5258197e
commit
aee8bd786d
@ -894,17 +894,17 @@ addr_t disassemble(addr_t addr) {
|
||||
addr_t addr2 = addr;
|
||||
|
||||
// 0123456789012345678901234567890123456789
|
||||
// AAAA : HH HH HH HH HH : LD RR,($XXXX)
|
||||
// AAAA : HH HH HH HH : LD RR,($XXXX)
|
||||
|
||||
strfill(buffer, ' ', sizeof(buffer));
|
||||
buffer[5] = ':';
|
||||
buffer[22] = ':';
|
||||
buffer[19] = ':';
|
||||
|
||||
// Address
|
||||
strhex4(buffer, addr);
|
||||
|
||||
// Opcode
|
||||
ptr = buffer + 24;
|
||||
ptr = buffer + 21;
|
||||
if (PDC_DIN & 0x80) {
|
||||
strcpy_P(ptr, PSTR("**HALT**"));
|
||||
} else if (PDC_DIN & 0x40) {
|
||||
|
Loading…
Reference in New Issue
Block a user