diff --git a/src/disasm.c b/src/disasm.c index c29c39f8..8c81a0a0 100644 --- a/src/disasm.c +++ b/src/disasm.c @@ -1165,8 +1165,13 @@ static void disassemble(const char *buf, int addr, int opcode, AVR_mnemo mnemo, } else { if(is_relative) { add_operand(lc, ".%+d", offset); - if(cx->dis_opts.addresses) - add_comment(line, str_ccprintf("L%0*x", awd, target)); + if(cx->dis_opts.addresses) { + Dis_symbol *s = find_symbol('L', target); + if(s && s->name && *s->name) + add_comment(line, str_ccprintf("L%0*x (%s)", awd, target, s->name)); + else + add_comment(line, str_ccprintf("L%0*x", awd, target)); + } } else add_operand(lc, "0x%0*x", awd, target); }