From: Jeff Law Date: Thu, 11 Jul 1996 18:10:13 +0000 (+0000) Subject: * h8300.h (band, bclr): Force high bit of immediate nibble to zero. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2757047686290214cff2cf30207e986d6b4f0722;p=binutils-gdb.git * h8300.h (band, bclr): Force high bit of immediate nibble to zero. So we don't disassemble "biand" as "band". --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 4d4956889a9..a6b8d09e0e7 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -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 * m68k.h (mcf5200): New macro. diff --git a/include/opcode/h8300.h b/include/opcode/h8300.h index 5433452b2bd..d8fae0de496 100644 --- a/include/opcode/h8300.h +++ b/include/opcode/h8300.h @@ -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),