aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/config/ChangeLog4
-rw-r--r--gas/config/tc-m68k.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/gas/config/ChangeLog b/gas/config/ChangeLog
index 287ce08..3a1b865 100644
--- a/gas/config/ChangeLog
+++ b/gas/config/ChangeLog
@@ -1,3 +1,7 @@
+Mon Sep 21 14:44:17 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * tc-m68k.c (m68k_ip): fixed move16 operand handling, from WRS.
+
Fri Sep 18 08:02:18 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* tc-m68k.c (m68k_ip): An(disp) is not pc relative.
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index 0cfc1a0..e05d439 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -2648,8 +2648,7 @@ void m68k_ip (instring)
break;
case '_': /* used only for move16 absolute 32-bit address */
tmpreg=get_num(opP->con1,80);
- addword (tmpreg >> 16);
- addword (tmpreg & 0xFFFF);
+ install_operand(s[1], tmpreg);
break;
default:
as_fatal("Internal error: Operand type %c unknown in line %d of file \"%s\"",