-#line 2 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 1 "rx-decode.opc"
/* -*- c -*- */
#include <stdio.h>
#include <stdlib.h>
op[0]);
}
SYNTAX("brk");
-#line 957 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 951 "rx-decode.opc"
ID(brk);
}
op[0]);
}
SYNTAX("dbt");
-#line 960 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 954 "rx-decode.opc"
ID(dbt);
}
op[0]);
}
SYNTAX("rts");
-#line 740 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 740 "rx-decode.opc"
ID(rts);
/*----------------------------------------------------------------------*/
op[0]);
}
SYNTAX("nop");
-#line 746 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 746 "rx-decode.opc"
ID(nop);
/*----------------------------------------------------------------------*/
op[0]);
}
SYNTAX("bra.a %a0");
-#line 718 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 718 "rx-decode.opc"
ID(branch); Scc(RXC_always); DC(pc + IMMex(3));
}
op[0]);
}
SYNTAX("bsr.a %a0");
-#line 734 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 734 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(3));
}
op_semantics_1:
{
/** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */
-#line 521 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 522 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 521 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 522 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 521 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 522 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 521 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 522 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 522 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 522 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); DR(rdst); F("OSZC");
}
op_semantics_2:
{
/** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */
-#line 509 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 510 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 509 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 510 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 509 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 510 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 509 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 510 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 510 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 510 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); F("OSZC");
/*----------------------------------------------------------------------*/
op_semantics_3:
{
/** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */
-#line 485 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 486 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 485 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 486 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 485 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 486 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 485 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 486 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 486 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 486 "rx-decode.opc"
ID(add); SPm(ss, rsrc, mx); DR(rdst); F("OSZC");
}
op_semantics_4:
{
/** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */
-#line 582 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 583 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 582 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 583 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 582 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 583 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 582 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 583 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 583 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(mul); SPm(ss, rsrc, mx); DR(rdst); F("O---");
+#line 583 "rx-decode.opc"
+ ID(mul); SPm(ss, rsrc, mx); DR(rdst); F("----");
}
break;
op_semantics_5:
{
/** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */
-#line 398 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 399 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 398 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 399 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 398 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 399 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 398 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 399 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 399 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 399 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); DR(rdst); F("-SZ-");
}
op_semantics_6:
{
/** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */
-#line 416 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 417 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 416 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 417 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 416 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 417 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 416 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 417 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 417 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 417 "rx-decode.opc"
ID(or); SPm(ss, rsrc, mx); DR(rdst); F("-SZ-");
}
op_semantics_7:
{
/** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */
-#line 534 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 535 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 534 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 535 "rx-decode.opc"
int sp AU = op[1] & 0x03;
-#line 534 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 535 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 534 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 535 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1%S1, %0");
-#line 535 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 535 "rx-decode.opc"
ID(sbb); SPm(sp, rsrc, mx); DR(rdst); F("OSZC");
/*----------------------------------------------------------------------*/
op_semantics_8:
{
/** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */
-#line 555 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 556 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 555 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 556 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 555 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 556 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 555 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 556 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 556 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 556 "rx-decode.opc"
ID(max); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_9:
{
/** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */
-#line 567 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 568 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 567 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 568 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 567 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 568 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 567 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 568 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 568 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 568 "rx-decode.opc"
ID(min); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_10:
{
/** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */
-#line 597 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 598 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 597 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 598 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 597 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 598 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 597 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 598 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 598 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 598 "rx-decode.opc"
ID(emul); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_11:
{
/** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */
-#line 609 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 610 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 609 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 610 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 609 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 610 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 609 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 610 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 610 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 610 "rx-decode.opc"
ID(emulu); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_12:
{
/** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */
-#line 621 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 622 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 621 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 622 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 621 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 622 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 621 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 622 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 622 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 622 "rx-decode.opc"
ID(div); SPm(ss, rsrc, mx); DR(rdst); F("O---");
/*----------------------------------------------------------------------*/
op_semantics_13:
{
/** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */
-#line 633 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 634 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 633 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 634 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 633 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 634 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 633 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 634 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 634 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 634 "rx-decode.opc"
ID(divu); SPm(ss, rsrc, mx); DR(rdst); F("O---");
/*----------------------------------------------------------------------*/
op_semantics_14:
{
/** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */
-#line 452 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 453 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 452 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 453 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 452 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 453 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 452 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 453 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 453 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 453 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); S2R(rdst); F("-SZ-");
/*----------------------------------------------------------------------*/
op_semantics_15:
{
/** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */
-#line 431 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 432 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 431 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 432 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 431 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 432 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 431 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 432 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 432 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 432 "rx-decode.opc"
ID(xor); SPm(ss, rsrc, mx); DR(rdst); F("-SZ-");
/*----------------------------------------------------------------------*/
op_semantics_16:
{
/** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */
-#line 365 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 366 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 365 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 366 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 365 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 366 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 365 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 366 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 366 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 366 "rx-decode.opc"
ID(xchg); DR(rdst); SPm(ss, rsrc, mx);
/*----------------------------------------------------------------------*/
op_semantics_17:
{
/** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */
-#line 862 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 863 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 862 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 863 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 862 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 863 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 862 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 863 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 863 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 863 "rx-decode.opc"
ID(itof); DR (rdst); SPm(sd, rsrc, mx); F("-SZ-");
/*----------------------------------------------------------------------*/
op_semantics_18:
{
/** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */
-#line 473 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 474 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 473 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 474 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 473 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 474 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1%S1, %0");
-#line 474 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 474 "rx-decode.opc"
ID(adc); SPm(ss, rsrc, 2); DR(rdst); F("OSZC");
/*----------------------------------------------------------------------*/
case 0x0f:
{
/** 0000 1dsp bra.s %a0 */
-#line 708 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 709 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("bra.s %a0");
-#line 709 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 709 "rx-decode.opc"
ID(branch); Scc(RXC_always); DC(pc + dsp3map[dsp]);
}
case 0x1f:
{
/** 0001 n dsp b%1.s %a0 */
-#line 698 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 699 "rx-decode.opc"
int n AU = (op[0] >> 3) & 0x01;
-#line 698 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 699 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("b%1.s %a0");
-#line 699 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 699 "rx-decode.opc"
ID(branch); Scc(n); DC(pc + dsp3map[dsp]);
}
case 0x2f:
{
/** 0010 cond b%1.b %a0 */
-#line 701 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 702 "rx-decode.opc"
int cond AU = op[0] & 0x0f;
if (trace)
{
printf (" cond = 0x%x\n", cond);
}
SYNTAX("b%1.b %a0");
-#line 702 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 702 "rx-decode.opc"
ID(branch); Scc(cond); DC(pc + IMMex (1));
}
op[0]);
}
SYNTAX("bra.b %a0");
-#line 712 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 712 "rx-decode.opc"
ID(branch); Scc(RXC_always); DC(pc + IMMex(1));
}
op[0]);
}
SYNTAX("bra.w %a0");
-#line 715 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 715 "rx-decode.opc"
ID(branch); Scc(RXC_always); DC(pc + IMMex(2));
}
op[0]);
}
SYNTAX("bsr.w %a0");
-#line 731 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 731 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(2));
}
case 0x3b:
{
/** 0011 101c b%1.w %a0 */
-#line 704 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 705 "rx-decode.opc"
int c AU = op[0] & 0x01;
if (trace)
{
printf (" c = 0x%x\n", c);
}
SYNTAX("b%1.w %a0");
-#line 705 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 705 "rx-decode.opc"
ID(branch); Scc(c); DC(pc + IMMex (2));
op_semantics_19:
{
/** 0011 11sz d dst sppp mov%s #%1, %0 */
-#line 294 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 295 "rx-decode.opc"
int sz AU = op[0] & 0x03;
-#line 294 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 295 "rx-decode.opc"
int d AU = (op[1] >> 7) & 0x01;
-#line 294 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 295 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 294 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 295 "rx-decode.opc"
int sppp AU = op[1] & 0x0f;
if (trace)
{
printf (" sppp = 0x%x\n", sppp);
}
SYNTAX("mov%s #%1, %0");
-#line 295 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 295 "rx-decode.opc"
ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F("----");
}
case 0x00:
{
/** 0011 1111 rega regb rtsd #%1, %2-%0 */
-#line 383 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 384 "rx-decode.opc"
int rega AU = (op[1] >> 4) & 0x0f;
-#line 383 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 384 "rx-decode.opc"
int regb AU = op[1] & 0x0f;
if (trace)
{
printf (" regb = 0x%x\n", regb);
}
SYNTAX("rtsd #%1, %2-%0");
-#line 384 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 384 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4); S2R(rega); DR(regb);
/*----------------------------------------------------------------------*/
op_semantics_20:
{
/** 0100 00ss rsrc rdst sub %2%S2, %1 */
-#line 518 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 519 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 518 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 519 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 518 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 519 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 519 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 519 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); DR(rdst); F("OSZC");
}
op_semantics_21:
{
/** 0100 01ss rsrc rdst cmp %2%S2, %1 */
-#line 506 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 507 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 506 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 507 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 506 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 507 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 507 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 507 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); F("OSZC");
}
op_semantics_22:
{
/** 0100 10ss rsrc rdst add %1%S1, %0 */
-#line 482 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 483 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 482 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 483 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 482 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 483 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 483 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 483 "rx-decode.opc"
ID(add); SP(ss, rsrc); DR(rdst); F("OSZC");
}
op_semantics_23:
{
/** 0100 11ss rsrc rdst mul %1%S1, %0 */
-#line 579 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 580 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 579 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 580 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 579 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 580 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 580 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(mul); SP(ss, rsrc); DR(rdst); F("O---");
+#line 580 "rx-decode.opc"
+ ID(mul); SP(ss, rsrc); DR(rdst); F("----");
}
break;
op_semantics_24:
{
/** 0101 00ss rsrc rdst and %1%S1, %0 */
-#line 395 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 396 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 395 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 396 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 395 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 396 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 396 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 396 "rx-decode.opc"
ID(and); SP(ss, rsrc); DR(rdst); F("-SZ-");
}
op_semantics_25:
{
/** 0101 01ss rsrc rdst or %1%S1, %0 */
-#line 413 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 414 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 413 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 414 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 413 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 414 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 414 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 414 "rx-decode.opc"
ID(or); SP(ss, rsrc); DR(rdst); F("-SZ-");
}
op_semantics_26:
{
/** 0101 1 s ss rsrc rdst movu%s %1, %0 */
-#line 334 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 335 "rx-decode.opc"
int s AU = (op[0] >> 2) & 0x01;
-#line 334 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 335 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 334 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 335 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 334 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 335 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 335 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 335 "rx-decode.opc"
ID(mov); uBWL(s); SD(ss, rsrc, s); DR(rdst); F("----");
}
case 0x00:
{
/** 0110 0000 immm rdst sub #%2, %0 */
-#line 515 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 516 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 515 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 516 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub #%2, %0");
-#line 516 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 516 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); DR(rdst); F("OSZC");
}
case 0x00:
{
/** 0110 0001 immm rdst cmp #%2, %1 */
-#line 497 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 498 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 497 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 498 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp #%2, %1");
-#line 498 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 498 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); F("OSZC");
}
case 0x00:
{
/** 0110 0010 immm rdst add #%1, %0 */
-#line 479 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 480 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 479 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 480 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %0");
-#line 480 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 480 "rx-decode.opc"
ID(add); SC(immm); DR(rdst); F("OSZC");
}
case 0x00:
{
/** 0110 0011 immm rdst mul #%1, %0 */
-#line 573 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 574 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 573 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 574 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 574 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(mul); DR(rdst); SC(immm); F("O---");
+#line 574 "rx-decode.opc"
+ ID(mul); DR(rdst); SC(immm); F("----");
}
break;
case 0x00:
{
/** 0110 0100 immm rdst and #%1, %0 */
-#line 389 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 390 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 389 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 390 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 390 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 390 "rx-decode.opc"
ID(and); SC(immm); DR(rdst); F("-SZ-");
}
case 0x00:
{
/** 0110 0101 immm rdst or #%1, %0 */
-#line 407 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 408 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 407 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 408 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 408 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 408 "rx-decode.opc"
ID(or); SC(immm); DR(rdst); F("-SZ-");
}
case 0x00:
{
/** 0110 0110 immm rdst mov%s #%1, %0 */
-#line 291 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 292 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 291 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 292 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 292 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 292 "rx-decode.opc"
ID(mov); DR(rdst); SC(immm); F("----");
}
op[0]);
}
SYNTAX("rtsd #%1");
-#line 381 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 381 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4);
}
op_semantics_27:
{
/** 0110 100i mmmm rdst shlr #%2, %0 */
-#line 659 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 660 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 659 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 660 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 659 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 660 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %0");
-#line 660 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 660 "rx-decode.opc"
ID(shlr); S2C(i*16+mmmm); SR(rdst); DR(rdst); F("-SZC");
}
op_semantics_28:
{
/** 0110 101i mmmm rdst shar #%2, %0 */
-#line 649 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 650 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 649 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 650 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 649 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 650 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %0");
-#line 650 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 650 "rx-decode.opc"
ID(shar); S2C(i*16+mmmm); SR(rdst); DR(rdst); F("0SZC");
}
op_semantics_29:
{
/** 0110 110i mmmm rdst shll #%2, %0 */
-#line 639 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 640 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 639 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 640 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 639 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 640 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %0");
-#line 640 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 640 "rx-decode.opc"
ID(shll); S2C(i*16+mmmm); SR(rdst); DR(rdst); F("OSZC");
}
case 0x00:
{
/** 0110 1110 dsta dstb pushm %1-%2 */
-#line 347 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 348 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 347 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 348 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("pushm %1-%2");
-#line 348 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 348 "rx-decode.opc"
ID(pushm); SR(dsta); S2R(dstb); F("----");
}
case 0x00:
{
/** 0110 1111 dsta dstb popm %1-%2 */
-#line 344 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 345 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 344 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 345 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("popm %1-%2");
-#line 345 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 345 "rx-decode.opc"
ID(popm); SR(dsta); S2R(dstb); F("----");
}
op_semantics_30:
{
/** 0111 00im rsrc rdst add #%1, %2, %0 */
-#line 488 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 489 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 488 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 489 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 488 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 489 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %2, %0");
-#line 489 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 489 "rx-decode.opc"
ID(add); SC(IMMex(im)); S2R(rsrc); DR(rdst); F("OSZC");
}
op_semantics_31:
{
/** 0111 01im 0000 rsrc cmp #%2, %1%S1 */
-#line 500 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 501 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 500 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 501 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1%S1");
-#line 501 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 501 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMMex(im)); F("OSZC");
}
op_semantics_32:
{
/** 0111 01im 0001rdst mul #%1, %0 */
-#line 576 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 577 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 576 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 577 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 577 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(mul); DR(rdst); SC(IMMex(im)); F("O---");
+#line 577 "rx-decode.opc"
+ ID(mul); DR(rdst); SC(IMMex(im)); F("----");
}
break;
op_semantics_33:
{
/** 0111 01im 0010 rdst and #%1, %0 */
-#line 392 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 393 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 392 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 393 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 393 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 393 "rx-decode.opc"
ID(and); SC(IMMex(im)); DR(rdst); F("-SZ-");
}
op_semantics_34:
{
/** 0111 01im 0011 rdst or #%1, %0 */
-#line 410 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 411 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 410 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 411 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 411 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 411 "rx-decode.opc"
ID(or); SC(IMMex(im)); DR(rdst); F("-SZ-");
}
case 0x4f:
{
/** 0111 0101 0100 rdst mov%s #%1, %0 */
-#line 285 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 286 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 286 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 286 "rx-decode.opc"
ID(mov); DR(rdst); SC(IMM (1)); F("----");
}
case 0x5f:
{
/** 0111 0101 0101 rsrc cmp #%2, %1 */
-#line 503 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 504 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1");
-#line 504 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 504 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMM(1)); F("OSZC");
}
op[0], op[1]);
}
SYNTAX("int #%1");
-#line 963 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 957 "rx-decode.opc"
ID(int); SC(IMM(1));
}
break;
+ case 0x70:
+ GETBYTE ();
+ switch (op[2] & 0xf0)
+ {
+ case 0x00:
+ {
+ /** 0111 0101 0111 0000 0000 immm mvtipl #%1 */
+#line 924 "rx-decode.opc"
+ int immm AU = op[2] & 0x0f;
+ if (trace)
+ {
+ printf ("\033[33m%s\033[0m %02x %02x %02x\n",
+ "/** 0111 0101 0111 0000 0000 immm mvtipl #%1 */",
+ op[0], op[1], op[2]);
+ printf (" immm = 0x%x\n", immm);
+ }
+ SYNTAX("mvtipl #%1");
+#line 924 "rx-decode.opc"
+ ID(mvtipl); SC(immm);
+
+ }
+ break;
+ default: UNSUPPORTED(); break;
+ }
+ break;
default: UNSUPPORTED(); break;
}
break;
op_semantics_35:
{
/** 0111 100b ittt rdst bset #%1, %0 */
-#line 874 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 875 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 874 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 875 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 874 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 875 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bset #%1, %0");
-#line 875 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 875 "rx-decode.opc"
ID(bset); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F("----");
op_semantics_36:
{
/** 0111 101b ittt rdst bclr #%1, %0 */
-#line 884 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 885 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 884 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 885 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 884 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 885 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bclr #%1, %0");
-#line 885 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 885 "rx-decode.opc"
ID(bclr); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F("----");
op_semantics_37:
{
/** 0111 110b ittt rdst btst #%2, %1 */
-#line 894 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 895 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 894 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 895 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 894 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 895 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("btst #%2, %1");
-#line 895 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 895 "rx-decode.opc"
ID(btst); BWL(LSIZE); S2C(b*16+ittt); SR(rdst); F("--ZC");
case 0x00:
{
/** 0111 1110 0000 rdst not %0 */
-#line 437 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 438 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %0");
-#line 438 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 438 "rx-decode.opc"
ID(xor); DR(rdst); SR(rdst); S2C(~0); F("-SZ-");
}
case 0x10:
{
/** 0111 1110 0001 rdst neg %0 */
-#line 458 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 459 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %0");
-#line 459 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 459 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rdst); F("OSZC");
}
case 0x20:
{
/** 0111 1110 0010 rdst abs %0 */
-#line 540 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 541 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %0");
-#line 541 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 541 "rx-decode.opc"
ID(abs); DR(rdst); SR(rdst); F("OSZ-");
}
case 0x30:
{
/** 0111 1110 0011 rdst sat %0 */
-#line 814 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 815 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sat %0");
-#line 815 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 815 "rx-decode.opc"
ID(sat); DR (rdst);
}
case 0x40:
{
/** 0111 1110 0100 rdst rorc %0 */
-#line 674 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 675 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rorc %0");
-#line 675 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 675 "rx-decode.opc"
ID(rorc); DR(rdst); F("-SZC");
}
case 0x50:
{
/** 0111 1110 0101 rdst rolc %0 */
-#line 671 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 672 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rolc %0");
-#line 672 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 672 "rx-decode.opc"
ID(rolc); DR(rdst); F("-SZC");
}
case 0xa0:
{
/** 0111 1110 10sz rsrc push%s %1 */
-#line 353 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 354 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 353 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 354 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("push%s %1");
-#line 354 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 354 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SR(rsrc); F("----");
}
case 0xb0:
{
/** 0111 1110 1011 rdst pop %0 */
-#line 350 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 351 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("pop %0");
-#line 351 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 351 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(rdst); F("----");
}
case 0xd0:
{
/** 0111 1110 110 crsrc pushc %1 */
-#line 926 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 930 "rx-decode.opc"
int crsrc AU = op[1] & 0x1f;
if (trace)
{
printf (" crsrc = 0x%x\n", crsrc);
}
SYNTAX("pushc %1");
-#line 927 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 930 "rx-decode.opc"
ID(mov); OP(0, RX_Operand_Predec, 0, 0); SR(crsrc + 16);
}
case 0xf0:
{
/** 0111 1110 111 crdst popc %0 */
-#line 923 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 927 "rx-decode.opc"
int crdst AU = op[1] & 0x1f;
if (trace)
{
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("popc %0");
-#line 924 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 927 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16);
}
case 0x0f:
{
/** 0111 1111 0000 rsrc jmp %0 */
-#line 724 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 725 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jmp %0");
-#line 725 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 725 "rx-decode.opc"
ID(branch); Scc(RXC_always); DR(rsrc);
}
case 0x1f:
{
/** 0111 1111 0001 rsrc jsr %0 */
-#line 727 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 728 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jsr %0");
-#line 728 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 728 "rx-decode.opc"
ID(jsr); DR(rsrc);
}
case 0x4f:
{
/** 0111 1111 0100 rsrc bra.l %0 */
-#line 720 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 721 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bra.l %0");
-#line 721 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 721 "rx-decode.opc"
ID(branchrel); Scc(RXC_always); DR(rsrc);
case 0x5f:
{
/** 0111 1111 0101 rsrc bsr.l %0 */
-#line 736 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 737 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bsr.l %0");
-#line 737 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 737 "rx-decode.opc"
ID(jsrrel); DR(rsrc);
}
case 0x82:
{
/** 0111 1111 1000 00sz suntil%s */
-#line 760 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 761 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("suntil%s");
-#line 761 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(suntil); BWL(sz); F("OSZC");
+#line 761 "rx-decode.opc"
+ ID(suntil); BWL(sz); F("--ZC");
}
break;
op[0], op[1]);
}
SYNTAX("scmpu");
-#line 752 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 752 "rx-decode.opc"
ID(scmpu); F("--ZC");
}
case 0x86:
{
/** 0111 1111 1000 01sz swhile%s */
-#line 763 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 764 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("swhile%s");
-#line 764 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(swhile); BWL(sz); F("OSZC");
+#line 764 "rx-decode.opc"
+ ID(swhile); BWL(sz); F("--ZC");
}
break;
op[0], op[1]);
}
SYNTAX("smovu");
-#line 755 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 755 "rx-decode.opc"
ID(smovu);
}
case 0x8a:
{
/** 0111 1111 1000 10sz sstr%s */
-#line 769 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 770 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("sstr%s");
-#line 770 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 770 "rx-decode.opc"
ID(sstr); BWL(sz);
/*----------------------------------------------------------------------*/
op[0], op[1]);
}
SYNTAX("smovb");
-#line 758 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 758 "rx-decode.opc"
ID(smovb);
}
case 0x8e:
{
/** 0111 1111 1000 11sz rmpa%s */
-#line 775 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 776 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("rmpa%s");
-#line 776 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 776 "rx-decode.opc"
ID(rmpa); BWL(sz); F("OS--");
/*----------------------------------------------------------------------*/
op[0], op[1]);
}
SYNTAX("smovf");
-#line 767 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 767 "rx-decode.opc"
ID(smovf);
}
op[0], op[1]);
}
SYNTAX("satr");
-#line 818 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 818 "rx-decode.opc"
ID(satr);
/*----------------------------------------------------------------------*/
op[0], op[1]);
}
SYNTAX("rtfi");
-#line 951 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 945 "rx-decode.opc"
ID(rtfi);
}
op[0], op[1]);
}
SYNTAX("rte");
-#line 954 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 948 "rx-decode.opc"
ID(rte);
}
op[0], op[1]);
}
SYNTAX("wait");
-#line 966 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 960 "rx-decode.opc"
ID(wait);
/*----------------------------------------------------------------------*/
case 0xaf:
{
/** 0111 1111 1010 rdst setpsw %0 */
-#line 920 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 921 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("setpsw %0");
-#line 921 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 921 "rx-decode.opc"
ID(setpsw); DF(rdst);
}
case 0xbf:
{
/** 0111 1111 1011 rdst clrpsw %0 */
-#line 917 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 918 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("clrpsw %0");
-#line 918 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 918 "rx-decode.opc"
ID(clrpsw); DF(rdst);
}
op_semantics_38:
{
/** 10sz 0dsp a dst b src mov%s %1, %0 */
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 311 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
int src AU = op[1] & 0x07;
if (trace)
{
printf (" src = 0x%x\n", src);
}
SYNTAX("mov%s %1, %0");
-#line 312 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 312 "rx-decode.opc"
ID(mov); sBWL(sz); DIs(dst, dsp*4+a*2+b, sz); SR(src); F("----");
}
op_semantics_39:
{
/** 10sz 1dsp a src b dst mov%s %1, %0 */
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 308 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
printf (" dst = 0x%x\n", dst);
}
SYNTAX("mov%s %1, %0");
-#line 309 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 309 "rx-decode.opc"
ID(mov); sBWL(sz); DR(dst); SIs(src, dsp*4+a*2+b, sz); F("----");
}
op_semantics_40:
{
/** 1011 w dsp a src b dst movu%s %1, %0 */
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int w AU = (op[0] >> 3) & 0x01;
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 331 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
printf (" dst = 0x%x\n", dst);
}
SYNTAX("movu%s %1, %0");
-#line 332 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 332 "rx-decode.opc"
ID(mov); uBWL(w); DR(dst); SIs(src, dsp*4+a*2+b, w); F("----");
}
op_semantics_41:
{
/** 11sz sd ss rsrc rdst mov%s %1, %0 */
-#line 297 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 297 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
int sd AU = (op[0] >> 2) & 0x03;
-#line 297 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 297 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 297 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 298 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 298 "rx-decode.opc"
ID(mov); sBWL(sz); F("----");
if ((ss == 3) && (sd != 3))
{
op_semantics_42:
{
/** 1111 00sd rdst 0bit bset #%1, %0%S0 */
-#line 868 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 869 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 868 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 869 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 868 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 869 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bset #%1, %0%S0");
-#line 869 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 869 "rx-decode.opc"
ID(bset); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F("----");
}
op_semantics_43:
{
/** 1111 00sd rdst 1bit bclr #%1, %0%S0 */
-#line 878 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 879 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 878 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 879 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 878 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 879 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bclr #%1, %0%S0");
-#line 879 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 879 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F("----");
}
op_semantics_44:
{
/** 1111 01sd rdst 0bit btst #%2, %1%S1 */
-#line 888 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 889 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 888 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 889 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 888 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 889 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btst #%2, %1%S1");
-#line 889 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 889 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2C(bit); SD(sd, rdst, BSIZE); F("--ZC");
}
op_semantics_45:
{
/** 1111 01ss rsrc 10sz push%s %1 */
-#line 356 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 357 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 356 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 357 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 356 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 357 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("push%s %1");
-#line 357 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 357 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SD(ss, rsrc, sz); F("----");
/*----------------------------------------------------------------------*/
op_semantics_46:
{
/** 1111 10sd rdst im sz mov%s #%1, %0 */
-#line 288 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 289 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 288 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 289 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 288 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 289 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 288 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 289 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
printf (" sz = 0x%x\n", sz);
}
SYNTAX("mov%s #%1, %0");
-#line 289 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 289 "rx-decode.opc"
ID(mov); sBWL (sz); DD(sd, rdst, sz); SC(IMMex(im)); F("----");
}
case 0x00:
{
/** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */
-#line 530 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 531 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 530 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 531 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1, %0");
-#line 531 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 531 "rx-decode.opc"
ID(sbb); SR (rsrc); DR(rdst); F("OSZC");
/* FIXME: only supports .L */
case 0x00:
{
/** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */
-#line 461 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 462 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 461 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 462 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %2, %0");
-#line 462 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 462 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rsrc); F("OSZC");
/*----------------------------------------------------------------------*/
case 0x00:
{
/** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */
-#line 470 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 471 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 470 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 471 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1, %0");
-#line 471 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 471 "rx-decode.opc"
ID(adc); SR(rsrc); DR(rdst); F("OSZC");
}
case 0x00:
{
/** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */
-#line 543 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 544 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 543 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 544 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %1, %0");
-#line 544 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 544 "rx-decode.opc"
ID(abs); DR(rdst); SR(rsrc); F("OSZ-");
/*----------------------------------------------------------------------*/
op_semantics_47:
{
/** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */
-#line 552 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 553 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 552 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 553 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 552 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 553 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 553 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 553 "rx-decode.opc"
ID(max); SP(ss, rsrc); DR(rdst);
}
op_semantics_48:
{
/** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */
-#line 564 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 565 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 564 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 565 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 564 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 565 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 565 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 565 "rx-decode.opc"
ID(min); SP(ss, rsrc); DR(rdst);
}
op_semantics_49:
{
/** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */
-#line 594 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 595 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 594 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 595 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 594 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 595 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 595 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 595 "rx-decode.opc"
ID(emul); SP(ss, rsrc); DR(rdst);
}
op_semantics_50:
{
/** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */
-#line 606 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 607 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 606 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 607 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 606 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 607 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 607 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 607 "rx-decode.opc"
ID(emulu); SP(ss, rsrc); DR(rdst);
}
op_semantics_51:
{
/** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */
-#line 618 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 619 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 618 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 619 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 618 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 619 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 619 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 619 "rx-decode.opc"
ID(div); SP(ss, rsrc); DR(rdst); F("O---");
}
op_semantics_52:
{
/** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */
-#line 630 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 631 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 630 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 631 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 630 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 631 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 631 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 631 "rx-decode.opc"
ID(divu); SP(ss, rsrc); DR(rdst); F("O---");
}
op_semantics_53:
{
/** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */
-#line 449 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 450 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 449 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 450 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 449 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 450 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 450 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 450 "rx-decode.opc"
ID(and); SP(ss, rsrc); S2R(rdst); F("-SZ-");
}
op_semantics_54:
{
/** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */
-#line 428 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 429 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 428 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 429 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 428 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 429 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 429 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 429 "rx-decode.opc"
ID(xor); SP(ss, rsrc); DR(rdst); F("-SZ-");
}
case 0x00:
{
/** 1111 1100 0011 1011 rsrc rdst not %1, %0 */
-#line 440 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 441 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 440 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 441 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %1, %0");
-#line 441 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 441 "rx-decode.opc"
ID(xor); DR(rdst); SR(rsrc); S2C(~0); F("-SZ-");
/*----------------------------------------------------------------------*/
op_semantics_55:
{
/** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */
-#line 362 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 363 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 362 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 363 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 362 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 363 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 363 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 363 "rx-decode.opc"
ID(xchg); DR(rdst); SP(ss, rsrc);
}
op_semantics_56:
{
/** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */
-#line 859 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 860 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 859 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 860 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 859 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 860 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 860 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 860 "rx-decode.opc"
ID(itof); DR (rdst); SP(sd, rsrc); F("-SZ-");
}
op_semantics_57:
{
/** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */
-#line 871 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 872 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 871 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 872 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 871 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 872 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bset %1, %0%S0");
-#line 872 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 872 "rx-decode.opc"
ID(bset); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F("----");
}
op_semantics_58:
{
/** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */
-#line 881 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 882 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 881 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 882 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 881 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 882 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bclr %1, %0%S0");
-#line 882 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 882 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F("----");
}
op_semantics_59:
{
/** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */
-#line 891 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 892 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 891 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 892 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 891 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 892 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("btst %2, %1%S1");
-#line 892 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 892 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2R(rsrc); SD(sd, rdst, BSIZE); F("--ZC");
}
op_semantics_60:
{
/** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */
-#line 901 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 902 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 901 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 902 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 901 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 902 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bnot %1, %0%S0");
-#line 902 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 902 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE);
}
op_semantics_61:
{
/** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */
-#line 838 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 839 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 838 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 839 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 838 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 839 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub %1%S1, %0");
-#line 839 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 839 "rx-decode.opc"
ID(fsub); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_62:
{
/** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */
-#line 832 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 833 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 832 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 833 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 832 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 833 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp %1%S1, %0");
-#line 833 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 833 "rx-decode.opc"
ID(fcmp); DR(rdst); SD(sd, rsrc, LSIZE); F("OSZ-");
}
op_semantics_63:
{
/** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */
-#line 826 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 827 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 826 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 827 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 826 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 827 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd %1%S1, %0");
-#line 827 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 827 "rx-decode.opc"
ID(fadd); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_64:
{
/** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */
-#line 847 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 848 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 847 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 848 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 847 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 848 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul %1%S1, %0");
-#line 848 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 848 "rx-decode.opc"
ID(fmul); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_65:
{
/** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */
-#line 853 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 854 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 853 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 854 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 853 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 854 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv %1%S1, %0");
-#line 854 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 854 "rx-decode.opc"
ID(fdiv); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_66:
{
/** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */
-#line 841 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 842 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 841 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 842 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 841 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 842 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("ftoi %1%S1, %0");
-#line 842 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 842 "rx-decode.opc"
ID(ftoi); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_67:
{
/** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */
-#line 856 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 857 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 856 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 857 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 856 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 857 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("round %1%S1, %0");
-#line 857 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 857 "rx-decode.opc"
ID(round); DR(rdst); SD(sd, rsrc, LSIZE); F("-SZ-");
}
op_semantics_68:
{
/** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */
-#line 971 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 966 "rx-decode.opc"
int sz AU = (op[1] >> 2) & 0x03;
-#line 971 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 966 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 971 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 966 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 971 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 966 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
printf (" cond = 0x%x\n", cond);
}
SYNTAX("sc%1%s %0");
-#line 972 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 966 "rx-decode.opc"
ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond);
}
op_semantics_69:
{
/** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */
-#line 908 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 909 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 908 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 909 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 908 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 909 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 908 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 909 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
printf (" cond = 0x%x\n", cond);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 909 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 909 "rx-decode.opc"
ID(bmcc); BWL(BSIZE); S2cc(cond); SC(bit); DD(sd, rdst, BSIZE);
}
op_semantics_70:
{
/** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */
-#line 898 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 899 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 898 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 899 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 898 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 899 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0%S0");
-#line 899 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 899 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE);
}
case 0x00:
{
/** 1111 1101 0000 0000 srca srcb mulhi %1, %2 */
-#line 781 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 782 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 781 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 782 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mulhi %1, %2");
-#line 782 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 782 "rx-decode.opc"
ID(mulhi); SR(srca); S2R(srcb); F("----");
}
case 0x00:
{
/** 1111 1101 0000 0001 srca srcb mullo %1, %2 */
-#line 784 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 785 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 784 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 785 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mullo %1, %2");
-#line 785 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 785 "rx-decode.opc"
ID(mullo); SR(srca); S2R(srcb); F("----");
}
case 0x00:
{
/** 1111 1101 0000 0100 srca srcb machi %1, %2 */
-#line 787 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 788 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 787 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 788 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("machi %1, %2");
-#line 788 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 788 "rx-decode.opc"
ID(machi); SR(srca); S2R(srcb); F("----");
}
case 0x00:
{
/** 1111 1101 0000 0101 srca srcb maclo %1, %2 */
-#line 790 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 791 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 790 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 791 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("maclo %1, %2");
-#line 791 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 791 "rx-decode.opc"
ID(maclo); SR(srca); S2R(srcb); F("----");
}
case 0x00:
{
/** 1111 1101 0001 0111 0000 rsrc mvtachi %1 */
-#line 793 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 794 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtachi %1");
-#line 794 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 794 "rx-decode.opc"
ID(mvtachi); SR(rsrc); F("----");
}
case 0x10:
{
/** 1111 1101 0001 0111 0001 rsrc mvtaclo %1 */
-#line 796 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 797 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtaclo %1");
-#line 797 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 797 "rx-decode.opc"
ID(mvtaclo); SR(rsrc); F("----");
}
case 0x00:
{
/** 1111 1101 0001 1000 000i 0000 racw #%1 */
-#line 808 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 809 "rx-decode.opc"
int i AU = (op[2] >> 4) & 0x01;
if (trace)
{
printf (" i = 0x%x\n", i);
}
SYNTAX("racw #%1");
-#line 809 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 809 "rx-decode.opc"
ID(racw); SC(i+1); F("----");
/*----------------------------------------------------------------------*/
case 0x00:
{
/** 1111 1101 0001 1111 0000 rdst mvfachi %0 */
-#line 799 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 800 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfachi %0");
-#line 800 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 800 "rx-decode.opc"
ID(mvfachi); DR(rdst); F("----");
}
case 0x10:
{
/** 1111 1101 0001 1111 0001 rdst mvfaclo %0 */
-#line 805 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 806 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfaclo %0");
-#line 806 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 806 "rx-decode.opc"
ID(mvfaclo); DR(rdst); F("----");
}
case 0x20:
{
/** 1111 1101 0001 1111 0010 rdst mvfacmi %0 */
-#line 802 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 803 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfacmi %0");
-#line 803 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 803 "rx-decode.opc"
ID(mvfacmi); DR(rdst); F("----");
}
op_semantics_71:
{
/** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */
-#line 323 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 324 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 323 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 324 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 323 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 324 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 323 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 324 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mov%s %1, %0");
-#line 324 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 324 "rx-decode.opc"
ID(mov); sBWL (sz); SR(rsrc); F("----");
OP(0, p ? RX_Operand_Predec : RX_Operand_Postinc, rdst, 0);
op_semantics_72:
{
/** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */
-#line 327 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 328 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 327 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 328 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 327 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 328 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 327 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 328 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 328 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 328 "rx-decode.opc"
ID(mov); sBWL (sz); DR(rdst); F("----");
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
op_semantics_73:
{
/** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */
-#line 337 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 338 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 337 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 338 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 337 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 338 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 337 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 338 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 338 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 338 "rx-decode.opc"
ID(mov); uBWL (sz); DR(rdst); F("----");
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
case 0x00:
{
/** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */
-#line 662 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 663 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 662 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 663 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr %2, %0");
-#line 663 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 663 "rx-decode.opc"
ID(shlr); S2R(rsrc); SR(rdst); DR(rdst); F("-SZC");
}
case 0x00:
{
/** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */
-#line 652 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 653 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 652 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 653 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar %2, %0");
-#line 653 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 653 "rx-decode.opc"
ID(shar); S2R(rsrc); SR(rdst); DR(rdst); F("0SZC");
}
case 0x00:
{
/** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */
-#line 642 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 643 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 642 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 643 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll %2, %0");
-#line 643 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 643 "rx-decode.opc"
ID(shll); S2R(rsrc); SR(rdst); DR(rdst); F("OSZC");
}
case 0x00:
{
/** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */
-#line 686 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 687 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 686 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 687 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr %1, %0");
-#line 687 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 687 "rx-decode.opc"
ID(rotr); SR(rsrc); DR(rdst); F("-SZC");
}
case 0x00:
{
/** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */
-#line 689 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 690 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 689 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 690 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revw %1, %0");
-#line 690 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 690 "rx-decode.opc"
ID(revw); SR(rsrc); DR(rdst);
}
case 0x00:
{
/** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */
-#line 680 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 681 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 680 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 681 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl %1, %0");
-#line 681 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 681 "rx-decode.opc"
ID(rotl); SR(rsrc); DR(rdst); F("-SZC");
}
case 0x00:
{
/** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */
-#line 692 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 693 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 692 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 693 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revl %1, %0");
-#line 693 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 693 "rx-decode.opc"
ID(revl); SR(rsrc); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_74:
{
/** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */
-#line 932 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 936 "rx-decode.opc"
int c AU = op[1] & 0x01;
-#line 932 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 936 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 932 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 936 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvtc %1, %0");
-#line 933 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 936 "rx-decode.opc"
ID(mov); SR(rsrc); DR(c*16+rdst + 16);
}
op_semantics_75:
{
/** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */
-#line 935 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 939 "rx-decode.opc"
int s AU = op[1] & 0x01;
-#line 935 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 939 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 935 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 939 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfc %1, %0");
-#line 936 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 939 "rx-decode.opc"
ID(mov); SR((s*16+rsrc) + 16); DR(rdst);
+ /*----------------------------------------------------------------------*/
+ /* INTERRUPTS */
+
}
break;
}
op_semantics_76:
{
/** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */
-#line 683 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 684 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 683 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 684 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 683 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 684 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr #%1, %0");
-#line 684 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 684 "rx-decode.opc"
ID(rotr); SC(i*16+mmmm); DR(rdst); F("-SZC");
}
op_semantics_77:
{
/** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */
-#line 677 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 678 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 677 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 678 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 677 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 678 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl #%1, %0");
-#line 678 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 678 "rx-decode.opc"
ID(rotl); SC(i*16+mmmm); DR(rdst); F("-SZC");
}
op_semantics_78:
{
/** 1111 1101 0111 im00 0010rdst adc #%1, %0 */
-#line 467 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 468 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 467 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 468 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc #%1, %0");
-#line 468 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 468 "rx-decode.opc"
ID(adc); SC(IMMex(im)); DR(rdst); F("OSZC");
}
op_semantics_79:
{
/** 1111 1101 0111 im00 0100rdst max #%1, %0 */
-#line 549 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 550 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 549 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 550 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max #%1, %0");
-#line 550 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 550 "rx-decode.opc"
ID(max); DR(rdst); SC(IMMex(im));
}
op_semantics_80:
{
/** 1111 1101 0111 im00 0101rdst min #%1, %0 */
-#line 561 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 562 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 561 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 562 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min #%1, %0");
-#line 562 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 562 "rx-decode.opc"
ID(min); DR(rdst); SC(IMMex(im));
}
op_semantics_81:
{
/** 1111 1101 0111 im00 0110rdst emul #%1, %0 */
-#line 591 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 592 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 591 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 592 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul #%1, %0");
-#line 592 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 592 "rx-decode.opc"
ID(emul); DR(rdst); SC(IMMex(im));
}
op_semantics_82:
{
/** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */
-#line 603 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 604 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 603 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 604 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu #%1, %0");
-#line 604 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 604 "rx-decode.opc"
ID(emulu); DR(rdst); SC(IMMex(im));
}
op_semantics_83:
{
/** 1111 1101 0111 im00 1000rdst div #%1, %0 */
-#line 615 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 616 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 615 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 616 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div #%1, %0");
-#line 616 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 616 "rx-decode.opc"
ID(div); DR(rdst); SC(IMMex(im)); F("O---");
}
op_semantics_84:
{
/** 1111 1101 0111 im00 1001rdst divu #%1, %0 */
-#line 627 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 628 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 627 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 628 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu #%1, %0");
-#line 628 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 628 "rx-decode.opc"
ID(divu); DR(rdst); SC(IMMex(im)); F("O---");
}
op_semantics_85:
{
/** 1111 1101 0111 im00 1100rdst tst #%1, %2 */
-#line 446 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 447 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 446 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 447 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst #%1, %2");
-#line 447 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 447 "rx-decode.opc"
ID(and); SC(IMMex(im)); S2R(rdst); F("-SZ-");
}
op_semantics_86:
{
/** 1111 1101 0111 im00 1101rdst xor #%1, %0 */
-#line 425 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 426 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 425 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 426 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor #%1, %0");
-#line 426 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 426 "rx-decode.opc"
ID(xor); SC(IMMex(im)); DR(rdst); F("-SZ-");
}
op_semantics_87:
{
/** 1111 1101 0111 im00 1110rdst stz #%1, %0 */
-#line 371 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 372 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 371 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 372 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stz #%1, %0");
-#line 372 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 372 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_z);
}
op_semantics_88:
{
/** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */
-#line 374 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 375 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 374 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 375 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stnz #%1, %0");
-#line 375 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 375 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_nz);
/*----------------------------------------------------------------------*/
case 0x00:
{
/** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */
-#line 835 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 836 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub #%1, %0");
-#line 836 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 836 "rx-decode.opc"
ID(fsub); DR(rdst); SC(IMM(0)); F("-SZ-");
}
case 0x10:
{
/** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */
-#line 829 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 830 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp #%1, %0");
-#line 830 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 830 "rx-decode.opc"
ID(fcmp); DR(rdst); SC(IMM(0)); F("OSZ-");
}
case 0x20:
{
/** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */
-#line 823 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 824 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd #%1, %0");
-#line 824 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 824 "rx-decode.opc"
ID(fadd); DR(rdst); SC(IMM(0)); F("-SZ-");
}
case 0x30:
{
/** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */
-#line 844 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 845 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul #%1, %0");
-#line 845 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 845 "rx-decode.opc"
ID(fmul); DR(rdst); SC(IMM(0)); F("-SZ-");
}
case 0x40:
{
/** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */
-#line 850 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 851 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv #%1, %0");
-#line 851 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 851 "rx-decode.opc"
ID(fdiv); DR(rdst); SC(IMM(0)); F("-SZ-");
}
op_semantics_89:
{
/** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */
-#line 929 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 933 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 929 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 933 "rx-decode.opc"
int crdst AU = op[2] & 0x1f;
if (trace)
{
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("mvtc #%1, %0");
-#line 930 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 933 "rx-decode.opc"
ID(mov); SC(IMMex(im)); DR(crdst + 16);
}
op_semantics_90:
{
/** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */
-#line 665 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 666 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 665 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 666 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 665 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 666 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %1, %0");
-#line 666 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 666 "rx-decode.opc"
ID(shlr); S2C(immmm); SR(rsrc); DR(rdst); F("-SZC");
/*----------------------------------------------------------------------*/
op_semantics_91:
{
/** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */
-#line 655 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 656 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 655 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 656 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 655 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 656 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %1, %0");
-#line 656 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 656 "rx-decode.opc"
ID(shar); S2C(immmm); SR(rsrc); DR(rdst); F("0SZC");
op_semantics_92:
{
/** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */
-#line 645 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 646 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 645 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 646 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 645 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 646 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %1, %0");
-#line 646 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 646 "rx-decode.opc"
ID(shll); S2C(immmm); SR(rsrc); DR(rdst); F("OSZC");
op_semantics_93:
{
/** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */
-#line 911 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 912 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 911 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 912 "rx-decode.opc"
int cond AU = (op[2] >> 4) & 0x0f;
-#line 911 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 912 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 912 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 912 "rx-decode.opc"
ID(bmcc); BWL(LSIZE); S2cc(cond); SC(bittt); DR(rdst);
/*----------------------------------------------------------------------*/
op_semantics_94:
{
/** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */
-#line 904 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 905 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 904 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 905 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0");
-#line 905 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 905 "rx-decode.opc"
ID(bnot); BWL(LSIZE); SC(bittt); DR(rdst);
op_semantics_95:
{
/** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */
-#line 317 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 318 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 317 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 318 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 317 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 318 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 317 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 318 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %0, [%1, %2]");
-#line 318 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 318 "rx-decode.opc"
ID(movbir); sBWL(sz); DR(rdst); SR(isrc); S2R(bsrc); F("----");
}
op_semantics_96:
{
/** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */
-#line 314 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 315 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 314 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 315 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 314 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 315 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 314 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 315 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s [%1, %2], %0");
-#line 315 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 315 "rx-decode.opc"
ID(movbi); sBWL(sz); DR(rdst); SR(isrc); S2R(bsrc); F("----");
}
op_semantics_97:
{
/** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */
-#line 320 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 321 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 320 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 321 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 320 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 321 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 320 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 321 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s [%1, %2], %0");
-#line 321 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 321 "rx-decode.opc"
ID(movbi); uBWL(sz); DR(rdst); SR(isrc); S2R(bsrc); F("----");
}
op_semantics_98:
{
/** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */
-#line 524 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 525 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 524 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 525 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 524 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 525 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("sub %2, %1, %0");
-#line 525 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 525 "rx-decode.opc"
ID(sub); DR(rdst); SR(srcb); S2R(srca); F("OSZC");
/*----------------------------------------------------------------------*/
op_semantics_99:
{
/** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */
-#line 491 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 492 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 491 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 492 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 491 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 492 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("add %2, %1, %0");
-#line 492 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 492 "rx-decode.opc"
ID(add); DR(rdst); SR(srcb); S2R(srca); F("OSZC");
/*----------------------------------------------------------------------*/
op_semantics_100:
{
/** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */
-#line 585 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 586 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 585 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 586 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 585 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 586 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mul %2, %1, %0");
-#line 586 "/work/sources/binutils/current/opcodes/rx-decode.opc"
- ID(mul); DR(rdst); SR(srcb); S2R(srca); F("O---");
+#line 586 "rx-decode.opc"
+ ID(mul); DR(rdst); SR(srcb); S2R(srca); F("----");
/*----------------------------------------------------------------------*/
/* EMUL */
op_semantics_101:
{
/** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */
-#line 401 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 402 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 401 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 402 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 401 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 402 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("and %2, %1, %0");
-#line 402 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 402 "rx-decode.opc"
ID(and); DR(rdst); SR(srcb); S2R(srca); F("-SZ-");
/*----------------------------------------------------------------------*/
op_semantics_102:
{
/** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */
-#line 419 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 420 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 419 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 420 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 419 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 420 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("or %2, %1, %0");
-#line 420 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 420 "rx-decode.opc"
ID(or); DR(rdst); SR(srcb); S2R(srca); F("-SZ-");
/*----------------------------------------------------------------------*/
break;
default: UNSUPPORTED(); break;
}
-#line 975 "/work/sources/binutils/current/opcodes/rx-decode.opc"
+#line 969 "rx-decode.opc"
return rx->n_bytes;
}