mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +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)
|
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
|
* config/tc-mn10300.c (mn10300_insert_operand): Handle
|
||||||
MN10300_OPERAND_SPLIT.
|
MN10300_OPERAND_SPLIT.
|
||||||
|
|
||||||
|
@ -894,7 +894,7 @@ mn10300_insert_operand (insnp, extensionp, operand, val, file, line, shift)
|
|||||||
if ((operand->flags & MN10300_OPERAND_SPLIT) != 0)
|
if ((operand->flags & MN10300_OPERAND_SPLIT) != 0)
|
||||||
{
|
{
|
||||||
*insnp |= (val >> 16) & 0xffff;
|
*insnp |= (val >> 16) & 0xffff;
|
||||||
*extensionp |= val & 0xffff;
|
*extensionp |= (val & 0xffff) << operand->shift;
|
||||||
}
|
}
|
||||||
else if ((operand->flags & MN10300_OPERAND_EXTENDED) == 0)
|
else if ((operand->flags & MN10300_OPERAND_EXTENDED) == 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user