opcodes: discriminate endianness and insn-endianness in CGEN ports
[deliverable/binutils-gdb.git] / opcodes / xstormy16-dis.c
index 8382c3da85d1ad1f5a99ceda022d1976df9d91ee..c2723167fa14f7dd7acd301b7c72334c6b8ad928 100644 (file)
@@ -341,7 +341,7 @@ print_insn (CGEN_CPU_DESC cd,
   /* Extract base part of instruction, just in case CGEN_DIS_* uses it. */
   basesize = cd->base_insn_bitsize < buflen * 8 ?
                                      cd->base_insn_bitsize : buflen * 8;
-  insn_value = cgen_get_insn_value (cd, buf, basesize);
+  insn_value = cgen_get_insn_value (cd, buf, basesize, cd->insn_endian);
 
 
   /* Fill in ex_info fields like read_insn would.  Don't actually call
This page took 0.022482 seconds and 4 git commands to generate.