bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/3134] objdump incompletely decodes mov disp:32 instruction


From: markus+sw at gyger dot org
Subject: [Bug binutils/3134] objdump incompletely decodes mov disp:32 instruction
Date: 22 Feb 2008 17:41:36 -0000

------- Additional Comments From markus+sw at gyger dot org  2008-02-22 17:41 
-------
Close -- 18 lines up removing B31 works. Thanks, Denis!

--- binutils-2.16.1/include/opcode/h8300.h.orig Thu Mar  3 11:58:09 2005
+++ binutils-2.16.1/include/opcode/h8300.h      Fri Feb 22 17:31:04 2008
@@ -1518,7 +1518,7 @@ struct h8_opcode h8_opcodes[] = 
   {O (O_MOV, SL), AV_H8SX, 0, "mov.l", {{RS32, DISP2DST,  E}}, {{PREFIX_010, 
B30 | B20 | DISP2DST, 0x6, 0x9, B31 | DSTDISPREG,  RS32, E}}}, 
   {O (O_MOV, SL), AV_H8H,  6, "mov.l", {{RS32, DISP16DST, E}}, {{PREFIX_0100, 
                     0x6, 0xf, B31 | DSTDISPREG,  RS32, DSTDISP16LIST, E}}}, 
   {O (O_MOV, SL), AV_H8SX, 6, "mov.l", {{RS32, DISP32DST, E}}, {{0x7, 0x8, B31
| DSTDISPREG, 0x0,   0x6, 0xb, 0xa,               RS32, DSTDISP32LIST, E}}},
-  {O (O_MOV, SL), AV_H8H,  6, "mov.l", {{RS32, DISP32DST, E}}, {{PREFIX_0100, 
                     0x7, 0x8, B31 | DSTDISPREG, 0x0,   0x6, 0xb, 0xa,         
     RS32, DSTDISP32LIST, E}}},
+  {O (O_MOV, SL), AV_H8H,  6, "mov.l", {{RS32, DISP32DST, E}}, {{PREFIX_0100, 
                     0x7, 0x8, DSTDISPREG, 0x0,   0x6, 0xb, 0xa,              
RS32, DSTDISP32LIST, E}}},
   {O (O_MOV, SL), AV_H8SX, 0, "mov.l", {{RS32, INDEXB16D, E}}, {{PREFIX_0101, 
                     0x6, 0xf, B31 | DSTDISPREG,  RS32, DSTDISP16LIST, E}}}, 
   {O (O_MOV, SL), AV_H8SX, 0, "mov.l", {{RS32, INDEXW16D, E}}, {{PREFIX_0102, 
                     0x6, 0xf, B31 | DSTDISPREG,  RS32, DSTDISP16LIST, E}}}, 
   {O (O_MOV, SL), AV_H8SX, 0, "mov.l", {{RS32, INDEXL16D, E}}, {{PREFIX_0103, 
                     0x6, 0xf, B31 | DSTDISPREG,  RS32, DSTDISP16LIST, E}}}, 


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3134

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]