diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-09-21 22:31:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-09-21 22:31:41 +0000 |
commit | 25fb44628a4bc509657dd90ab87ed0d147b3f40e (patch) | |
tree | 1347b10ecfd3f10b3addabf0f81187381d379c29 /gas | |
parent | e3e138e8017c0af41503348dfa98aa554d074926 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/config/ChangeLog | 4 | ||||
-rw-r--r-- | 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\"", |