fix subtle bug in the m88k assembler, without this fix it would not assemble
authorrahnds <rahnds@openbsd.org>
Thu, 24 Apr 1997 18:10:16 +0000 (18:10 +0000)
committerrahnds <rahnds@openbsd.org>
Thu, 24 Apr 1997 18:10:16 +0000 (18:10 +0000)
the instruction "rot      r24,r24,r13" because it did not accept the
shift about being specified by the register.

gnu/usr.bin/gas/opcode/m88k.h

index 5f685b9..62f8475 100644 (file)
@@ -216,8 +216,8 @@ static struct m88k_opcode m88k_opcodes[] =
   _MC88xxx(0x58000000, "or",           "d,1,I")
   _MC88xxx(0xf4005c00, "or.c",         "d,1,2")
   _MC88xxx(0x5c000000, "or.u",         "d,1,I")
-  _MC88xxx(0xf000a800, "rot",          "d,1,b")
   _MC88xxx(0xf400a800, "rot",          "d,1,2")
+  _MC88xxx(0xf000a800, "rot",          "d,1,b")
   _MC88xxx(0xf400fc00, "rte",          "")
   _MC88xxx(0xf4008800, "set",          "d,1,2")
   _MC88xxx(0xf0008800, "set",          "d,1,b")