/* Verify it's a arithmetic ADDD or MOVD instruction.
For ADDD and MOVD only, convert to IMM32 -> IMM20. */
- if (((code & 0xfff0) != 0x0070) || ((code & 0xfff0) != 0x0020))
+ if (((code & 0xfff0) == 0x0070) || ((code & 0xfff0) == 0x0020))
is_add_mov = 1;
if (is_add_mov)
#define TARGET_LITTLE_NAME "elf32-cr16"
#define ELF_ARCH bfd_arch_cr16
#define ELF_MACHINE_CODE EM_CR16
+#define ELF_MACHINE_ALT1 EM_CR16_OLD
#define ELF_MAXPAGESIZE 0x1
#define elf_symbol_leading_char '_'