From bdd91d4f41af3892d4514ba0b27b755fab403b13 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 6 Nov 1996 21:20:56 +0000 Subject: [PATCH] * config/tc-mn10300.c (mn10300_insert_operand): Shift low part of a MN10300_OPERAND_SPLIT operand by operand->shift. For bset, bclr & btst. --- gas/ChangeLog | 3 +++ gas/config/tc-mn10300.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 14e4a534615..57c29bbc92f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ Wed Nov 6 13:46:07 1996 Jeffrey A Law (law@cygnus.com) + * config/tc-mn10300.c (mn10300_insert_operand): Shift low part + of a MN10300_OPERAND_SPLIT operand by operand->shift. + * config/tc-mn10300.c (mn10300_insert_operand): Handle MN10300_OPERAND_SPLIT. diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 215809ac427..fd3fd9b285e 100644 --- a/gas/config/tc-mn10300.c +++ b/gas/config/tc-mn10300.c @@ -894,7 +894,7 @@ mn10300_insert_operand (insnp, extensionp, operand, val, file, line, shift) if ((operand->flags & MN10300_OPERAND_SPLIT) != 0) { *insnp |= (val >> 16) & 0xffff; - *extensionp |= val & 0xffff; + *extensionp |= (val & 0xffff) << operand->shift; } else if ((operand->flags & MN10300_OPERAND_EXTENDED) == 0) { -- 2.30.2