diff options
author | Jeff Law <law@redhat.com> | 1996-11-06 21:20:56 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1996-11-06 21:20:56 +0000 |
commit | bdd91d4f41af3892d4514ba0b27b755fab403b13 (patch) | |
tree | f974c87a3ec8d6647785bb0d1225cc5a4f5afc9a /gas/config | |
parent | 64ce06688d60e84bcb383ff045bf3136f101dce9 (diff) | |
download | gdb-bdd91d4f41af3892d4514ba0b27b755fab403b13.zip gdb-bdd91d4f41af3892d4514ba0b27b755fab403b13.tar.gz gdb-bdd91d4f41af3892d4514ba0b27b755fab403b13.tar.bz2 |
* config/tc-mn10300.c (mn10300_insert_operand): Shift low part
of a MN10300_OPERAND_SPLIT operand by operand->shift.
For bset, bclr & btst.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mn10300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c index 215809a..fd3fd9b 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) { |