aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/h8300.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-07-11 18:10:13 +0000
committerJeff Law <law@redhat.com>1996-07-11 18:10:13 +0000
commit2757047686290214cff2cf30207e986d6b4f0722 (patch)
tree8c852a83c655a286a63bd71caf71345959a6dd71 /include/opcode/h8300.h
parentbf0b880f39a4f624e80bf52513121c9e42515e55 (diff)
downloadgdb-2757047686290214cff2cf30207e986d6b4f0722.zip
gdb-2757047686290214cff2cf30207e986d6b4f0722.tar.gz
gdb-2757047686290214cff2cf30207e986d6b4f0722.tar.bz2
* h8300.h (band, bclr): Force high bit of immediate nibble to zero.
So we don't disassemble "biand" as "band".
Diffstat (limited to 'include/opcode/h8300.h')
-rw-r--r--include/opcode/h8300.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opcode/h8300.h b/include/opcode/h8300.h
index 5433452..d8fae0d 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),