From 25fb44628a4bc509657dd90ab87ed0d147b3f40e Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 21 Sep 1992 22:31:41 +0000 Subject: [PATCH] Patches from WRS: Mon Sep 21 14:44:17 1992 Ian Lance Taylor (ian@cygnus.com) * tc-m68k.c (m68k_ip): fixed move16 operand handling, from WRS. --- gas/config/ChangeLog | 4 ++++ gas/config/tc-m68k.c | 3 +-- 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\"", -- 2.7.4