aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68k.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-09-21 22:31:41 +0000
committerIan Lance Taylor <ian@airs.com>1992-09-21 22:31:41 +0000
commit25fb44628a4bc509657dd90ab87ed0d147b3f40e (patch)
tree1347b10ecfd3f10b3addabf0f81187381d379c29 /gas/config/tc-m68k.c
parente3e138e8017c0af41503348dfa98aa554d074926 (diff)
downloadgdb-25fb44628a4bc509657dd90ab87ed0d147b3f40e.zip
gdb-25fb44628a4bc509657dd90ab87ed0d147b3f40e.tar.gz
gdb-25fb44628a4bc509657dd90ab87ed0d147b3f40e.tar.bz2
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.
Diffstat (limited to 'gas/config/tc-m68k.c')
-rw-r--r--gas/config/tc-m68k.c3
1 files changed, 1 insertions, 2 deletions
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\"",