* avr-dis.c (avr_operand): Bugfix for jmp/call address.
This commit is contained in:
parent
ce844ae26d
commit
8776c5fece
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jun 9 21:49:02 2000 Denis Chertykov <denisc@overta.ru>
|
||||
|
||||
* avr-dis.c (avr_operand): Bugfix for jmp/call address.
|
||||
|
||||
Wed Jun 7 21:36:45 2000 Denis Chertykov <denisc@overta.ru>
|
||||
|
||||
* avr-dis.c: completely rewritten.
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue