From abebfe85ab1c87ea453d1e2d54e6151e669cd9e4 Mon Sep 17 00:00:00 2001 From: David Banks Date: Tue, 12 Nov 2019 14:27:10 +0000 Subject: [PATCH] fixup Change-Id: I1874ecd9e8c3e8733b267e65071c1ce2b4356f04 --- firmware/dis6502.c | 1 + firmware/dis65c02.c | 1 + 2 files changed, 2 insertions(+) diff --git a/firmware/dis6502.c b/firmware/dis6502.c index 2aee94b..af2bc5a 100644 --- a/firmware/dis6502.c +++ b/firmware/dis6502.c @@ -220,6 +220,7 @@ addr_t disassemble(addr_t addr) *ptr++ = 'A'; break; case BRA: + *ptr++ = '$'; ptr = strhex4(ptr, addr + (int8_t)p1); break; case IMM: diff --git a/firmware/dis65c02.c b/firmware/dis65c02.c index b84e808..14686b4 100644 --- a/firmware/dis65c02.c +++ b/firmware/dis65c02.c @@ -240,6 +240,7 @@ addr_t disassemble(addr_t addr) *ptr++ = 'A'; break; case BRA: + *ptr++ = '$'; ptr = strhex4(ptr, addr + (int8_t)p1); break; case IMM: