projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0decb7f
)
* h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
author
Jeff Law
<law@redhat.com>
Thu, 11 Jul 1996 18:07:31 +0000
(18:07 +0000)
committer
Jeff Law
<law@redhat.com>
Thu, 11 Jul 1996 18:07:31 +0000
(18:07 +0000)
for L_3 and L_2.
So we only get values in the right range for L_3 (0..7) and L_2 (0..3).
opcodes/ChangeLog
patch
|
blob
|
history
opcodes/h8300-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/ChangeLog
b/opcodes/ChangeLog
index 4daebc53d9c4188ee8c4dbc38a0f50bcf3af8a7a..27dc16d6200e10a3f97ed227aa0da61906a84027 100644
(file)
--- a/
opcodes/ChangeLog
+++ b/
opcodes/ChangeLog
@@
-1,5
+1,8
@@
Thu Jul 11 11:58:44 1996 Jeffrey A Law (law@cygnus.com)
+ * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
+ for L_3 and L_2.
+
* h8300-dis.c (bfd_h8_disassemble): Don't set plen for
3bit immediate operands.
diff --git
a/opcodes/h8300-dis.c
b/opcodes/h8300-dis.c
index 3ba4d8ba18018422cca3e4b206f10ff778c47384..959cb754f53613f5c5ddffdb8084a69b0fd96e5a 100644
(file)
--- a/
opcodes/h8300-dis.c
+++ b/
opcodes/h8300-dis.c
@@
-243,12
+243,12
@@
bfd_h8_disassemble (addr, info, mode)
}
else if (looking_for & L_3)
{
- bit = thisnib;
+ bit = thisnib
& 0x7
;
}
else if (looking_for & L_2)
{
plen = 2;
- abs = thisnib;
+ abs = thisnib
& 0x3
;
}
else if (looking_for == E)
{