* h8300.h (band, bclr): Force high bit of immediate nibble to zero.
authorJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:10:13 +0000 (18:10 +0000)
committerJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:10:13 +0000 (18:10 +0000)
So we don't disassemble "biand" as "band".

include/opcode/ChangeLog
include/opcode/h8300.h

index 4d4956889a9d7d2ec21c54cb55ace7cc16aac046..a6b8d09e0e76fbb3f86dd63633613a8f8bf3731e 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jul 11 12:09:15 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * h8300.h (band, bclr): Force high bit of immediate nibble to zero.
+
 Wed Jul  3 14:30:12 1996  J.T. Conklin  <jtc@rtl.cygnus.com>
 
        * m68k.h (mcf5200): New macro.
index 5433452b2bd61627012c72f24465c5db2253f89d..d8fae0de496774fdf0a22e0eca9499631f328b1a 100644 (file)
@@ -332,7 +332,7 @@ struct h8_opcode h8_opcodes[] =
   NEW_SOP(O(O_ANDC,SB),1,2,"andc"), {IMM8,CCR,E},{ 0x0,0x6,IMM8,IGNORE,E,0,0,0,0} EOP,
   NEW_SOP(O(O_ANDC,SB),1,2,"andc"), {IMM8,EXR,E},{ 0x0,0x1,0x4,0x1,0x0,0x6,IMM8,IGNORE,E,0,0,0,0} EOP,
 
-  BITOP(O(O_BAND,SB), IMM3,"band",0x7,0x6,0x7,0xC,0x7,0xE,0x0),
+  BITOP(O(O_BAND,SB), IMM3|B30,"band",0x7,0x6,0x7,0xC,0x7,0xE,0x0),
   BRANCH(O(O_BRA,SB),"bra",0x0),
   BRANCH(O(O_BRA,SB),"bt",0x0),
   BRANCH(O(O_BRN,SB),"brn",0x1),
@@ -354,7 +354,7 @@ struct h8_opcode h8_opcodes[] =
   BRANCH(O(O_BGT,SB),"bgt",0xE),
   BRANCH(O(O_BLE,SB),"ble",0xF),
 
-  EBITOP(O(O_BCLR,SB),IMM3,"bclr", 0x6,0x2,0x7,0xD,0x7,0xF,0x8),
+  EBITOP(O(O_BCLR,SB),IMM3|B30,"bclr", 0x6,0x2,0x7,0xD,0x7,0xF,0x8),
   BITOP(O(O_BIAND,SB),IMM3|B31,"biand",0x7,0x6,0x7,0xC,0x7,0xE,0x0),
   BITOP(O(O_BILD,SB), IMM3|B31,"bild", 0x7,0x7,0x7,0xC,0x7,0xE,0x0),
   BITOP(O(O_BIOR,SB), IMM3|B31,"bior", 0x7,0x4,0x7,0xC,0x7,0xE,0x0),