* avr-dis.c (avr_operand): Bugfix for jmp/call address.

This commit is contained in:
Denis Chertykov
2000-06-09 17:58:33 +00:00
parent ce844ae26d
commit 8776c5fece
2 changed files with 6 additions and 1 deletions

View File

@@ -135,7 +135,8 @@ avr_operand (insn, insn2, pc, constraint, buf, comment, regs)
break;
case 'h':
sprintf (buf, "0x%x%x", (insn & 1) | ((insn & (0x1f << 4)) >> 3), insn2);
sprintf (buf, "0x%x",
((((insn & 1) | ((insn & 0x1f0) >> 3)) << 16) | insn2) * 2);
break;
case 'L':