mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* config/tc-mn10300.c (mn10300_insert_operand): Shift low part
of a MN10300_OPERAND_SPLIT operand by operand->shift. For bset, bclr & btst.
This commit is contained in:
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user