version 1.1.1.5, 2016/10/26 17:30:32 |
version 1.1.1.6, 2018/04/14 22:17:23 |
|
|
/* Disassemble SH instructions. |
/* Disassemble SH instructions. |
Copyright (C) 1993-2016 Free Software Foundation, Inc. |
Copyright (C) 1993-2018 Free Software Foundation, Inc. |
|
|
This file is part of the GNU opcodes library. |
This file is part of the GNU opcodes library. |
|
|
|
|
#define DEFINE_TABLE |
#define DEFINE_TABLE |
|
|
#include "sh-opc.h" |
#include "sh-opc.h" |
#include "dis-asm.h" |
#include "disassemble.h" |
|
|
#ifdef ARCH_all |
#ifdef ARCH_all |
#define INCLUDE_SHMEDIA |
#define INCLUDE_SHMEDIA |
Line 836 print_insn_sh (bfd_vma memaddr, struct d |
|
Line 836 print_insn_sh (bfd_vma memaddr, struct d |
|
fprintf_fn (stream, "xd%d", rn & ~1); |
fprintf_fn (stream, "xd%d", rn & ~1); |
break; |
break; |
} |
} |
|
/* Fall through. */ |
case D_REG_N: |
case D_REG_N: |
fprintf_fn (stream, "dr%d", rn); |
fprintf_fn (stream, "dr%d", rn); |
break; |
break; |
Line 845 print_insn_sh (bfd_vma memaddr, struct d |
|
Line 846 print_insn_sh (bfd_vma memaddr, struct d |
|
fprintf_fn (stream, "xd%d", rm & ~1); |
fprintf_fn (stream, "xd%d", rm & ~1); |
break; |
break; |
} |
} |
|
/* Fall through. */ |
case D_REG_M: |
case D_REG_M: |
fprintf_fn (stream, "dr%d", rm); |
fprintf_fn (stream, "dr%d", rm); |
break; |
break; |