aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 94a54aa..0729251 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 18489e3..af102b1 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);