* h8300.h (band, bclr): Force high bit of immediate nibble to zero.

So we don't disassemble "biand" as "band".
This commit is contained in:
Jeff Law 1996-07-11 18:10:13 +00:00
parent bf0b880f39
commit 2757047686
2 changed files with 6 additions and 2 deletions

View 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.

View 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),