* rx.c (decode_opcode): Handle RXO_satr.

This commit is contained in:
Nick Clifton 2013-01-16 10:45:22 +00:00
parent 1178606e2b
commit 04e65a62c6
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-01-16 Nick Clifton <nickc@redhat.com>
* rx.c (decode_opcode): Handle RXO_satr.
2012-06-15 Joel Brobecker <brobecker@adacore.com>
* config.in, configure: Regenerate.

View File

@ -1802,6 +1802,22 @@ decode_opcode ()
E1;
break;
case RXO_satr:
if (FLAG_O && ! FLAG_S)
{
put_reg (6, 0x0);
put_reg (5, 0x7fffffff);
put_reg (4, 0xffffffff);
}
else if (FLAG_O && FLAG_S)
{
put_reg (6, 0xffffffff);
put_reg (5, 0x80000000);
put_reg (4, 0x0);
}
E1;
break;
case RXO_sbb:
MATH_OP (-, ! carry);
break;