summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2004-07-11 14:29:50 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2004-07-11 14:29:50 +0000
commit4300ab1020da05a4eb8e21e28be786c49a387831 (patch)
treee265b322bf05b4b61b53ad899271784a7e24f7f8 /opcodes
parentc268433a1abf1a57285b863dcc7e251293001747 (diff)
downloadbinutils-gdb-4300ab1020da05a4eb8e21e28be786c49a387831.tar.gz
* m68k-dis.c (m68k_valid_ea): Fix typos in last change.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/m68k-dis.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 94a54aa0b7c..072925113ff 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-11 Andreas Schwab <schwab@suse.de>
+
+ * m68k-dis.c (m68k_valid_ea): Fix typos in last change.
+
2004-07-09 Andreas Schwab <schwab@suse.de>
* m68k-dis.c (m68k_valid_ea): Check validity of all codes.
diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c
index 18489e37264..af102b17cb9 100644
--- a/opcodes/m68k-dis.c
+++ b/opcodes/m68k-dis.c
@@ -1166,7 +1166,7 @@ m68k_valid_ea (char code, int val)
mask = M (1,0,1,1,1,1,1,1,1,0,0,0);
break;
case '?':
- mask = M (0,1,0,0,1,1,1,1,1,0,0,0);
+ mask = M (1,0,1,0,0,1,1,1,1,0,0,0);
break;
case '/':
mask = M (1,0,1,0,0,1,1,1,1,1,1,0);
@@ -1175,10 +1175,10 @@ m68k_valid_ea (char code, int val)
mask = M (0,0,1,0,0,1,1,1,1,1,1,0);
break;
case '>':
- mask = M (0,0,1,0,1,1,1,1,1,1,1,0);
+ mask = M (0,0,1,0,1,1,1,1,1,0,0,0);
break;
case '<':
- mask = M (0,0,1,1,0,1,1,1,1,0,0,0);
+ mask = M (0,0,1,1,0,1,1,1,1,1,1,0);
break;
case 'm':
mask = M (1,1,1,1,1,0,0,0,0,0,0,0);