* config/tc-mn10300.c (mn10300_insert_operand): Shift low part
authorJeff Law <law@redhat.com>
Wed, 6 Nov 1996 21:20:56 +0000 (21:20 +0000)
committerJeff Law <law@redhat.com>
Wed, 6 Nov 1996 21:20:56 +0000 (21:20 +0000)
        of a MN10300_OPERAND_SPLIT operand by operand->shift.
For bset, bclr & btst.

gas/ChangeLog
gas/config/tc-mn10300.c

index 14e4a534615252c35f162fc997dc70f95a94176c..57c29bbc92f15cccb3ba5610211ec9a532344ca7 100644 (file)
@@ -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.
 
index 215809ac42711c19fb8686d4d78b4997709c771c..fd3fd9b285eb8260ed923f713cfbf0c80b7dc8d3 100644 (file)
@@ -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)
     {
This page took 0.030965 seconds and 4 git commands to generate.