1 #line 1 "rx-decode.opc"
11 #define RX_OPCODE_BIG_ENDIAN 0
15 RX_Opcode_Decoded * rx;
16 int (* getbyte)(void *);
27 /* These are for when the upper bits are "don't care" or "undefined". */
57 #define ID(x) rx->id = RXO_##x
58 #define OP(n,t,r,a) (rx->op[n].type = t, \
60 rx->op[n].addend = a )
61 #define OPs(n,t,r,a,s) (OP (n,t,r,a), \
64 /* This is for the BWL and BW bitfields. */
65 static int SCALE[] = { 1, 2, 4 };
66 /* This is for the prefix size enum. */
67 static int PSCALE[] = { 4, 1, 1, 1, 2, 2, 2, 3, 4 };
69 static int flagmap[] = {0, 1, 2, 3, 0, 0, 0, 0,
70 16, 17, 0, 0, 0, 0, 0, 0 };
72 static int dsp3map[] = { 8, 9, 10, 3, 4, 5, 6, 7 };
75 *C a constant (immediate) c
77 *I Register indirect, no offset
78 *Is Register indirect, with offset
79 *D standard displacement: type (r,[r],dsp8,dsp16 code), register, BWL code
80 *P standard displacement: type (r,[r]), reg, assumes UByte
81 *Pm memex displacement: type (r,[r]), reg, memex code
82 *cc condition code. */
84 #define DC(c) OP (0, RX_Operand_Immediate, 0, c)
85 #define DR(r) OP (0, RX_Operand_Register, r, 0)
86 #define DI(r,a) OP (0, RX_Operand_Indirect, r, a)
87 #define DIs(r,a,s) OP (0, RX_Operand_Indirect, r, (a) * SCALE[s])
88 #define DD(t,r,s) rx_disp (0, t, r, bwl[s], ld);
89 #define DF(r) OP (0, RX_Operand_Flag, flagmap[r], 0)
91 #define SC(i) OP (1, RX_Operand_Immediate, 0, i)
92 #define SR(r) OP (1, RX_Operand_Register, r, 0)
93 #define SRR(r) OP (1, RX_Operand_TwoReg, r, 0)
94 #define SI(r,a) OP (1, RX_Operand_Indirect, r, a)
95 #define SIs(r,a,s) OP (1, RX_Operand_Indirect, r, (a) * SCALE[s])
96 #define SD(t,r,s) rx_disp (1, t, r, bwl[s], ld);
97 #define SP(t,r) rx_disp (1, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 1);
98 #define SPm(t,r,m) rx_disp (1, t, r, memex[m], ld); rx->op[1].size = memex[m];
99 #define Scc(cc) OP (1, RX_Operand_Condition, cc, 0)
101 #define S2C(i) OP (2, RX_Operand_Immediate, 0, i)
102 #define S2R(r) OP (2, RX_Operand_Register, r, 0)
103 #define S2I(r,a) OP (2, RX_Operand_Indirect, r, a)
104 #define S2Is(r,a,s) OP (2, RX_Operand_Indirect, r, (a) * SCALE[s])
105 #define S2D(t,r,s) rx_disp (2, t, r, bwl[s], ld);
106 #define S2P(t,r) rx_disp (2, t, r, (t!=3) ? RX_UByte : RX_Long, ld); P(t, 2);
107 #define S2Pm(t,r,m) rx_disp (2, t, r, memex[m], ld); rx->op[2].size = memex[m];
108 #define S2cc(cc) OP (2, RX_Operand_Condition, cc, 0)
110 #define BWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = bwl[sz]
111 #define sBWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = sbwl[sz]
112 #define uBWL(sz) rx->op[0].size = rx->op[1].size = rx->op[2].size = rx->size = ubwl[sz]
113 #define P(t, n) rx->op[n].size = (t!=3) ? RX_UByte : RX_Long;
115 #define F(f) store_flags(rx, f)
117 #define AU ATTRIBUTE_UNUSED
118 #define GETBYTE() (ld->op [ld->rx->n_bytes++] = ld->getbyte (ld->ptr))
120 #define SYNTAX(x) rx->syntax = x
122 #define UNSUPPORTED() \
123 rx->syntax = "*unknown*"
125 #define IMM(sf) immediate (sf, 0, ld)
126 #define IMMex(sf) immediate (sf, 1, ld)
129 immediate (int sfield, int ex, LocalData * ld)
131 unsigned long i = 0, j;
135 #define B ((unsigned long) GETBYTE())
137 #if RX_OPCODE_BIG_ENDIAN
139 if (ex && (i & 0x80))
150 if (ex && (j & 0x80))
156 #if RX_OPCODE_BIG_ENDIAN
165 if (ex && (i & 0x800000))
169 #if RX_OPCODE_BIG_ENDIAN
176 if (ex && (i & 0x8000))
181 if (ex && (i & 0x80))
191 rx_disp (int n, int type, int reg, int size, LocalData * ld)
195 ld->rx->op[n].reg = reg;
199 ld->rx->op[n].type = RX_Operand_Register;
202 ld->rx->op[n].type = RX_Operand_Indirect;
203 ld->rx->op[n].addend = 0;
206 ld->rx->op[n].type = RX_Operand_Indirect;
208 ld->rx->op[n].addend = disp * PSCALE[size];
211 ld->rx->op[n].type = RX_Operand_Indirect;
213 #if RX_OPCODE_BIG_ENDIAN
214 disp = disp * 256 + GETBYTE ();
216 disp = disp + GETBYTE () * 256;
218 ld->rx->op[n].addend = disp * PSCALE[size];
231 #define F___ZC rx->flags_0 = rx->flags_s = xZ|xC;
232 #define F__SZ_ rx->flags_0 = rx->flags_s = xS|xZ;
233 #define F__SZC rx->flags_0 = rx->flags_s = xS|xZ|xC;
234 #define F_0SZC rx->flags_0 = xO|xS|xZ|xC; rx->flags_s = xS|xZ|xC;
235 #define F_O___ rx->flags_0 = rx->flags_s = xO;
236 #define F_OS__ rx->flags_0 = rx->flags_s = xO|xS;
237 #define F_OSZ_ rx->flags_0 = rx->flags_s = xO|xS|xZ;
238 #define F_OSZC rx->flags_0 = rx->flags_s = xO|xS|xZ|xC;
241 rx_decode_opcode (unsigned long pc AU,
242 RX_Opcode_Decoded * rx,
243 int (* getbyte)(void *),
246 LocalData lds, * ld = &lds;
247 unsigned char op[20] = {0};
250 lds.getbyte = getbyte;
254 memset (rx, 0, sizeof (*rx));
258 /*----------------------------------------------------------------------*/
262 switch (op[0] & 0xff)
269 printf ("\033[33m%s\033[0m %02x\n",
270 "/** 0000 0000 brk */",
274 #line 943 "rx-decode.opc"
284 printf ("\033[33m%s\033[0m %02x\n",
285 "/** 0000 0001 dbt */",
289 #line 946 "rx-decode.opc"
299 printf ("\033[33m%s\033[0m %02x\n",
300 "/** 0000 0010 rts */",
304 #line 732 "rx-decode.opc"
307 /*----------------------------------------------------------------------*/
317 printf ("\033[33m%s\033[0m %02x\n",
318 "/** 0000 0011 nop */",
322 #line 738 "rx-decode.opc"
325 /*----------------------------------------------------------------------*/
326 /* STRING FUNCTIONS */
332 /** 0000 0100 bra.a %a0 */
335 printf ("\033[33m%s\033[0m %02x\n",
336 "/** 0000 0100 bra.a %a0 */",
340 #line 710 "rx-decode.opc"
341 ID(branch); DC(pc + IMMex(3));
347 /** 0000 0101 bsr.a %a0 */
350 printf ("\033[33m%s\033[0m %02x\n",
351 "/** 0000 0101 bsr.a %a0 */",
355 #line 726 "rx-decode.opc"
356 ID(jsr); DC(pc + IMMex(3));
362 switch (op[1] & 0xff)
366 switch (op[2] & 0x00)
371 /** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */
372 #line 506 "rx-decode.opc"
373 int mx AU = (op[1] >> 6) & 0x03;
374 #line 506 "rx-decode.opc"
375 int ss AU = op[1] & 0x03;
376 #line 506 "rx-decode.opc"
377 int rsrc AU = (op[2] >> 4) & 0x0f;
378 #line 506 "rx-decode.opc"
379 int rdst AU = op[2] & 0x0f;
382 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
383 "/** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */",
384 op[0], op[1], op[2]);
385 printf (" mx = 0x%x,", mx);
386 printf (" ss = 0x%x,", ss);
387 printf (" rsrc = 0x%x,", rsrc);
388 printf (" rdst = 0x%x\n", rdst);
390 SYNTAX("sub %2%S2, %1");
391 #line 506 "rx-decode.opc"
392 ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); DR(rdst); F_OSZC;
400 switch (op[2] & 0x00)
409 switch (op[2] & 0x00)
418 switch (op[2] & 0x00)
427 switch (op[2] & 0x00)
432 /** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */
433 #line 494 "rx-decode.opc"
434 int mx AU = (op[1] >> 6) & 0x03;
435 #line 494 "rx-decode.opc"
436 int ss AU = op[1] & 0x03;
437 #line 494 "rx-decode.opc"
438 int rsrc AU = (op[2] >> 4) & 0x0f;
439 #line 494 "rx-decode.opc"
440 int rdst AU = op[2] & 0x0f;
443 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
444 "/** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */",
445 op[0], op[1], op[2]);
446 printf (" mx = 0x%x,", mx);
447 printf (" ss = 0x%x,", ss);
448 printf (" rsrc = 0x%x,", rsrc);
449 printf (" rdst = 0x%x\n", rdst);
451 SYNTAX("cmp %2%S2, %1");
452 #line 494 "rx-decode.opc"
453 ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); F_OSZC;
455 /*----------------------------------------------------------------------*/
464 switch (op[2] & 0x00)
473 switch (op[2] & 0x00)
482 switch (op[2] & 0x00)
491 switch (op[2] & 0x00)
496 /** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */
497 #line 470 "rx-decode.opc"
498 int mx AU = (op[1] >> 6) & 0x03;
499 #line 470 "rx-decode.opc"
500 int ss AU = op[1] & 0x03;
501 #line 470 "rx-decode.opc"
502 int rsrc AU = (op[2] >> 4) & 0x0f;
503 #line 470 "rx-decode.opc"
504 int rdst AU = op[2] & 0x0f;
507 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
508 "/** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */",
509 op[0], op[1], op[2]);
510 printf (" mx = 0x%x,", mx);
511 printf (" ss = 0x%x,", ss);
512 printf (" rsrc = 0x%x,", rsrc);
513 printf (" rdst = 0x%x\n", rdst);
515 SYNTAX("add %1%S1, %0");
516 #line 470 "rx-decode.opc"
517 ID(add); SPm(ss, rsrc, mx); DR(rdst); F_OSZC;
525 switch (op[2] & 0x00)
534 switch (op[2] & 0x00)
543 switch (op[2] & 0x00)
552 switch (op[2] & 0x00)
557 /** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */
558 #line 575 "rx-decode.opc"
559 int mx AU = (op[1] >> 6) & 0x03;
560 #line 575 "rx-decode.opc"
561 int ss AU = op[1] & 0x03;
562 #line 575 "rx-decode.opc"
563 int rsrc AU = (op[2] >> 4) & 0x0f;
564 #line 575 "rx-decode.opc"
565 int rdst AU = op[2] & 0x0f;
568 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
569 "/** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */",
570 op[0], op[1], op[2]);
571 printf (" mx = 0x%x,", mx);
572 printf (" ss = 0x%x,", ss);
573 printf (" rsrc = 0x%x,", rsrc);
574 printf (" rdst = 0x%x\n", rdst);
576 SYNTAX("mul %1%S1, %0");
577 #line 575 "rx-decode.opc"
578 ID(mul); SPm(ss, rsrc, mx); DR(rdst); F_____;
586 switch (op[2] & 0x00)
595 switch (op[2] & 0x00)
604 switch (op[2] & 0x00)
613 switch (op[2] & 0x00)
618 /** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */
619 #line 383 "rx-decode.opc"
620 int mx AU = (op[1] >> 6) & 0x03;
621 #line 383 "rx-decode.opc"
622 int ss AU = op[1] & 0x03;
623 #line 383 "rx-decode.opc"
624 int rsrc AU = (op[2] >> 4) & 0x0f;
625 #line 383 "rx-decode.opc"
626 int rdst AU = op[2] & 0x0f;
629 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
630 "/** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */",
631 op[0], op[1], op[2]);
632 printf (" mx = 0x%x,", mx);
633 printf (" ss = 0x%x,", ss);
634 printf (" rsrc = 0x%x,", rsrc);
635 printf (" rdst = 0x%x\n", rdst);
637 SYNTAX("and %1%S1, %0");
638 #line 383 "rx-decode.opc"
639 ID(and); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
647 switch (op[2] & 0x00)
656 switch (op[2] & 0x00)
665 switch (op[2] & 0x00)
674 switch (op[2] & 0x00)
679 /** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */
680 #line 401 "rx-decode.opc"
681 int mx AU = (op[1] >> 6) & 0x03;
682 #line 401 "rx-decode.opc"
683 int ss AU = op[1] & 0x03;
684 #line 401 "rx-decode.opc"
685 int rsrc AU = (op[2] >> 4) & 0x0f;
686 #line 401 "rx-decode.opc"
687 int rdst AU = op[2] & 0x0f;
690 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
691 "/** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */",
692 op[0], op[1], op[2]);
693 printf (" mx = 0x%x,", mx);
694 printf (" ss = 0x%x,", ss);
695 printf (" rsrc = 0x%x,", rsrc);
696 printf (" rdst = 0x%x\n", rdst);
698 SYNTAX("or %1%S1, %0");
699 #line 401 "rx-decode.opc"
700 ID(or); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
708 switch (op[2] & 0x00)
717 switch (op[2] & 0x00)
726 switch (op[2] & 0x00)
735 switch (op[2] & 0xff)
739 switch (op[3] & 0x00)
744 /** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */
745 #line 519 "rx-decode.opc"
746 int mx AU = (op[1] >> 6) & 0x03;
747 #line 519 "rx-decode.opc"
748 int sp AU = op[1] & 0x03;
749 #line 519 "rx-decode.opc"
750 int rsrc AU = (op[3] >> 4) & 0x0f;
751 #line 519 "rx-decode.opc"
752 int rdst AU = op[3] & 0x0f;
755 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
756 "/** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */",
757 op[0], op[1], op[2], op[3]);
758 printf (" mx = 0x%x,", mx);
759 printf (" sp = 0x%x,", sp);
760 printf (" rsrc = 0x%x,", rsrc);
761 printf (" rdst = 0x%x\n", rdst);
763 SYNTAX("sbb %1%S1, %0");
764 #line 519 "rx-decode.opc"
765 ID(sbb); SPm(sp, rsrc, mx); DR(rdst); F_OSZC;
767 /*----------------------------------------------------------------------*/
776 switch (op[3] & 0x00)
781 /** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */
782 #line 548 "rx-decode.opc"
783 int mx AU = (op[1] >> 6) & 0x03;
784 #line 548 "rx-decode.opc"
785 int ss AU = op[1] & 0x03;
786 #line 548 "rx-decode.opc"
787 int rsrc AU = (op[3] >> 4) & 0x0f;
788 #line 548 "rx-decode.opc"
789 int rdst AU = op[3] & 0x0f;
792 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
793 "/** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */",
794 op[0], op[1], op[2], op[3]);
795 printf (" mx = 0x%x,", mx);
796 printf (" ss = 0x%x,", ss);
797 printf (" rsrc = 0x%x,", rsrc);
798 printf (" rdst = 0x%x\n", rdst);
800 SYNTAX("max %1%S1, %0");
801 #line 548 "rx-decode.opc"
802 ID(max); SPm(ss, rsrc, mx); DR(rdst);
804 /*----------------------------------------------------------------------*/
813 switch (op[3] & 0x00)
818 /** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */
819 #line 560 "rx-decode.opc"
820 int mx AU = (op[1] >> 6) & 0x03;
821 #line 560 "rx-decode.opc"
822 int ss AU = op[1] & 0x03;
823 #line 560 "rx-decode.opc"
824 int rsrc AU = (op[3] >> 4) & 0x0f;
825 #line 560 "rx-decode.opc"
826 int rdst AU = op[3] & 0x0f;
829 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
830 "/** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */",
831 op[0], op[1], op[2], op[3]);
832 printf (" mx = 0x%x,", mx);
833 printf (" ss = 0x%x,", ss);
834 printf (" rsrc = 0x%x,", rsrc);
835 printf (" rdst = 0x%x\n", rdst);
837 SYNTAX("min %1%S1, %0");
838 #line 560 "rx-decode.opc"
839 ID(min); SPm(ss, rsrc, mx); DR(rdst);
841 /*----------------------------------------------------------------------*/
850 switch (op[3] & 0x00)
855 /** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */
856 #line 590 "rx-decode.opc"
857 int mx AU = (op[1] >> 6) & 0x03;
858 #line 590 "rx-decode.opc"
859 int ss AU = op[1] & 0x03;
860 #line 590 "rx-decode.opc"
861 int rsrc AU = (op[3] >> 4) & 0x0f;
862 #line 590 "rx-decode.opc"
863 int rdst AU = op[3] & 0x0f;
866 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
867 "/** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */",
868 op[0], op[1], op[2], op[3]);
869 printf (" mx = 0x%x,", mx);
870 printf (" ss = 0x%x,", ss);
871 printf (" rsrc = 0x%x,", rsrc);
872 printf (" rdst = 0x%x\n", rdst);
874 SYNTAX("emul %1%S1, %0");
875 #line 590 "rx-decode.opc"
876 ID(emul); SPm(ss, rsrc, mx); DR(rdst);
878 /*----------------------------------------------------------------------*/
887 switch (op[3] & 0x00)
892 /** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */
893 #line 602 "rx-decode.opc"
894 int mx AU = (op[1] >> 6) & 0x03;
895 #line 602 "rx-decode.opc"
896 int ss AU = op[1] & 0x03;
897 #line 602 "rx-decode.opc"
898 int rsrc AU = (op[3] >> 4) & 0x0f;
899 #line 602 "rx-decode.opc"
900 int rdst AU = op[3] & 0x0f;
903 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
904 "/** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */",
905 op[0], op[1], op[2], op[3]);
906 printf (" mx = 0x%x,", mx);
907 printf (" ss = 0x%x,", ss);
908 printf (" rsrc = 0x%x,", rsrc);
909 printf (" rdst = 0x%x\n", rdst);
911 SYNTAX("emulu %1%S1, %0");
912 #line 602 "rx-decode.opc"
913 ID(emulu); SPm(ss, rsrc, mx); DR(rdst);
915 /*----------------------------------------------------------------------*/
924 switch (op[3] & 0x00)
929 /** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */
930 #line 614 "rx-decode.opc"
931 int mx AU = (op[1] >> 6) & 0x03;
932 #line 614 "rx-decode.opc"
933 int ss AU = op[1] & 0x03;
934 #line 614 "rx-decode.opc"
935 int rsrc AU = (op[3] >> 4) & 0x0f;
936 #line 614 "rx-decode.opc"
937 int rdst AU = op[3] & 0x0f;
940 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
941 "/** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */",
942 op[0], op[1], op[2], op[3]);
943 printf (" mx = 0x%x,", mx);
944 printf (" ss = 0x%x,", ss);
945 printf (" rsrc = 0x%x,", rsrc);
946 printf (" rdst = 0x%x\n", rdst);
948 SYNTAX("div %1%S1, %0");
949 #line 614 "rx-decode.opc"
950 ID(div); SPm(ss, rsrc, mx); DR(rdst); F_O___;
952 /*----------------------------------------------------------------------*/
961 switch (op[3] & 0x00)
966 /** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */
967 #line 626 "rx-decode.opc"
968 int mx AU = (op[1] >> 6) & 0x03;
969 #line 626 "rx-decode.opc"
970 int ss AU = op[1] & 0x03;
971 #line 626 "rx-decode.opc"
972 int rsrc AU = (op[3] >> 4) & 0x0f;
973 #line 626 "rx-decode.opc"
974 int rdst AU = op[3] & 0x0f;
977 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
978 "/** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */",
979 op[0], op[1], op[2], op[3]);
980 printf (" mx = 0x%x,", mx);
981 printf (" ss = 0x%x,", ss);
982 printf (" rsrc = 0x%x,", rsrc);
983 printf (" rdst = 0x%x\n", rdst);
985 SYNTAX("divu %1%S1, %0");
986 #line 626 "rx-decode.opc"
987 ID(divu); SPm(ss, rsrc, mx); DR(rdst); F_O___;
989 /*----------------------------------------------------------------------*/
998 switch (op[3] & 0x00)
1003 /** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */
1004 #line 437 "rx-decode.opc"
1005 int mx AU = (op[1] >> 6) & 0x03;
1006 #line 437 "rx-decode.opc"
1007 int ss AU = op[1] & 0x03;
1008 #line 437 "rx-decode.opc"
1009 int rsrc AU = (op[3] >> 4) & 0x0f;
1010 #line 437 "rx-decode.opc"
1011 int rdst AU = op[3] & 0x0f;
1014 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
1015 "/** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */",
1016 op[0], op[1], op[2], op[3]);
1017 printf (" mx = 0x%x,", mx);
1018 printf (" ss = 0x%x,", ss);
1019 printf (" rsrc = 0x%x,", rsrc);
1020 printf (" rdst = 0x%x\n", rdst);
1022 SYNTAX("tst %1%S1, %2");
1023 #line 437 "rx-decode.opc"
1024 ID(and); SPm(ss, rsrc, mx); S2R(rdst); F__SZ_;
1026 /*----------------------------------------------------------------------*/
1035 switch (op[3] & 0x00)
1040 /** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */
1041 #line 416 "rx-decode.opc"
1042 int mx AU = (op[1] >> 6) & 0x03;
1043 #line 416 "rx-decode.opc"
1044 int ss AU = op[1] & 0x03;
1045 #line 416 "rx-decode.opc"
1046 int rsrc AU = (op[3] >> 4) & 0x0f;
1047 #line 416 "rx-decode.opc"
1048 int rdst AU = op[3] & 0x0f;
1051 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
1052 "/** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */",
1053 op[0], op[1], op[2], op[3]);
1054 printf (" mx = 0x%x,", mx);
1055 printf (" ss = 0x%x,", ss);
1056 printf (" rsrc = 0x%x,", rsrc);
1057 printf (" rdst = 0x%x\n", rdst);
1059 SYNTAX("xor %1%S1, %0");
1060 #line 416 "rx-decode.opc"
1061 ID(xor); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
1063 /*----------------------------------------------------------------------*/
1072 switch (op[3] & 0x00)
1077 /** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */
1078 #line 350 "rx-decode.opc"
1079 int mx AU = (op[1] >> 6) & 0x03;
1080 #line 350 "rx-decode.opc"
1081 int ss AU = op[1] & 0x03;
1082 #line 350 "rx-decode.opc"
1083 int rsrc AU = (op[3] >> 4) & 0x0f;
1084 #line 350 "rx-decode.opc"
1085 int rdst AU = op[3] & 0x0f;
1088 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
1089 "/** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */",
1090 op[0], op[1], op[2], op[3]);
1091 printf (" mx = 0x%x,", mx);
1092 printf (" ss = 0x%x,", ss);
1093 printf (" rsrc = 0x%x,", rsrc);
1094 printf (" rdst = 0x%x\n", rdst);
1096 SYNTAX("xchg %1%S1, %0");
1097 #line 350 "rx-decode.opc"
1098 ID(xchg); DR(rdst); SPm(ss, rsrc, mx);
1100 /*----------------------------------------------------------------------*/
1109 switch (op[3] & 0x00)
1114 /** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */
1115 #line 855 "rx-decode.opc"
1116 int mx AU = (op[1] >> 6) & 0x03;
1117 #line 855 "rx-decode.opc"
1118 int sd AU = op[1] & 0x03;
1119 #line 855 "rx-decode.opc"
1120 int rsrc AU = (op[3] >> 4) & 0x0f;
1121 #line 855 "rx-decode.opc"
1122 int rdst AU = op[3] & 0x0f;
1125 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
1126 "/** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */",
1127 op[0], op[1], op[2], op[3]);
1128 printf (" mx = 0x%x,", mx);
1129 printf (" sd = 0x%x,", sd);
1130 printf (" rsrc = 0x%x,", rsrc);
1131 printf (" rdst = 0x%x\n", rdst);
1133 SYNTAX("itof %1%S1, %0");
1134 #line 855 "rx-decode.opc"
1135 ID(itof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_;
1137 /*----------------------------------------------------------------------*/
1144 default: UNSUPPORTED(); break;
1149 switch (op[2] & 0xff)
1153 switch (op[3] & 0x00)
1156 goto op_semantics_7;
1162 switch (op[3] & 0x00)
1165 goto op_semantics_8;
1171 switch (op[3] & 0x00)
1174 goto op_semantics_9;
1180 switch (op[3] & 0x00)
1183 goto op_semantics_10;
1189 switch (op[3] & 0x00)
1192 goto op_semantics_11;
1198 switch (op[3] & 0x00)
1201 goto op_semantics_12;
1207 switch (op[3] & 0x00)
1210 goto op_semantics_13;
1216 switch (op[3] & 0x00)
1219 goto op_semantics_14;
1225 switch (op[3] & 0x00)
1228 goto op_semantics_15;
1234 switch (op[3] & 0x00)
1237 goto op_semantics_16;
1243 switch (op[3] & 0x00)
1246 goto op_semantics_17;
1250 default: UNSUPPORTED(); break;
1255 switch (op[2] & 0xff)
1259 switch (op[3] & 0x00)
1262 goto op_semantics_7;
1268 switch (op[3] & 0x00)
1271 goto op_semantics_8;
1277 switch (op[3] & 0x00)
1280 goto op_semantics_9;
1286 switch (op[3] & 0x00)
1289 goto op_semantics_10;
1295 switch (op[3] & 0x00)
1298 goto op_semantics_11;
1304 switch (op[3] & 0x00)
1307 goto op_semantics_12;
1313 switch (op[3] & 0x00)
1316 goto op_semantics_13;
1322 switch (op[3] & 0x00)
1325 goto op_semantics_14;
1331 switch (op[3] & 0x00)
1334 goto op_semantics_15;
1340 switch (op[3] & 0x00)
1343 goto op_semantics_16;
1349 switch (op[3] & 0x00)
1352 goto op_semantics_17;
1356 default: UNSUPPORTED(); break;
1361 switch (op[2] & 0xff)
1365 switch (op[3] & 0x00)
1368 goto op_semantics_7;
1374 switch (op[3] & 0x00)
1377 goto op_semantics_8;
1383 switch (op[3] & 0x00)
1386 goto op_semantics_9;
1392 switch (op[3] & 0x00)
1395 goto op_semantics_10;
1401 switch (op[3] & 0x00)
1404 goto op_semantics_11;
1410 switch (op[3] & 0x00)
1413 goto op_semantics_12;
1419 switch (op[3] & 0x00)
1422 goto op_semantics_13;
1428 switch (op[3] & 0x00)
1431 goto op_semantics_14;
1437 switch (op[3] & 0x00)
1440 goto op_semantics_15;
1446 switch (op[3] & 0x00)
1449 goto op_semantics_16;
1455 switch (op[3] & 0x00)
1458 goto op_semantics_17;
1462 default: UNSUPPORTED(); break;
1467 switch (op[2] & 0x00)
1470 goto op_semantics_1;
1476 switch (op[2] & 0x00)
1479 goto op_semantics_1;
1485 switch (op[2] & 0x00)
1488 goto op_semantics_1;
1494 switch (op[2] & 0x00)
1497 goto op_semantics_1;
1503 switch (op[2] & 0x00)
1506 goto op_semantics_2;
1512 switch (op[2] & 0x00)
1515 goto op_semantics_2;
1521 switch (op[2] & 0x00)
1524 goto op_semantics_2;
1530 switch (op[2] & 0x00)
1533 goto op_semantics_2;
1539 switch (op[2] & 0x00)
1542 goto op_semantics_3;
1548 switch (op[2] & 0x00)
1551 goto op_semantics_3;
1557 switch (op[2] & 0x00)
1560 goto op_semantics_3;
1566 switch (op[2] & 0x00)
1569 goto op_semantics_3;
1575 switch (op[2] & 0x00)
1578 goto op_semantics_4;
1584 switch (op[2] & 0x00)
1587 goto op_semantics_4;
1593 switch (op[2] & 0x00)
1596 goto op_semantics_4;
1602 switch (op[2] & 0x00)
1605 goto op_semantics_4;
1611 switch (op[2] & 0x00)
1614 goto op_semantics_5;
1620 switch (op[2] & 0x00)
1623 goto op_semantics_5;
1629 switch (op[2] & 0x00)
1632 goto op_semantics_5;
1638 switch (op[2] & 0x00)
1641 goto op_semantics_5;
1647 switch (op[2] & 0x00)
1650 goto op_semantics_6;
1656 switch (op[2] & 0x00)
1659 goto op_semantics_6;
1665 switch (op[2] & 0x00)
1668 goto op_semantics_6;
1674 switch (op[2] & 0x00)
1677 goto op_semantics_6;
1683 switch (op[2] & 0xff)
1687 switch (op[3] & 0x00)
1690 goto op_semantics_7;
1696 switch (op[3] & 0x00)
1699 goto op_semantics_8;
1705 switch (op[3] & 0x00)
1708 goto op_semantics_9;
1714 switch (op[3] & 0x00)
1717 goto op_semantics_10;
1723 switch (op[3] & 0x00)
1726 goto op_semantics_11;
1732 switch (op[3] & 0x00)
1735 goto op_semantics_12;
1741 switch (op[3] & 0x00)
1744 goto op_semantics_13;
1750 switch (op[3] & 0x00)
1753 goto op_semantics_14;
1759 switch (op[3] & 0x00)
1762 goto op_semantics_15;
1768 switch (op[3] & 0x00)
1771 goto op_semantics_16;
1777 switch (op[3] & 0x00)
1780 goto op_semantics_17;
1784 default: UNSUPPORTED(); break;
1789 switch (op[2] & 0xff)
1793 switch (op[3] & 0x00)
1796 goto op_semantics_7;
1802 switch (op[3] & 0x00)
1805 goto op_semantics_8;
1811 switch (op[3] & 0x00)
1814 goto op_semantics_9;
1820 switch (op[3] & 0x00)
1823 goto op_semantics_10;
1829 switch (op[3] & 0x00)
1832 goto op_semantics_11;
1838 switch (op[3] & 0x00)
1841 goto op_semantics_12;
1847 switch (op[3] & 0x00)
1850 goto op_semantics_13;
1856 switch (op[3] & 0x00)
1859 goto op_semantics_14;
1865 switch (op[3] & 0x00)
1868 goto op_semantics_15;
1874 switch (op[3] & 0x00)
1877 goto op_semantics_16;
1883 switch (op[3] & 0x00)
1886 goto op_semantics_17;
1890 default: UNSUPPORTED(); break;
1895 switch (op[2] & 0xff)
1899 switch (op[3] & 0x00)
1902 goto op_semantics_7;
1908 switch (op[3] & 0x00)
1911 goto op_semantics_8;
1917 switch (op[3] & 0x00)
1920 goto op_semantics_9;
1926 switch (op[3] & 0x00)
1929 goto op_semantics_10;
1935 switch (op[3] & 0x00)
1938 goto op_semantics_11;
1944 switch (op[3] & 0x00)
1947 goto op_semantics_12;
1953 switch (op[3] & 0x00)
1956 goto op_semantics_13;
1962 switch (op[3] & 0x00)
1965 goto op_semantics_14;
1971 switch (op[3] & 0x00)
1974 goto op_semantics_15;
1980 switch (op[3] & 0x00)
1983 goto op_semantics_16;
1989 switch (op[3] & 0x00)
1992 goto op_semantics_17;
1996 default: UNSUPPORTED(); break;
2001 switch (op[2] & 0xff)
2005 switch (op[3] & 0x00)
2008 goto op_semantics_7;
2014 switch (op[3] & 0x00)
2017 goto op_semantics_8;
2023 switch (op[3] & 0x00)
2026 goto op_semantics_9;
2032 switch (op[3] & 0x00)
2035 goto op_semantics_10;
2041 switch (op[3] & 0x00)
2044 goto op_semantics_11;
2050 switch (op[3] & 0x00)
2053 goto op_semantics_12;
2059 switch (op[3] & 0x00)
2062 goto op_semantics_13;
2068 switch (op[3] & 0x00)
2071 goto op_semantics_14;
2077 switch (op[3] & 0x00)
2080 goto op_semantics_15;
2086 switch (op[3] & 0x00)
2089 goto op_semantics_16;
2095 switch (op[3] & 0x00)
2098 goto op_semantics_17;
2102 default: UNSUPPORTED(); break;
2107 switch (op[2] & 0x00)
2110 goto op_semantics_1;
2116 switch (op[2] & 0x00)
2119 goto op_semantics_1;
2125 switch (op[2] & 0x00)
2128 goto op_semantics_1;
2134 switch (op[2] & 0x00)
2137 goto op_semantics_1;
2143 switch (op[2] & 0x00)
2146 goto op_semantics_2;
2152 switch (op[2] & 0x00)
2155 goto op_semantics_2;
2161 switch (op[2] & 0x00)
2164 goto op_semantics_2;
2170 switch (op[2] & 0x00)
2173 goto op_semantics_2;
2179 switch (op[2] & 0x00)
2182 goto op_semantics_3;
2188 switch (op[2] & 0x00)
2191 goto op_semantics_3;
2197 switch (op[2] & 0x00)
2200 goto op_semantics_3;
2206 switch (op[2] & 0x00)
2209 goto op_semantics_3;
2215 switch (op[2] & 0x00)
2218 goto op_semantics_4;
2224 switch (op[2] & 0x00)
2227 goto op_semantics_4;
2233 switch (op[2] & 0x00)
2236 goto op_semantics_4;
2242 switch (op[2] & 0x00)
2245 goto op_semantics_4;
2251 switch (op[2] & 0x00)
2254 goto op_semantics_5;
2260 switch (op[2] & 0x00)
2263 goto op_semantics_5;
2269 switch (op[2] & 0x00)
2272 goto op_semantics_5;
2278 switch (op[2] & 0x00)
2281 goto op_semantics_5;
2287 switch (op[2] & 0x00)
2290 goto op_semantics_6;
2296 switch (op[2] & 0x00)
2299 goto op_semantics_6;
2305 switch (op[2] & 0x00)
2308 goto op_semantics_6;
2314 switch (op[2] & 0x00)
2317 goto op_semantics_6;
2323 switch (op[2] & 0xff)
2327 switch (op[3] & 0x00)
2330 goto op_semantics_7;
2336 switch (op[3] & 0x00)
2341 /** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */
2342 #line 458 "rx-decode.opc"
2343 int ss AU = op[1] & 0x03;
2344 #line 458 "rx-decode.opc"
2345 int rsrc AU = (op[3] >> 4) & 0x0f;
2346 #line 458 "rx-decode.opc"
2347 int rdst AU = op[3] & 0x0f;
2350 printf ("\033[33m%s\033[0m %02x %02x %02x %02x\n",
2351 "/** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */",
2352 op[0], op[1], op[2], op[3]);
2353 printf (" ss = 0x%x,", ss);
2354 printf (" rsrc = 0x%x,", rsrc);
2355 printf (" rdst = 0x%x\n", rdst);
2357 SYNTAX("adc %1%S1, %0");
2358 #line 458 "rx-decode.opc"
2359 ID(adc); SPm(ss, rsrc, 2); DR(rdst); F_OSZC;
2361 /*----------------------------------------------------------------------*/
2370 switch (op[3] & 0x00)
2373 goto op_semantics_8;
2379 switch (op[3] & 0x00)
2382 goto op_semantics_9;
2388 switch (op[3] & 0x00)
2391 goto op_semantics_10;
2397 switch (op[3] & 0x00)
2400 goto op_semantics_11;
2406 switch (op[3] & 0x00)
2409 goto op_semantics_12;
2415 switch (op[3] & 0x00)
2418 goto op_semantics_13;
2424 switch (op[3] & 0x00)
2427 goto op_semantics_14;
2433 switch (op[3] & 0x00)
2436 goto op_semantics_15;
2442 switch (op[3] & 0x00)
2445 goto op_semantics_16;
2451 switch (op[3] & 0x00)
2454 goto op_semantics_17;
2458 default: UNSUPPORTED(); break;
2463 switch (op[2] & 0xff)
2467 switch (op[3] & 0x00)
2470 goto op_semantics_7;
2476 switch (op[3] & 0x00)
2479 goto op_semantics_18;
2485 switch (op[3] & 0x00)
2488 goto op_semantics_8;
2494 switch (op[3] & 0x00)
2497 goto op_semantics_9;
2503 switch (op[3] & 0x00)
2506 goto op_semantics_10;
2512 switch (op[3] & 0x00)
2515 goto op_semantics_11;
2521 switch (op[3] & 0x00)
2524 goto op_semantics_12;
2530 switch (op[3] & 0x00)
2533 goto op_semantics_13;
2539 switch (op[3] & 0x00)
2542 goto op_semantics_14;
2548 switch (op[3] & 0x00)
2551 goto op_semantics_15;
2557 switch (op[3] & 0x00)
2560 goto op_semantics_16;
2566 switch (op[3] & 0x00)
2569 goto op_semantics_17;
2573 default: UNSUPPORTED(); break;
2578 switch (op[2] & 0xff)
2582 switch (op[3] & 0x00)
2585 goto op_semantics_7;
2591 switch (op[3] & 0x00)
2594 goto op_semantics_18;
2600 switch (op[3] & 0x00)
2603 goto op_semantics_8;
2609 switch (op[3] & 0x00)
2612 goto op_semantics_9;
2618 switch (op[3] & 0x00)
2621 goto op_semantics_10;
2627 switch (op[3] & 0x00)
2630 goto op_semantics_11;
2636 switch (op[3] & 0x00)
2639 goto op_semantics_12;
2645 switch (op[3] & 0x00)
2648 goto op_semantics_13;
2654 switch (op[3] & 0x00)
2657 goto op_semantics_14;
2663 switch (op[3] & 0x00)
2666 goto op_semantics_15;
2672 switch (op[3] & 0x00)
2675 goto op_semantics_16;
2681 switch (op[3] & 0x00)
2684 goto op_semantics_17;
2688 default: UNSUPPORTED(); break;
2693 switch (op[2] & 0xff)
2697 switch (op[3] & 0x00)
2700 goto op_semantics_7;
2706 switch (op[3] & 0x00)
2709 goto op_semantics_18;
2715 switch (op[3] & 0x00)
2718 goto op_semantics_8;
2724 switch (op[3] & 0x00)
2727 goto op_semantics_9;
2733 switch (op[3] & 0x00)
2736 goto op_semantics_10;
2742 switch (op[3] & 0x00)
2745 goto op_semantics_11;
2751 switch (op[3] & 0x00)
2754 goto op_semantics_12;
2760 switch (op[3] & 0x00)
2763 goto op_semantics_13;
2769 switch (op[3] & 0x00)
2772 goto op_semantics_14;
2778 switch (op[3] & 0x00)
2781 goto op_semantics_15;
2787 switch (op[3] & 0x00)
2790 goto op_semantics_16;
2796 switch (op[3] & 0x00)
2799 goto op_semantics_17;
2803 default: UNSUPPORTED(); break;
2808 switch (op[2] & 0x00)
2811 goto op_semantics_1;
2817 switch (op[2] & 0x00)
2820 goto op_semantics_1;
2826 switch (op[2] & 0x00)
2829 goto op_semantics_1;
2835 switch (op[2] & 0x00)
2838 goto op_semantics_1;
2844 switch (op[2] & 0x00)
2847 goto op_semantics_2;
2853 switch (op[2] & 0x00)
2856 goto op_semantics_2;
2862 switch (op[2] & 0x00)
2865 goto op_semantics_2;
2871 switch (op[2] & 0x00)
2874 goto op_semantics_2;
2880 switch (op[2] & 0x00)
2883 goto op_semantics_3;
2889 switch (op[2] & 0x00)
2892 goto op_semantics_3;
2898 switch (op[2] & 0x00)
2901 goto op_semantics_3;
2907 switch (op[2] & 0x00)
2910 goto op_semantics_3;
2916 switch (op[2] & 0x00)
2919 goto op_semantics_4;
2925 switch (op[2] & 0x00)
2928 goto op_semantics_4;
2934 switch (op[2] & 0x00)
2937 goto op_semantics_4;
2943 switch (op[2] & 0x00)
2946 goto op_semantics_4;
2952 switch (op[2] & 0x00)
2955 goto op_semantics_5;
2961 switch (op[2] & 0x00)
2964 goto op_semantics_5;
2970 switch (op[2] & 0x00)
2973 goto op_semantics_5;
2979 switch (op[2] & 0x00)
2982 goto op_semantics_5;
2988 switch (op[2] & 0x00)
2991 goto op_semantics_6;
2997 switch (op[2] & 0x00)
3000 goto op_semantics_6;
3006 switch (op[2] & 0x00)
3009 goto op_semantics_6;
3015 switch (op[2] & 0x00)
3018 goto op_semantics_6;
3024 switch (op[2] & 0xff)
3028 switch (op[3] & 0x00)
3031 goto op_semantics_7;
3037 switch (op[3] & 0x00)
3040 goto op_semantics_8;
3046 switch (op[3] & 0x00)
3049 goto op_semantics_9;
3055 switch (op[3] & 0x00)
3058 goto op_semantics_10;
3064 switch (op[3] & 0x00)
3067 goto op_semantics_11;
3073 switch (op[3] & 0x00)
3076 goto op_semantics_12;
3082 switch (op[3] & 0x00)
3085 goto op_semantics_13;
3091 switch (op[3] & 0x00)
3094 goto op_semantics_14;
3100 switch (op[3] & 0x00)
3103 goto op_semantics_15;
3109 switch (op[3] & 0x00)
3112 goto op_semantics_16;
3118 switch (op[3] & 0x00)
3121 goto op_semantics_17;
3125 default: UNSUPPORTED(); break;
3130 switch (op[2] & 0xff)
3134 switch (op[3] & 0x00)
3137 goto op_semantics_7;
3143 switch (op[3] & 0x00)
3146 goto op_semantics_8;
3152 switch (op[3] & 0x00)
3155 goto op_semantics_9;
3161 switch (op[3] & 0x00)
3164 goto op_semantics_10;
3170 switch (op[3] & 0x00)
3173 goto op_semantics_11;
3179 switch (op[3] & 0x00)
3182 goto op_semantics_12;
3188 switch (op[3] & 0x00)
3191 goto op_semantics_13;
3197 switch (op[3] & 0x00)
3200 goto op_semantics_14;
3206 switch (op[3] & 0x00)
3209 goto op_semantics_15;
3215 switch (op[3] & 0x00)
3218 goto op_semantics_16;
3224 switch (op[3] & 0x00)
3227 goto op_semantics_17;
3231 default: UNSUPPORTED(); break;
3236 switch (op[2] & 0xff)
3240 switch (op[3] & 0x00)
3243 goto op_semantics_7;
3249 switch (op[3] & 0x00)
3252 goto op_semantics_8;
3258 switch (op[3] & 0x00)
3261 goto op_semantics_9;
3267 switch (op[3] & 0x00)
3270 goto op_semantics_10;
3276 switch (op[3] & 0x00)
3279 goto op_semantics_11;
3285 switch (op[3] & 0x00)
3288 goto op_semantics_12;
3294 switch (op[3] & 0x00)
3297 goto op_semantics_13;
3303 switch (op[3] & 0x00)
3306 goto op_semantics_14;
3312 switch (op[3] & 0x00)
3315 goto op_semantics_15;
3321 switch (op[3] & 0x00)
3324 goto op_semantics_16;
3330 switch (op[3] & 0x00)
3333 goto op_semantics_17;
3337 default: UNSUPPORTED(); break;
3342 switch (op[2] & 0xff)
3346 switch (op[3] & 0x00)
3349 goto op_semantics_7;
3355 switch (op[3] & 0x00)
3358 goto op_semantics_8;
3364 switch (op[3] & 0x00)
3367 goto op_semantics_9;
3373 switch (op[3] & 0x00)
3376 goto op_semantics_10;
3382 switch (op[3] & 0x00)
3385 goto op_semantics_11;
3391 switch (op[3] & 0x00)
3394 goto op_semantics_12;
3400 switch (op[3] & 0x00)
3403 goto op_semantics_13;
3409 switch (op[3] & 0x00)
3412 goto op_semantics_14;
3418 switch (op[3] & 0x00)
3421 goto op_semantics_15;
3427 switch (op[3] & 0x00)
3430 goto op_semantics_16;
3436 switch (op[3] & 0x00)
3439 goto op_semantics_17;
3443 default: UNSUPPORTED(); break;
3446 default: UNSUPPORTED(); break;
3458 /** 0000 1dsp bra.s %a0 */
3459 #line 701 "rx-decode.opc"
3460 int dsp AU = op[0] & 0x07;
3463 printf ("\033[33m%s\033[0m %02x\n",
3464 "/** 0000 1dsp bra.s %a0 */",
3466 printf (" dsp = 0x%x\n", dsp);
3468 SYNTAX("bra.s %a0");
3469 #line 701 "rx-decode.opc"
3470 ID(branch); DC(pc + dsp3map[dsp]);
3491 /** 0001 n dsp b%1.s %a0 */
3492 #line 691 "rx-decode.opc"
3493 int n AU = (op[0] >> 3) & 0x01;
3494 #line 691 "rx-decode.opc"
3495 int dsp AU = op[0] & 0x07;
3498 printf ("\033[33m%s\033[0m %02x\n",
3499 "/** 0001 n dsp b%1.s %a0 */",
3501 printf (" n = 0x%x,", n);
3502 printf (" dsp = 0x%x\n", dsp);
3504 SYNTAX("b%1.s %a0");
3505 #line 691 "rx-decode.opc"
3506 ID(branch); Scc(n); DC(pc + dsp3map[dsp]);
3526 /** 0010 cond b%1.b %a0 */
3527 #line 694 "rx-decode.opc"
3528 int cond AU = op[0] & 0x0f;
3531 printf ("\033[33m%s\033[0m %02x\n",
3532 "/** 0010 cond b%1.b %a0 */",
3534 printf (" cond = 0x%x\n", cond);
3536 SYNTAX("b%1.b %a0");
3537 #line 694 "rx-decode.opc"
3538 ID(branch); Scc(cond); DC(pc + IMMex (1));
3544 /** 0010 1110 bra.b %a0 */
3547 printf ("\033[33m%s\033[0m %02x\n",
3548 "/** 0010 1110 bra.b %a0 */",
3551 SYNTAX("bra.b %a0");
3552 #line 704 "rx-decode.opc"
3553 ID(branch); DC(pc + IMMex(1));
3559 /** 0011 1000 bra.w %a0 */
3562 printf ("\033[33m%s\033[0m %02x\n",
3563 "/** 0011 1000 bra.w %a0 */",
3566 SYNTAX("bra.w %a0");
3567 #line 707 "rx-decode.opc"
3568 ID(branch); DC(pc + IMMex(2));
3574 /** 0011 1001 bsr.w %a0 */
3577 printf ("\033[33m%s\033[0m %02x\n",
3578 "/** 0011 1001 bsr.w %a0 */",
3581 SYNTAX("bsr.w %a0");
3582 #line 723 "rx-decode.opc"
3583 ID(jsr); DC(pc + IMMex(2));
3590 /** 0011 101c b%1.w %a0 */
3591 #line 697 "rx-decode.opc"
3592 int c AU = op[0] & 0x01;
3595 printf ("\033[33m%s\033[0m %02x\n",
3596 "/** 0011 101c b%1.w %a0 */",
3598 printf (" c = 0x%x\n", c);
3600 SYNTAX("b%1.w %a0");
3601 #line 697 "rx-decode.opc"
3602 ID(branch); Scc(c); DC(pc + IMMex (2));
3609 switch (op[1] & 0x00)
3614 /** 0011 11sz d dst sppp mov%s #%1, %0 */
3615 #line 271 "rx-decode.opc"
3616 int sz AU = op[0] & 0x03;
3617 #line 271 "rx-decode.opc"
3618 int d AU = (op[1] >> 7) & 0x01;
3619 #line 271 "rx-decode.opc"
3620 int dst AU = (op[1] >> 4) & 0x07;
3621 #line 271 "rx-decode.opc"
3622 int sppp AU = op[1] & 0x0f;
3625 printf ("\033[33m%s\033[0m %02x %02x\n",
3626 "/** 0011 11sz d dst sppp mov%s #%1, %0 */",
3628 printf (" sz = 0x%x,", sz);
3629 printf (" d = 0x%x,", d);
3630 printf (" dst = 0x%x,", dst);
3631 printf (" sppp = 0x%x\n", sppp);
3633 SYNTAX("mov%s #%1, %0");
3634 #line 271 "rx-decode.opc"
3635 ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F_____;
3643 switch (op[1] & 0x00)
3646 goto op_semantics_19;
3652 switch (op[1] & 0x00)
3655 goto op_semantics_19;
3661 switch (op[1] & 0x00)
3665 /** 0011 1111 rega regb rtsd #%1, %2-%0 */
3666 #line 368 "rx-decode.opc"
3667 int rega AU = (op[1] >> 4) & 0x0f;
3668 #line 368 "rx-decode.opc"
3669 int regb AU = op[1] & 0x0f;
3672 printf ("\033[33m%s\033[0m %02x %02x\n",
3673 "/** 0011 1111 rega regb rtsd #%1, %2-%0 */",
3675 printf (" rega = 0x%x,", rega);
3676 printf (" regb = 0x%x\n", regb);
3678 SYNTAX("rtsd #%1, %2-%0");
3679 #line 368 "rx-decode.opc"
3680 ID(rtsd); SC(IMM(1) * 4); S2R(rega); DR(regb);
3682 /*----------------------------------------------------------------------*/
3691 switch (op[1] & 0x00)
3696 /** 0100 00ss rsrc rdst sub %2%S2, %1 */
3697 #line 503 "rx-decode.opc"
3698 int ss AU = op[0] & 0x03;
3699 #line 503 "rx-decode.opc"
3700 int rsrc AU = (op[1] >> 4) & 0x0f;
3701 #line 503 "rx-decode.opc"
3702 int rdst AU = op[1] & 0x0f;
3705 printf ("\033[33m%s\033[0m %02x %02x\n",
3706 "/** 0100 00ss rsrc rdst sub %2%S2, %1 */",
3708 printf (" ss = 0x%x,", ss);
3709 printf (" rsrc = 0x%x,", rsrc);
3710 printf (" rdst = 0x%x\n", rdst);
3712 SYNTAX("sub %2%S2, %1");
3713 #line 503 "rx-decode.opc"
3714 ID(sub); S2P(ss, rsrc); SR(rdst); DR(rdst); F_OSZC;
3722 switch (op[1] & 0x00)
3725 goto op_semantics_20;
3731 switch (op[1] & 0x00)
3734 goto op_semantics_20;
3740 switch (op[1] & 0x00)
3743 goto op_semantics_20;
3749 switch (op[1] & 0x00)
3754 /** 0100 01ss rsrc rdst cmp %2%S2, %1 */
3755 #line 491 "rx-decode.opc"
3756 int ss AU = op[0] & 0x03;
3757 #line 491 "rx-decode.opc"
3758 int rsrc AU = (op[1] >> 4) & 0x0f;
3759 #line 491 "rx-decode.opc"
3760 int rdst AU = op[1] & 0x0f;
3763 printf ("\033[33m%s\033[0m %02x %02x\n",
3764 "/** 0100 01ss rsrc rdst cmp %2%S2, %1 */",
3766 printf (" ss = 0x%x,", ss);
3767 printf (" rsrc = 0x%x,", rsrc);
3768 printf (" rdst = 0x%x\n", rdst);
3770 SYNTAX("cmp %2%S2, %1");
3771 #line 491 "rx-decode.opc"
3772 ID(sub); S2P(ss, rsrc); SR(rdst); F_OSZC;
3780 switch (op[1] & 0x00)
3783 goto op_semantics_21;
3789 switch (op[1] & 0x00)
3792 goto op_semantics_21;
3798 switch (op[1] & 0x00)
3801 goto op_semantics_21;
3807 switch (op[1] & 0x00)
3812 /** 0100 10ss rsrc rdst add %1%S1, %0 */
3813 #line 467 "rx-decode.opc"
3814 int ss AU = op[0] & 0x03;
3815 #line 467 "rx-decode.opc"
3816 int rsrc AU = (op[1] >> 4) & 0x0f;
3817 #line 467 "rx-decode.opc"
3818 int rdst AU = op[1] & 0x0f;
3821 printf ("\033[33m%s\033[0m %02x %02x\n",
3822 "/** 0100 10ss rsrc rdst add %1%S1, %0 */",
3824 printf (" ss = 0x%x,", ss);
3825 printf (" rsrc = 0x%x,", rsrc);
3826 printf (" rdst = 0x%x\n", rdst);
3828 SYNTAX("add %1%S1, %0");
3829 #line 467 "rx-decode.opc"
3830 ID(add); SP(ss, rsrc); DR(rdst); F_OSZC;
3838 switch (op[1] & 0x00)
3841 goto op_semantics_22;
3847 switch (op[1] & 0x00)
3850 goto op_semantics_22;
3856 switch (op[1] & 0x00)
3859 goto op_semantics_22;
3865 switch (op[1] & 0x00)
3870 /** 0100 11ss rsrc rdst mul %1%S1, %0 */
3871 #line 572 "rx-decode.opc"
3872 int ss AU = op[0] & 0x03;
3873 #line 572 "rx-decode.opc"
3874 int rsrc AU = (op[1] >> 4) & 0x0f;
3875 #line 572 "rx-decode.opc"
3876 int rdst AU = op[1] & 0x0f;
3879 printf ("\033[33m%s\033[0m %02x %02x\n",
3880 "/** 0100 11ss rsrc rdst mul %1%S1, %0 */",
3882 printf (" ss = 0x%x,", ss);
3883 printf (" rsrc = 0x%x,", rsrc);
3884 printf (" rdst = 0x%x\n", rdst);
3886 SYNTAX("mul %1%S1, %0");
3887 #line 572 "rx-decode.opc"
3888 ID(mul); SP(ss, rsrc); DR(rdst); F_____;
3896 switch (op[1] & 0x00)
3899 goto op_semantics_23;
3905 switch (op[1] & 0x00)
3908 goto op_semantics_23;
3914 switch (op[1] & 0x00)
3917 goto op_semantics_23;
3923 switch (op[1] & 0x00)
3928 /** 0101 00ss rsrc rdst and %1%S1, %0 */
3929 #line 380 "rx-decode.opc"
3930 int ss AU = op[0] & 0x03;
3931 #line 380 "rx-decode.opc"
3932 int rsrc AU = (op[1] >> 4) & 0x0f;
3933 #line 380 "rx-decode.opc"
3934 int rdst AU = op[1] & 0x0f;
3937 printf ("\033[33m%s\033[0m %02x %02x\n",
3938 "/** 0101 00ss rsrc rdst and %1%S1, %0 */",
3940 printf (" ss = 0x%x,", ss);
3941 printf (" rsrc = 0x%x,", rsrc);
3942 printf (" rdst = 0x%x\n", rdst);
3944 SYNTAX("and %1%S1, %0");
3945 #line 380 "rx-decode.opc"
3946 ID(and); SP(ss, rsrc); DR(rdst); F__SZ_;
3954 switch (op[1] & 0x00)
3957 goto op_semantics_24;
3963 switch (op[1] & 0x00)
3966 goto op_semantics_24;
3972 switch (op[1] & 0x00)
3975 goto op_semantics_24;
3981 switch (op[1] & 0x00)
3986 /** 0101 01ss rsrc rdst or %1%S1, %0 */
3987 #line 398 "rx-decode.opc"
3988 int ss AU = op[0] & 0x03;
3989 #line 398 "rx-decode.opc"
3990 int rsrc AU = (op[1] >> 4) & 0x0f;
3991 #line 398 "rx-decode.opc"
3992 int rdst AU = op[1] & 0x0f;
3995 printf ("\033[33m%s\033[0m %02x %02x\n",
3996 "/** 0101 01ss rsrc rdst or %1%S1, %0 */",
3998 printf (" ss = 0x%x,", ss);
3999 printf (" rsrc = 0x%x,", rsrc);
4000 printf (" rdst = 0x%x\n", rdst);
4002 SYNTAX("or %1%S1, %0");
4003 #line 398 "rx-decode.opc"
4004 ID(or); SP(ss, rsrc); DR(rdst); F__SZ_;
4012 switch (op[1] & 0x00)
4015 goto op_semantics_25;
4021 switch (op[1] & 0x00)
4024 goto op_semantics_25;
4030 switch (op[1] & 0x00)
4033 goto op_semantics_25;
4039 switch (op[1] & 0x00)
4044 /** 0101 1 s ss rsrc rdst movu%s %1, %0 */
4045 #line 319 "rx-decode.opc"
4046 int s AU = (op[0] >> 2) & 0x01;
4047 #line 319 "rx-decode.opc"
4048 int ss AU = op[0] & 0x03;
4049 #line 319 "rx-decode.opc"
4050 int rsrc AU = (op[1] >> 4) & 0x0f;
4051 #line 319 "rx-decode.opc"
4052 int rdst AU = op[1] & 0x0f;
4055 printf ("\033[33m%s\033[0m %02x %02x\n",
4056 "/** 0101 1 s ss rsrc rdst movu%s %1, %0 */",
4058 printf (" s = 0x%x,", s);
4059 printf (" ss = 0x%x,", ss);
4060 printf (" rsrc = 0x%x,", rsrc);
4061 printf (" rdst = 0x%x\n", rdst);
4063 SYNTAX("movu%s %1, %0");
4064 #line 319 "rx-decode.opc"
4065 ID(mov); uBWL(s); SD(ss, rsrc, s); DR(rdst); F_____;
4073 switch (op[1] & 0x00)
4076 goto op_semantics_26;
4082 switch (op[1] & 0x00)
4085 goto op_semantics_26;
4091 switch (op[1] & 0x00)
4094 goto op_semantics_26;
4100 switch (op[1] & 0x00)
4103 goto op_semantics_26;
4109 switch (op[1] & 0x00)
4112 goto op_semantics_26;
4118 switch (op[1] & 0x00)
4121 goto op_semantics_26;
4127 switch (op[1] & 0x00)
4130 goto op_semantics_26;
4136 switch (op[1] & 0x00)
4140 /** 0110 0000 immm rdst sub #%2, %0 */
4141 #line 500 "rx-decode.opc"
4142 int immm AU = (op[1] >> 4) & 0x0f;
4143 #line 500 "rx-decode.opc"
4144 int rdst AU = op[1] & 0x0f;
4147 printf ("\033[33m%s\033[0m %02x %02x\n",
4148 "/** 0110 0000 immm rdst sub #%2, %0 */",
4150 printf (" immm = 0x%x,", immm);
4151 printf (" rdst = 0x%x\n", rdst);
4153 SYNTAX("sub #%2, %0");
4154 #line 500 "rx-decode.opc"
4155 ID(sub); S2C(immm); SR(rdst); DR(rdst); F_OSZC;
4163 switch (op[1] & 0x00)
4167 /** 0110 0001 immm rdst cmp #%2, %1 */
4168 #line 482 "rx-decode.opc"
4169 int immm AU = (op[1] >> 4) & 0x0f;
4170 #line 482 "rx-decode.opc"
4171 int rdst AU = op[1] & 0x0f;
4174 printf ("\033[33m%s\033[0m %02x %02x\n",
4175 "/** 0110 0001 immm rdst cmp #%2, %1 */",
4177 printf (" immm = 0x%x,", immm);
4178 printf (" rdst = 0x%x\n", rdst);
4180 SYNTAX("cmp #%2, %1");
4181 #line 482 "rx-decode.opc"
4182 ID(sub); S2C(immm); SR(rdst); F_OSZC;
4190 switch (op[1] & 0x00)
4194 /** 0110 0010 immm rdst add #%1, %0 */
4195 #line 464 "rx-decode.opc"
4196 int immm AU = (op[1] >> 4) & 0x0f;
4197 #line 464 "rx-decode.opc"
4198 int rdst AU = op[1] & 0x0f;
4201 printf ("\033[33m%s\033[0m %02x %02x\n",
4202 "/** 0110 0010 immm rdst add #%1, %0 */",
4204 printf (" immm = 0x%x,", immm);
4205 printf (" rdst = 0x%x\n", rdst);
4207 SYNTAX("add #%1, %0");
4208 #line 464 "rx-decode.opc"
4209 ID(add); SC(immm); DR(rdst); F_OSZC;
4217 switch (op[1] & 0x00)
4221 /** 0110 0011 immm rdst mul #%1, %0 */
4222 #line 566 "rx-decode.opc"
4223 int immm AU = (op[1] >> 4) & 0x0f;
4224 #line 566 "rx-decode.opc"
4225 int rdst AU = op[1] & 0x0f;
4228 printf ("\033[33m%s\033[0m %02x %02x\n",
4229 "/** 0110 0011 immm rdst mul #%1, %0 */",
4231 printf (" immm = 0x%x,", immm);
4232 printf (" rdst = 0x%x\n", rdst);
4234 SYNTAX("mul #%1, %0");
4235 #line 566 "rx-decode.opc"
4236 ID(mul); DR(rdst); SC(immm); F_____;
4244 switch (op[1] & 0x00)
4248 /** 0110 0100 immm rdst and #%1, %0 */
4249 #line 374 "rx-decode.opc"
4250 int immm AU = (op[1] >> 4) & 0x0f;
4251 #line 374 "rx-decode.opc"
4252 int rdst AU = op[1] & 0x0f;
4255 printf ("\033[33m%s\033[0m %02x %02x\n",
4256 "/** 0110 0100 immm rdst and #%1, %0 */",
4258 printf (" immm = 0x%x,", immm);
4259 printf (" rdst = 0x%x\n", rdst);
4261 SYNTAX("and #%1, %0");
4262 #line 374 "rx-decode.opc"
4263 ID(and); SC(immm); DR(rdst); F__SZ_;
4271 switch (op[1] & 0x00)
4275 /** 0110 0101 immm rdst or #%1, %0 */
4276 #line 392 "rx-decode.opc"
4277 int immm AU = (op[1] >> 4) & 0x0f;
4278 #line 392 "rx-decode.opc"
4279 int rdst AU = op[1] & 0x0f;
4282 printf ("\033[33m%s\033[0m %02x %02x\n",
4283 "/** 0110 0101 immm rdst or #%1, %0 */",
4285 printf (" immm = 0x%x,", immm);
4286 printf (" rdst = 0x%x\n", rdst);
4288 SYNTAX("or #%1, %0");
4289 #line 392 "rx-decode.opc"
4290 ID(or); SC(immm); DR(rdst); F__SZ_;
4298 switch (op[1] & 0x00)
4302 /** 0110 0110 immm rdst mov%s #%1, %0 */
4303 #line 268 "rx-decode.opc"
4304 int immm AU = (op[1] >> 4) & 0x0f;
4305 #line 268 "rx-decode.opc"
4306 int rdst AU = op[1] & 0x0f;
4309 printf ("\033[33m%s\033[0m %02x %02x\n",
4310 "/** 0110 0110 immm rdst mov%s #%1, %0 */",
4312 printf (" immm = 0x%x,", immm);
4313 printf (" rdst = 0x%x\n", rdst);
4315 SYNTAX("mov%s #%1, %0");
4316 #line 268 "rx-decode.opc"
4317 ID(mov); DR(rdst); SC(immm); F_____;
4325 /** 0110 0111 rtsd #%1 */
4328 printf ("\033[33m%s\033[0m %02x\n",
4329 "/** 0110 0111 rtsd #%1 */",
4333 #line 365 "rx-decode.opc"
4334 ID(rtsd); SC(IMM(1) * 4);
4340 switch (op[1] & 0x00)
4345 /** 0110 100i mmmm rdst shlr #%2, %0 */
4346 #line 652 "rx-decode.opc"
4347 int i AU = op[0] & 0x01;
4348 #line 652 "rx-decode.opc"
4349 int mmmm AU = (op[1] >> 4) & 0x0f;
4350 #line 652 "rx-decode.opc"
4351 int rdst AU = op[1] & 0x0f;
4354 printf ("\033[33m%s\033[0m %02x %02x\n",
4355 "/** 0110 100i mmmm rdst shlr #%2, %0 */",
4357 printf (" i = 0x%x,", i);
4358 printf (" mmmm = 0x%x,", mmmm);
4359 printf (" rdst = 0x%x\n", rdst);
4361 SYNTAX("shlr #%2, %0");
4362 #line 652 "rx-decode.opc"
4363 ID(shlr); S2C(i*16+mmmm); SR(rdst); DR(rdst); F__SZC;
4371 switch (op[1] & 0x00)
4374 goto op_semantics_27;
4380 switch (op[1] & 0x00)
4385 /** 0110 101i mmmm rdst shar #%2, %0 */
4386 #line 642 "rx-decode.opc"
4387 int i AU = op[0] & 0x01;
4388 #line 642 "rx-decode.opc"
4389 int mmmm AU = (op[1] >> 4) & 0x0f;
4390 #line 642 "rx-decode.opc"
4391 int rdst AU = op[1] & 0x0f;
4394 printf ("\033[33m%s\033[0m %02x %02x\n",
4395 "/** 0110 101i mmmm rdst shar #%2, %0 */",
4397 printf (" i = 0x%x,", i);
4398 printf (" mmmm = 0x%x,", mmmm);
4399 printf (" rdst = 0x%x\n", rdst);
4401 SYNTAX("shar #%2, %0");
4402 #line 642 "rx-decode.opc"
4403 ID(shar); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_0SZC;
4411 switch (op[1] & 0x00)
4414 goto op_semantics_28;
4420 switch (op[1] & 0x00)
4425 /** 0110 110i mmmm rdst shll #%2, %0 */
4426 #line 632 "rx-decode.opc"
4427 int i AU = op[0] & 0x01;
4428 #line 632 "rx-decode.opc"
4429 int mmmm AU = (op[1] >> 4) & 0x0f;
4430 #line 632 "rx-decode.opc"
4431 int rdst AU = op[1] & 0x0f;
4434 printf ("\033[33m%s\033[0m %02x %02x\n",
4435 "/** 0110 110i mmmm rdst shll #%2, %0 */",
4437 printf (" i = 0x%x,", i);
4438 printf (" mmmm = 0x%x,", mmmm);
4439 printf (" rdst = 0x%x\n", rdst);
4441 SYNTAX("shll #%2, %0");
4442 #line 632 "rx-decode.opc"
4443 ID(shll); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_OSZC;
4451 switch (op[1] & 0x00)
4454 goto op_semantics_29;
4460 switch (op[1] & 0x00)
4464 /** 0110 1110 dsta dstb pushm %1-%2 */
4465 #line 332 "rx-decode.opc"
4466 int dsta AU = (op[1] >> 4) & 0x0f;
4467 #line 332 "rx-decode.opc"
4468 int dstb AU = op[1] & 0x0f;
4471 printf ("\033[33m%s\033[0m %02x %02x\n",
4472 "/** 0110 1110 dsta dstb pushm %1-%2 */",
4474 printf (" dsta = 0x%x,", dsta);
4475 printf (" dstb = 0x%x\n", dstb);
4477 SYNTAX("pushm %1-%2");
4478 #line 332 "rx-decode.opc"
4479 ID(pushm); SR(dsta); S2R(dstb); F_____;
4487 switch (op[1] & 0x00)
4491 /** 0110 1111 dsta dstb popm %1-%2 */
4492 #line 329 "rx-decode.opc"
4493 int dsta AU = (op[1] >> 4) & 0x0f;
4494 #line 329 "rx-decode.opc"
4495 int dstb AU = op[1] & 0x0f;
4498 printf ("\033[33m%s\033[0m %02x %02x\n",
4499 "/** 0110 1111 dsta dstb popm %1-%2 */",
4501 printf (" dsta = 0x%x,", dsta);
4502 printf (" dstb = 0x%x\n", dstb);
4504 SYNTAX("popm %1-%2");
4505 #line 329 "rx-decode.opc"
4506 ID(popm); SR(dsta); S2R(dstb); F_____;
4514 switch (op[1] & 0x00)
4519 /** 0111 00im rsrc rdst add #%1, %2, %0 */
4520 #line 473 "rx-decode.opc"
4521 int im AU = op[0] & 0x03;
4522 #line 473 "rx-decode.opc"
4523 int rsrc AU = (op[1] >> 4) & 0x0f;
4524 #line 473 "rx-decode.opc"
4525 int rdst AU = op[1] & 0x0f;
4528 printf ("\033[33m%s\033[0m %02x %02x\n",
4529 "/** 0111 00im rsrc rdst add #%1, %2, %0 */",
4531 printf (" im = 0x%x,", im);
4532 printf (" rsrc = 0x%x,", rsrc);
4533 printf (" rdst = 0x%x\n", rdst);
4535 SYNTAX("add #%1, %2, %0");
4536 #line 473 "rx-decode.opc"
4537 ID(add); SC(IMMex(im)); S2R(rsrc); DR(rdst); F_OSZC;
4545 switch (op[1] & 0x00)
4548 goto op_semantics_30;
4554 switch (op[1] & 0x00)
4557 goto op_semantics_30;
4563 switch (op[1] & 0x00)
4566 goto op_semantics_30;
4572 switch (op[1] & 0xf0)
4577 /** 0111 01im 0000 rsrc cmp #%2, %1%S1 */
4578 #line 485 "rx-decode.opc"
4579 int im AU = op[0] & 0x03;
4580 #line 485 "rx-decode.opc"
4581 int rsrc AU = op[1] & 0x0f;
4584 printf ("\033[33m%s\033[0m %02x %02x\n",
4585 "/** 0111 01im 0000 rsrc cmp #%2, %1%S1 */",
4587 printf (" im = 0x%x,", im);
4588 printf (" rsrc = 0x%x\n", rsrc);
4590 SYNTAX("cmp #%2, %1%S1");
4591 #line 485 "rx-decode.opc"
4592 ID(sub); SR(rsrc); S2C(IMMex(im)); F_OSZC;
4599 /** 0111 01im 0001rdst mul #%1, %0 */
4600 #line 569 "rx-decode.opc"
4601 int im AU = op[0] & 0x03;
4602 #line 569 "rx-decode.opc"
4603 int rdst AU = op[1] & 0x0f;
4606 printf ("\033[33m%s\033[0m %02x %02x\n",
4607 "/** 0111 01im 0001rdst mul #%1, %0 */",
4609 printf (" im = 0x%x,", im);
4610 printf (" rdst = 0x%x\n", rdst);
4612 SYNTAX("mul #%1, %0");
4613 #line 569 "rx-decode.opc"
4614 ID(mul); DR(rdst); SC(IMMex(im)); F_____;
4621 /** 0111 01im 0010 rdst and #%1, %0 */
4622 #line 377 "rx-decode.opc"
4623 int im AU = op[0] & 0x03;
4624 #line 377 "rx-decode.opc"
4625 int rdst AU = op[1] & 0x0f;
4628 printf ("\033[33m%s\033[0m %02x %02x\n",
4629 "/** 0111 01im 0010 rdst and #%1, %0 */",
4631 printf (" im = 0x%x,", im);
4632 printf (" rdst = 0x%x\n", rdst);
4634 SYNTAX("and #%1, %0");
4635 #line 377 "rx-decode.opc"
4636 ID(and); SC(IMMex(im)); DR(rdst); F__SZ_;
4643 /** 0111 01im 0011 rdst or #%1, %0 */
4644 #line 395 "rx-decode.opc"
4645 int im AU = op[0] & 0x03;
4646 #line 395 "rx-decode.opc"
4647 int rdst AU = op[1] & 0x0f;
4650 printf ("\033[33m%s\033[0m %02x %02x\n",
4651 "/** 0111 01im 0011 rdst or #%1, %0 */",
4653 printf (" im = 0x%x,", im);
4654 printf (" rdst = 0x%x\n", rdst);
4656 SYNTAX("or #%1, %0");
4657 #line 395 "rx-decode.opc"
4658 ID(or); SC(IMMex(im)); DR(rdst); F__SZ_;
4662 default: UNSUPPORTED(); break;
4667 switch (op[1] & 0xff)
4685 goto op_semantics_31;
4703 goto op_semantics_32;
4721 goto op_semantics_33;
4739 goto op_semantics_34;
4758 /** 0111 0101 0100 rdst mov%s #%1, %0 */
4759 #line 262 "rx-decode.opc"
4760 int rdst AU = op[1] & 0x0f;
4763 printf ("\033[33m%s\033[0m %02x %02x\n",
4764 "/** 0111 0101 0100 rdst mov%s #%1, %0 */",
4766 printf (" rdst = 0x%x\n", rdst);
4768 SYNTAX("mov%s #%1, %0");
4769 #line 262 "rx-decode.opc"
4770 ID(mov); DR(rdst); SC(IMM (1)); F_____;
4791 /** 0111 0101 0101 rsrc cmp #%2, %1 */
4792 #line 488 "rx-decode.opc"
4793 int rsrc AU = op[1] & 0x0f;
4796 printf ("\033[33m%s\033[0m %02x %02x\n",
4797 "/** 0111 0101 0101 rsrc cmp #%2, %1 */",
4799 printf (" rsrc = 0x%x\n", rsrc);
4801 SYNTAX("cmp #%2, %1");
4802 #line 488 "rx-decode.opc"
4803 ID(sub); SR(rsrc); S2C(IMM(1)); F_OSZC;
4809 /** 0111 0101 0110 0000 int #%1 */
4812 printf ("\033[33m%s\033[0m %02x %02x\n",
4813 "/** 0111 0101 0110 0000 int #%1 */",
4817 #line 949 "rx-decode.opc"
4818 ID(int); SC(IMM(1));
4824 switch (op[2] & 0xf0)
4828 /** 0111 0101 0111 0000 0000 immm mvtipl #%1 */
4829 #line 916 "rx-decode.opc"
4830 int immm AU = op[2] & 0x0f;
4833 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
4834 "/** 0111 0101 0111 0000 0000 immm mvtipl #%1 */",
4835 op[0], op[1], op[2]);
4836 printf (" immm = 0x%x\n", immm);
4838 SYNTAX("mvtipl #%1");
4839 #line 916 "rx-decode.opc"
4840 ID(mvtipl); SC(immm);
4844 default: UNSUPPORTED(); break;
4847 default: UNSUPPORTED(); break;
4852 switch (op[1] & 0xf0)
4855 goto op_semantics_31;
4858 goto op_semantics_32;
4861 goto op_semantics_33;
4864 goto op_semantics_34;
4866 default: UNSUPPORTED(); break;
4871 switch (op[1] & 0xf0)
4874 goto op_semantics_31;
4877 goto op_semantics_32;
4880 goto op_semantics_33;
4883 goto op_semantics_34;
4885 default: UNSUPPORTED(); break;
4890 switch (op[1] & 0x00)
4895 /** 0111 100b ittt rdst bset #%1, %0 */
4896 #line 867 "rx-decode.opc"
4897 int b AU = op[0] & 0x01;
4898 #line 867 "rx-decode.opc"
4899 int ittt AU = (op[1] >> 4) & 0x0f;
4900 #line 867 "rx-decode.opc"
4901 int rdst AU = op[1] & 0x0f;
4904 printf ("\033[33m%s\033[0m %02x %02x\n",
4905 "/** 0111 100b ittt rdst bset #%1, %0 */",
4907 printf (" b = 0x%x,", b);
4908 printf (" ittt = 0x%x,", ittt);
4909 printf (" rdst = 0x%x\n", rdst);
4911 SYNTAX("bset #%1, %0");
4912 #line 867 "rx-decode.opc"
4913 ID(bset); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
4922 switch (op[1] & 0x00)
4925 goto op_semantics_35;
4931 switch (op[1] & 0x00)
4936 /** 0111 101b ittt rdst bclr #%1, %0 */
4937 #line 877 "rx-decode.opc"
4938 int b AU = op[0] & 0x01;
4939 #line 877 "rx-decode.opc"
4940 int ittt AU = (op[1] >> 4) & 0x0f;
4941 #line 877 "rx-decode.opc"
4942 int rdst AU = op[1] & 0x0f;
4945 printf ("\033[33m%s\033[0m %02x %02x\n",
4946 "/** 0111 101b ittt rdst bclr #%1, %0 */",
4948 printf (" b = 0x%x,", b);
4949 printf (" ittt = 0x%x,", ittt);
4950 printf (" rdst = 0x%x\n", rdst);
4952 SYNTAX("bclr #%1, %0");
4953 #line 877 "rx-decode.opc"
4954 ID(bclr); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
4963 switch (op[1] & 0x00)
4966 goto op_semantics_36;
4972 switch (op[1] & 0x00)
4977 /** 0111 110b ittt rdst btst #%2, %1 */
4978 #line 887 "rx-decode.opc"
4979 int b AU = op[0] & 0x01;
4980 #line 887 "rx-decode.opc"
4981 int ittt AU = (op[1] >> 4) & 0x0f;
4982 #line 887 "rx-decode.opc"
4983 int rdst AU = op[1] & 0x0f;
4986 printf ("\033[33m%s\033[0m %02x %02x\n",
4987 "/** 0111 110b ittt rdst btst #%2, %1 */",
4989 printf (" b = 0x%x,", b);
4990 printf (" ittt = 0x%x,", ittt);
4991 printf (" rdst = 0x%x\n", rdst);
4993 SYNTAX("btst #%2, %1");
4994 #line 887 "rx-decode.opc"
4995 ID(btst); BWL(LSIZE); S2C(b*16+ittt); SR(rdst); F___ZC;
5004 switch (op[1] & 0x00)
5007 goto op_semantics_37;
5013 switch (op[1] & 0xf0)
5017 /** 0111 1110 0000 rdst not %0 */
5018 #line 422 "rx-decode.opc"
5019 int rdst AU = op[1] & 0x0f;
5022 printf ("\033[33m%s\033[0m %02x %02x\n",
5023 "/** 0111 1110 0000 rdst not %0 */",
5025 printf (" rdst = 0x%x\n", rdst);
5028 #line 422 "rx-decode.opc"
5029 ID(xor); DR(rdst); SR(rdst); S2C(~0); F__SZ_;
5035 /** 0111 1110 0001 rdst neg %0 */
5036 #line 443 "rx-decode.opc"
5037 int rdst AU = op[1] & 0x0f;
5040 printf ("\033[33m%s\033[0m %02x %02x\n",
5041 "/** 0111 1110 0001 rdst neg %0 */",
5043 printf (" rdst = 0x%x\n", rdst);
5046 #line 443 "rx-decode.opc"
5047 ID(sub); DR(rdst); SC(0); S2R(rdst); F_OSZC;
5053 /** 0111 1110 0010 rdst abs %0 */
5054 #line 525 "rx-decode.opc"
5055 int rdst AU = op[1] & 0x0f;
5058 printf ("\033[33m%s\033[0m %02x %02x\n",
5059 "/** 0111 1110 0010 rdst abs %0 */",
5061 printf (" rdst = 0x%x\n", rdst);
5064 #line 525 "rx-decode.opc"
5065 ID(abs); DR(rdst); SR(rdst); F_OSZ_;
5071 /** 0111 1110 0011 rdst sat %0 */
5072 #line 807 "rx-decode.opc"
5073 int rdst AU = op[1] & 0x0f;
5076 printf ("\033[33m%s\033[0m %02x %02x\n",
5077 "/** 0111 1110 0011 rdst sat %0 */",
5079 printf (" rdst = 0x%x\n", rdst);
5082 #line 807 "rx-decode.opc"
5089 /** 0111 1110 0100 rdst rorc %0 */
5090 #line 667 "rx-decode.opc"
5091 int rdst AU = op[1] & 0x0f;
5094 printf ("\033[33m%s\033[0m %02x %02x\n",
5095 "/** 0111 1110 0100 rdst rorc %0 */",
5097 printf (" rdst = 0x%x\n", rdst);
5100 #line 667 "rx-decode.opc"
5101 ID(rorc); DR(rdst); F__SZC;
5107 /** 0111 1110 0101 rdst rolc %0 */
5108 #line 664 "rx-decode.opc"
5109 int rdst AU = op[1] & 0x0f;
5112 printf ("\033[33m%s\033[0m %02x %02x\n",
5113 "/** 0111 1110 0101 rdst rolc %0 */",
5115 printf (" rdst = 0x%x\n", rdst);
5118 #line 664 "rx-decode.opc"
5119 ID(rolc); DR(rdst); F__SZC;
5127 /** 0111 1110 10sz rsrc push%s %1 */
5128 #line 338 "rx-decode.opc"
5129 int sz AU = (op[1] >> 4) & 0x03;
5130 #line 338 "rx-decode.opc"
5131 int rsrc AU = op[1] & 0x0f;
5134 printf ("\033[33m%s\033[0m %02x %02x\n",
5135 "/** 0111 1110 10sz rsrc push%s %1 */",
5137 printf (" sz = 0x%x,", sz);
5138 printf (" rsrc = 0x%x\n", rsrc);
5140 SYNTAX("push%s %1");
5141 #line 338 "rx-decode.opc"
5142 ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SR(rsrc); F_____;
5148 /** 0111 1110 1011 rdst pop %0 */
5149 #line 335 "rx-decode.opc"
5150 int rdst AU = op[1] & 0x0f;
5153 printf ("\033[33m%s\033[0m %02x %02x\n",
5154 "/** 0111 1110 1011 rdst pop %0 */",
5156 printf (" rdst = 0x%x\n", rdst);
5159 #line 335 "rx-decode.opc"
5160 ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(rdst); F_____;
5167 /** 0111 1110 110 crsrc pushc %1 */
5168 #line 922 "rx-decode.opc"
5169 int crsrc AU = op[1] & 0x1f;
5172 printf ("\033[33m%s\033[0m %02x %02x\n",
5173 "/** 0111 1110 110 crsrc pushc %1 */",
5175 printf (" crsrc = 0x%x\n", crsrc);
5178 #line 922 "rx-decode.opc"
5179 ID(mov); OP(0, RX_Operand_Predec, 0, 0); SR(crsrc + 16);
5186 /** 0111 1110 111 crdst popc %0 */
5187 #line 919 "rx-decode.opc"
5188 int crdst AU = op[1] & 0x1f;
5191 printf ("\033[33m%s\033[0m %02x %02x\n",
5192 "/** 0111 1110 111 crdst popc %0 */",
5194 printf (" crdst = 0x%x\n", crdst);
5197 #line 919 "rx-decode.opc"
5198 ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16);
5202 default: UNSUPPORTED(); break;
5207 switch (op[1] & 0xff)
5226 /** 0111 1111 0000 rsrc jmp %0 */
5227 #line 717 "rx-decode.opc"
5228 int rsrc AU = op[1] & 0x0f;
5231 printf ("\033[33m%s\033[0m %02x %02x\n",
5232 "/** 0111 1111 0000 rsrc jmp %0 */",
5234 printf (" rsrc = 0x%x\n", rsrc);
5237 #line 717 "rx-decode.opc"
5238 ID(branch); DR(rsrc);
5259 /** 0111 1111 0001 rsrc jsr %0 */
5260 #line 720 "rx-decode.opc"
5261 int rsrc AU = op[1] & 0x0f;
5264 printf ("\033[33m%s\033[0m %02x %02x\n",
5265 "/** 0111 1111 0001 rsrc jsr %0 */",
5267 printf (" rsrc = 0x%x\n", rsrc);
5270 #line 720 "rx-decode.opc"
5292 /** 0111 1111 0100 rsrc bra.l %0 */
5293 #line 713 "rx-decode.opc"
5294 int rsrc AU = op[1] & 0x0f;
5297 printf ("\033[33m%s\033[0m %02x %02x\n",
5298 "/** 0111 1111 0100 rsrc bra.l %0 */",
5300 printf (" rsrc = 0x%x\n", rsrc);
5303 #line 713 "rx-decode.opc"
5304 ID(branchrel); DR(rsrc);
5326 /** 0111 1111 0101 rsrc bsr.l %0 */
5327 #line 729 "rx-decode.opc"
5328 int rsrc AU = op[1] & 0x0f;
5331 printf ("\033[33m%s\033[0m %02x %02x\n",
5332 "/** 0111 1111 0101 rsrc bsr.l %0 */",
5334 printf (" rsrc = 0x%x\n", rsrc);
5337 #line 729 "rx-decode.opc"
5338 ID(jsrrel); DR(rsrc);
5346 /** 0111 1111 1000 00sz suntil%s */
5347 #line 753 "rx-decode.opc"
5348 int sz AU = op[1] & 0x03;
5351 printf ("\033[33m%s\033[0m %02x %02x\n",
5352 "/** 0111 1111 1000 00sz suntil%s */",
5354 printf (" sz = 0x%x\n", sz);
5357 #line 753 "rx-decode.opc"
5358 ID(suntil); BWL(sz); F___ZC;
5364 /** 0111 1111 1000 0011 scmpu */
5367 printf ("\033[33m%s\033[0m %02x %02x\n",
5368 "/** 0111 1111 1000 0011 scmpu */",
5372 #line 744 "rx-decode.opc"
5381 /** 0111 1111 1000 01sz swhile%s */
5382 #line 756 "rx-decode.opc"
5383 int sz AU = op[1] & 0x03;
5386 printf ("\033[33m%s\033[0m %02x %02x\n",
5387 "/** 0111 1111 1000 01sz swhile%s */",
5389 printf (" sz = 0x%x\n", sz);
5392 #line 756 "rx-decode.opc"
5393 ID(swhile); BWL(sz); F___ZC;
5399 /** 0111 1111 1000 0111 smovu */
5402 printf ("\033[33m%s\033[0m %02x %02x\n",
5403 "/** 0111 1111 1000 0111 smovu */",
5407 #line 747 "rx-decode.opc"
5416 /** 0111 1111 1000 10sz sstr%s */
5417 #line 762 "rx-decode.opc"
5418 int sz AU = op[1] & 0x03;
5421 printf ("\033[33m%s\033[0m %02x %02x\n",
5422 "/** 0111 1111 1000 10sz sstr%s */",
5424 printf (" sz = 0x%x\n", sz);
5427 #line 762 "rx-decode.opc"
5430 /*----------------------------------------------------------------------*/
5437 /** 0111 1111 1000 1011 smovb */
5440 printf ("\033[33m%s\033[0m %02x %02x\n",
5441 "/** 0111 1111 1000 1011 smovb */",
5445 #line 750 "rx-decode.opc"
5454 /** 0111 1111 1000 11sz rmpa%s */
5455 #line 768 "rx-decode.opc"
5456 int sz AU = op[1] & 0x03;
5459 printf ("\033[33m%s\033[0m %02x %02x\n",
5460 "/** 0111 1111 1000 11sz rmpa%s */",
5462 printf (" sz = 0x%x\n", sz);
5465 #line 768 "rx-decode.opc"
5466 ID(rmpa); BWL(sz); F_OS__;
5468 /*----------------------------------------------------------------------*/
5475 /** 0111 1111 1000 1111 smovf */
5478 printf ("\033[33m%s\033[0m %02x %02x\n",
5479 "/** 0111 1111 1000 1111 smovf */",
5483 #line 759 "rx-decode.opc"
5490 /** 0111 1111 1001 0011 satr */
5493 printf ("\033[33m%s\033[0m %02x %02x\n",
5494 "/** 0111 1111 1001 0011 satr */",
5498 #line 810 "rx-decode.opc"
5501 /*----------------------------------------------------------------------*/
5508 /** 0111 1111 1001 0100 rtfi */
5511 printf ("\033[33m%s\033[0m %02x %02x\n",
5512 "/** 0111 1111 1001 0100 rtfi */",
5516 #line 937 "rx-decode.opc"
5523 /** 0111 1111 1001 0101 rte */
5526 printf ("\033[33m%s\033[0m %02x %02x\n",
5527 "/** 0111 1111 1001 0101 rte */",
5531 #line 940 "rx-decode.opc"
5538 /** 0111 1111 1001 0110 wait */
5541 printf ("\033[33m%s\033[0m %02x %02x\n",
5542 "/** 0111 1111 1001 0110 wait */",
5546 #line 952 "rx-decode.opc"
5549 /*----------------------------------------------------------------------*/
5571 /** 0111 1111 1010 rdst setpsw %0 */
5572 #line 913 "rx-decode.opc"
5573 int rdst AU = op[1] & 0x0f;
5576 printf ("\033[33m%s\033[0m %02x %02x\n",
5577 "/** 0111 1111 1010 rdst setpsw %0 */",
5579 printf (" rdst = 0x%x\n", rdst);
5581 SYNTAX("setpsw %0");
5582 #line 913 "rx-decode.opc"
5583 ID(setpsw); DF(rdst);
5604 /** 0111 1111 1011 rdst clrpsw %0 */
5605 #line 910 "rx-decode.opc"
5606 int rdst AU = op[1] & 0x0f;
5609 printf ("\033[33m%s\033[0m %02x %02x\n",
5610 "/** 0111 1111 1011 rdst clrpsw %0 */",
5612 printf (" rdst = 0x%x\n", rdst);
5614 SYNTAX("clrpsw %0");
5615 #line 910 "rx-decode.opc"
5616 ID(clrpsw); DF(rdst);
5620 default: UNSUPPORTED(); break;
5625 switch (op[1] & 0x00)
5630 /** 10sz 0dsp a dst b src mov%s %1, %0 */
5631 #line 296 "rx-decode.opc"
5632 int sz AU = (op[0] >> 4) & 0x03;
5633 #line 296 "rx-decode.opc"
5634 int dsp AU = op[0] & 0x07;
5635 #line 296 "rx-decode.opc"
5636 int a AU = (op[1] >> 7) & 0x01;
5637 #line 296 "rx-decode.opc"
5638 int dst AU = (op[1] >> 4) & 0x07;
5639 #line 296 "rx-decode.opc"
5640 int b AU = (op[1] >> 3) & 0x01;
5641 #line 296 "rx-decode.opc"
5642 int src AU = op[1] & 0x07;
5645 printf ("\033[33m%s\033[0m %02x %02x\n",
5646 "/** 10sz 0dsp a dst b src mov%s %1, %0 */",
5648 printf (" sz = 0x%x,", sz);
5649 printf (" dsp = 0x%x,", dsp);
5650 printf (" a = 0x%x,", a);
5651 printf (" dst = 0x%x,", dst);
5652 printf (" b = 0x%x,", b);
5653 printf (" src = 0x%x\n", src);
5655 SYNTAX("mov%s %1, %0");
5656 #line 296 "rx-decode.opc"
5657 ID(mov); sBWL(sz); DIs(dst, dsp*4+a*2+b, sz); SR(src); F_____;
5665 switch (op[1] & 0x00)
5668 goto op_semantics_38;
5674 switch (op[1] & 0x00)
5677 goto op_semantics_38;
5683 switch (op[1] & 0x00)
5686 goto op_semantics_38;
5692 switch (op[1] & 0x00)
5695 goto op_semantics_38;
5701 switch (op[1] & 0x00)
5704 goto op_semantics_38;
5710 switch (op[1] & 0x00)
5713 goto op_semantics_38;
5719 switch (op[1] & 0x00)
5722 goto op_semantics_38;
5728 switch (op[1] & 0x00)
5733 /** 10sz 1dsp a src b dst mov%s %1, %0 */
5734 #line 293 "rx-decode.opc"
5735 int sz AU = (op[0] >> 4) & 0x03;
5736 #line 293 "rx-decode.opc"
5737 int dsp AU = op[0] & 0x07;
5738 #line 293 "rx-decode.opc"
5739 int a AU = (op[1] >> 7) & 0x01;
5740 #line 293 "rx-decode.opc"
5741 int src AU = (op[1] >> 4) & 0x07;
5742 #line 293 "rx-decode.opc"
5743 int b AU = (op[1] >> 3) & 0x01;
5744 #line 293 "rx-decode.opc"
5745 int dst AU = op[1] & 0x07;
5748 printf ("\033[33m%s\033[0m %02x %02x\n",
5749 "/** 10sz 1dsp a src b dst mov%s %1, %0 */",
5751 printf (" sz = 0x%x,", sz);
5752 printf (" dsp = 0x%x,", dsp);
5753 printf (" a = 0x%x,", a);
5754 printf (" src = 0x%x,", src);
5755 printf (" b = 0x%x,", b);
5756 printf (" dst = 0x%x\n", dst);
5758 SYNTAX("mov%s %1, %0");
5759 #line 293 "rx-decode.opc"
5760 ID(mov); sBWL(sz); DR(dst); SIs(src, dsp*4+a*2+b, sz); F_____;
5768 switch (op[1] & 0x00)
5771 goto op_semantics_39;
5777 switch (op[1] & 0x00)
5780 goto op_semantics_39;
5786 switch (op[1] & 0x00)
5789 goto op_semantics_39;
5795 switch (op[1] & 0x00)
5798 goto op_semantics_39;
5804 switch (op[1] & 0x00)
5807 goto op_semantics_39;
5813 switch (op[1] & 0x00)
5816 goto op_semantics_39;
5822 switch (op[1] & 0x00)
5825 goto op_semantics_39;
5831 switch (op[1] & 0x00)
5834 goto op_semantics_38;
5840 switch (op[1] & 0x00)
5843 goto op_semantics_38;
5849 switch (op[1] & 0x00)
5852 goto op_semantics_38;
5858 switch (op[1] & 0x00)
5861 goto op_semantics_38;
5867 switch (op[1] & 0x00)
5870 goto op_semantics_38;
5876 switch (op[1] & 0x00)
5879 goto op_semantics_38;
5885 switch (op[1] & 0x00)
5888 goto op_semantics_38;
5894 switch (op[1] & 0x00)
5897 goto op_semantics_38;
5903 switch (op[1] & 0x00)
5906 goto op_semantics_39;
5912 switch (op[1] & 0x00)
5915 goto op_semantics_39;
5921 switch (op[1] & 0x00)
5924 goto op_semantics_39;
5930 switch (op[1] & 0x00)
5933 goto op_semantics_39;
5939 switch (op[1] & 0x00)
5942 goto op_semantics_39;
5948 switch (op[1] & 0x00)
5951 goto op_semantics_39;
5957 switch (op[1] & 0x00)
5960 goto op_semantics_39;
5966 switch (op[1] & 0x00)
5969 goto op_semantics_39;
5975 switch (op[1] & 0x00)
5978 goto op_semantics_38;
5984 switch (op[1] & 0x00)
5987 goto op_semantics_38;
5993 switch (op[1] & 0x00)
5996 goto op_semantics_38;
6002 switch (op[1] & 0x00)
6005 goto op_semantics_38;
6011 switch (op[1] & 0x00)
6014 goto op_semantics_38;
6020 switch (op[1] & 0x00)
6023 goto op_semantics_38;
6029 switch (op[1] & 0x00)
6032 goto op_semantics_38;
6038 switch (op[1] & 0x00)
6041 goto op_semantics_38;
6047 switch (op[1] & 0x00)
6050 goto op_semantics_39;
6056 switch (op[1] & 0x00)
6059 goto op_semantics_39;
6065 switch (op[1] & 0x00)
6068 goto op_semantics_39;
6074 switch (op[1] & 0x00)
6077 goto op_semantics_39;
6083 switch (op[1] & 0x00)
6086 goto op_semantics_39;
6092 switch (op[1] & 0x00)
6095 goto op_semantics_39;
6101 switch (op[1] & 0x00)
6104 goto op_semantics_39;
6110 switch (op[1] & 0x00)
6113 goto op_semantics_39;
6119 switch (op[1] & 0x00)
6124 /** 1011 w dsp a src b dst movu%s %1, %0 */
6125 #line 316 "rx-decode.opc"
6126 int w AU = (op[0] >> 3) & 0x01;
6127 #line 316 "rx-decode.opc"
6128 int dsp AU = op[0] & 0x07;
6129 #line 316 "rx-decode.opc"
6130 int a AU = (op[1] >> 7) & 0x01;
6131 #line 316 "rx-decode.opc"
6132 int src AU = (op[1] >> 4) & 0x07;
6133 #line 316 "rx-decode.opc"
6134 int b AU = (op[1] >> 3) & 0x01;
6135 #line 316 "rx-decode.opc"
6136 int dst AU = op[1] & 0x07;
6139 printf ("\033[33m%s\033[0m %02x %02x\n",
6140 "/** 1011 w dsp a src b dst movu%s %1, %0 */",
6142 printf (" w = 0x%x,", w);
6143 printf (" dsp = 0x%x,", dsp);
6144 printf (" a = 0x%x,", a);
6145 printf (" src = 0x%x,", src);
6146 printf (" b = 0x%x,", b);
6147 printf (" dst = 0x%x\n", dst);
6149 SYNTAX("movu%s %1, %0");
6150 #line 316 "rx-decode.opc"
6151 ID(mov); uBWL(w); DR(dst); SIs(src, dsp*4+a*2+b, w); F_____;
6159 switch (op[1] & 0x00)
6162 goto op_semantics_40;
6168 switch (op[1] & 0x00)
6171 goto op_semantics_40;
6177 switch (op[1] & 0x00)
6180 goto op_semantics_40;
6186 switch (op[1] & 0x00)
6189 goto op_semantics_40;
6195 switch (op[1] & 0x00)
6198 goto op_semantics_40;
6204 switch (op[1] & 0x00)
6207 goto op_semantics_40;
6213 switch (op[1] & 0x00)
6216 goto op_semantics_40;
6222 switch (op[1] & 0x00)
6225 goto op_semantics_40;
6231 switch (op[1] & 0x00)
6234 goto op_semantics_40;
6240 switch (op[1] & 0x00)
6243 goto op_semantics_40;
6249 switch (op[1] & 0x00)
6252 goto op_semantics_40;
6258 switch (op[1] & 0x00)
6261 goto op_semantics_40;
6267 switch (op[1] & 0x00)
6270 goto op_semantics_40;
6276 switch (op[1] & 0x00)
6279 goto op_semantics_40;
6285 switch (op[1] & 0x00)
6288 goto op_semantics_40;
6294 switch (op[1] & 0x00)
6299 /** 11sz sd ss rsrc rdst mov%s %1, %0 */
6300 #line 274 "rx-decode.opc"
6301 int sz AU = (op[0] >> 4) & 0x03;
6302 #line 274 "rx-decode.opc"
6303 int sd AU = (op[0] >> 2) & 0x03;
6304 #line 274 "rx-decode.opc"
6305 int ss AU = op[0] & 0x03;
6306 #line 274 "rx-decode.opc"
6307 int rsrc AU = (op[1] >> 4) & 0x0f;
6308 #line 274 "rx-decode.opc"
6309 int rdst AU = op[1] & 0x0f;
6312 printf ("\033[33m%s\033[0m %02x %02x\n",
6313 "/** 11sz sd ss rsrc rdst mov%s %1, %0 */",
6315 printf (" sz = 0x%x,", sz);
6316 printf (" sd = 0x%x,", sd);
6317 printf (" ss = 0x%x,", ss);
6318 printf (" rsrc = 0x%x,", rsrc);
6319 printf (" rdst = 0x%x\n", rdst);
6321 SYNTAX("mov%s %1, %0");
6322 #line 274 "rx-decode.opc"
6323 if (ss == 3 && sz == 2 && rsrc == 0 && rdst == 0)
6330 ID(mov); sBWL(sz); F_____;
6331 if ((ss == 3) && (sd != 3))
6333 SD(ss, rdst, sz); DD(sd, rsrc, sz);
6337 SD(ss, rsrc, sz); DD(sd, rdst, sz);
6347 switch (op[1] & 0x00)
6350 goto op_semantics_41;
6356 switch (op[1] & 0x00)
6359 goto op_semantics_41;
6365 switch (op[1] & 0x00)
6368 goto op_semantics_41;
6374 switch (op[1] & 0x00)
6377 goto op_semantics_41;
6383 switch (op[1] & 0x00)
6386 goto op_semantics_41;
6392 switch (op[1] & 0x00)
6395 goto op_semantics_41;
6401 switch (op[1] & 0x00)
6404 goto op_semantics_41;
6410 switch (op[1] & 0x00)
6413 goto op_semantics_41;
6419 switch (op[1] & 0x00)
6422 goto op_semantics_41;
6428 switch (op[1] & 0x00)
6431 goto op_semantics_41;
6437 switch (op[1] & 0x00)
6440 goto op_semantics_41;
6446 switch (op[1] & 0x00)
6449 goto op_semantics_41;
6455 switch (op[1] & 0x00)
6458 goto op_semantics_41;
6464 switch (op[1] & 0x00)
6467 goto op_semantics_41;
6473 switch (op[1] & 0x00)
6476 goto op_semantics_41;
6482 switch (op[1] & 0x00)
6485 goto op_semantics_41;
6491 switch (op[1] & 0x00)
6494 goto op_semantics_41;
6500 switch (op[1] & 0x00)
6503 goto op_semantics_41;
6509 switch (op[1] & 0x00)
6512 goto op_semantics_41;
6518 switch (op[1] & 0x00)
6521 goto op_semantics_41;
6527 switch (op[1] & 0x00)
6530 goto op_semantics_41;
6536 switch (op[1] & 0x00)
6539 goto op_semantics_41;
6545 switch (op[1] & 0x00)
6548 goto op_semantics_41;
6554 switch (op[1] & 0x00)
6557 goto op_semantics_41;
6563 switch (op[1] & 0x00)
6566 goto op_semantics_41;
6572 switch (op[1] & 0x00)
6575 goto op_semantics_41;
6581 switch (op[1] & 0x00)
6584 goto op_semantics_41;
6590 switch (op[1] & 0x00)
6593 goto op_semantics_41;
6599 switch (op[1] & 0x00)
6602 goto op_semantics_41;
6608 switch (op[1] & 0x00)
6611 goto op_semantics_41;
6617 switch (op[1] & 0x00)
6620 goto op_semantics_41;
6626 switch (op[1] & 0x00)
6629 goto op_semantics_41;
6635 switch (op[1] & 0x00)
6638 goto op_semantics_41;
6644 switch (op[1] & 0x00)
6647 goto op_semantics_41;
6653 switch (op[1] & 0x00)
6656 goto op_semantics_41;
6662 switch (op[1] & 0x00)
6665 goto op_semantics_41;
6671 switch (op[1] & 0x00)
6674 goto op_semantics_41;
6680 switch (op[1] & 0x00)
6683 goto op_semantics_41;
6689 switch (op[1] & 0x00)
6692 goto op_semantics_41;
6698 switch (op[1] & 0x00)
6701 goto op_semantics_41;
6707 switch (op[1] & 0x00)
6710 goto op_semantics_41;
6716 switch (op[1] & 0x00)
6719 goto op_semantics_41;
6725 switch (op[1] & 0x00)
6728 goto op_semantics_41;
6734 switch (op[1] & 0x00)
6737 goto op_semantics_41;
6743 switch (op[1] & 0x00)
6746 goto op_semantics_41;
6752 switch (op[1] & 0x00)
6755 goto op_semantics_41;
6761 switch (op[1] & 0x00)
6764 goto op_semantics_41;
6770 switch (op[1] & 0x08)
6775 /** 1111 00sd rdst 0bit bset #%1, %0%S0 */
6776 #line 861 "rx-decode.opc"
6777 int sd AU = op[0] & 0x03;
6778 #line 861 "rx-decode.opc"
6779 int rdst AU = (op[1] >> 4) & 0x0f;
6780 #line 861 "rx-decode.opc"
6781 int bit AU = op[1] & 0x07;
6784 printf ("\033[33m%s\033[0m %02x %02x\n",
6785 "/** 1111 00sd rdst 0bit bset #%1, %0%S0 */",
6787 printf (" sd = 0x%x,", sd);
6788 printf (" rdst = 0x%x,", rdst);
6789 printf (" bit = 0x%x\n", bit);
6791 SYNTAX("bset #%1, %0%S0");
6792 #line 861 "rx-decode.opc"
6793 ID(bset); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
6800 /** 1111 00sd rdst 1bit bclr #%1, %0%S0 */
6801 #line 871 "rx-decode.opc"
6802 int sd AU = op[0] & 0x03;
6803 #line 871 "rx-decode.opc"
6804 int rdst AU = (op[1] >> 4) & 0x0f;
6805 #line 871 "rx-decode.opc"
6806 int bit AU = op[1] & 0x07;
6809 printf ("\033[33m%s\033[0m %02x %02x\n",
6810 "/** 1111 00sd rdst 1bit bclr #%1, %0%S0 */",
6812 printf (" sd = 0x%x,", sd);
6813 printf (" rdst = 0x%x,", rdst);
6814 printf (" bit = 0x%x\n", bit);
6816 SYNTAX("bclr #%1, %0%S0");
6817 #line 871 "rx-decode.opc"
6818 ID(bclr); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
6826 switch (op[1] & 0x08)
6829 goto op_semantics_42;
6832 goto op_semantics_43;
6838 switch (op[1] & 0x08)
6841 goto op_semantics_42;
6844 goto op_semantics_43;
6850 switch (op[1] & 0x08)
6853 goto op_semantics_42;
6856 goto op_semantics_43;
6862 switch (op[1] & 0x0c)
6868 /** 1111 01sd rdst 0bit btst #%2, %1%S1 */
6869 #line 881 "rx-decode.opc"
6870 int sd AU = op[0] & 0x03;
6871 #line 881 "rx-decode.opc"
6872 int rdst AU = (op[1] >> 4) & 0x0f;
6873 #line 881 "rx-decode.opc"
6874 int bit AU = op[1] & 0x07;
6877 printf ("\033[33m%s\033[0m %02x %02x\n",
6878 "/** 1111 01sd rdst 0bit btst #%2, %1%S1 */",
6880 printf (" sd = 0x%x,", sd);
6881 printf (" rdst = 0x%x,", rdst);
6882 printf (" bit = 0x%x\n", bit);
6884 SYNTAX("btst #%2, %1%S1");
6885 #line 881 "rx-decode.opc"
6886 ID(btst); BWL(BSIZE); S2C(bit); SD(sd, rdst, BSIZE); F___ZC;
6893 /** 1111 01ss rsrc 10sz push%s %1 */
6894 #line 341 "rx-decode.opc"
6895 int ss AU = op[0] & 0x03;
6896 #line 341 "rx-decode.opc"
6897 int rsrc AU = (op[1] >> 4) & 0x0f;
6898 #line 341 "rx-decode.opc"
6899 int sz AU = op[1] & 0x03;
6902 printf ("\033[33m%s\033[0m %02x %02x\n",
6903 "/** 1111 01ss rsrc 10sz push%s %1 */",
6905 printf (" ss = 0x%x,", ss);
6906 printf (" rsrc = 0x%x,", rsrc);
6907 printf (" sz = 0x%x\n", sz);
6909 SYNTAX("push%s %1");
6910 #line 341 "rx-decode.opc"
6911 ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SD(ss, rsrc, sz); F_____;
6913 /*----------------------------------------------------------------------*/
6918 default: UNSUPPORTED(); break;
6923 switch (op[1] & 0x0c)
6927 goto op_semantics_44;
6930 goto op_semantics_45;
6932 default: UNSUPPORTED(); break;
6937 switch (op[1] & 0x0c)
6941 goto op_semantics_44;
6944 goto op_semantics_45;
6946 default: UNSUPPORTED(); break;
6951 switch (op[1] & 0x0c)
6955 goto op_semantics_44;
6958 goto op_semantics_45;
6960 default: UNSUPPORTED(); break;
6965 switch (op[1] & 0x00)
6970 /** 1111 10sd rdst im sz mov%s #%1, %0 */
6971 #line 265 "rx-decode.opc"
6972 int sd AU = op[0] & 0x03;
6973 #line 265 "rx-decode.opc"
6974 int rdst AU = (op[1] >> 4) & 0x0f;
6975 #line 265 "rx-decode.opc"
6976 int im AU = (op[1] >> 2) & 0x03;
6977 #line 265 "rx-decode.opc"
6978 int sz AU = op[1] & 0x03;
6981 printf ("\033[33m%s\033[0m %02x %02x\n",
6982 "/** 1111 10sd rdst im sz mov%s #%1, %0 */",
6984 printf (" sd = 0x%x,", sd);
6985 printf (" rdst = 0x%x,", rdst);
6986 printf (" im = 0x%x,", im);
6987 printf (" sz = 0x%x\n", sz);
6989 SYNTAX("mov%s #%1, %0");
6990 #line 265 "rx-decode.opc"
6991 ID(mov); sBWL (sz); DD(sd, rdst, sz); SC(IMMex(im)); F_____;
6999 switch (op[1] & 0x00)
7002 goto op_semantics_46;
7008 switch (op[1] & 0x00)
7011 goto op_semantics_46;
7017 switch (op[1] & 0x00)
7020 goto op_semantics_46;
7026 switch (op[1] & 0xff)
7030 switch (op[2] & 0x00)
7034 /** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */
7035 #line 515 "rx-decode.opc"
7036 int rsrc AU = (op[2] >> 4) & 0x0f;
7037 #line 515 "rx-decode.opc"
7038 int rdst AU = op[2] & 0x0f;
7041 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7042 "/** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */",
7043 op[0], op[1], op[2]);
7044 printf (" rsrc = 0x%x,", rsrc);
7045 printf (" rdst = 0x%x\n", rdst);
7047 SYNTAX("sbb %1, %0");
7048 #line 515 "rx-decode.opc"
7049 ID(sbb); SR (rsrc); DR(rdst); F_OSZC;
7051 /* FIXME: only supports .L */
7058 switch (op[2] & 0x00)
7062 /** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */
7063 #line 446 "rx-decode.opc"
7064 int rsrc AU = (op[2] >> 4) & 0x0f;
7065 #line 446 "rx-decode.opc"
7066 int rdst AU = op[2] & 0x0f;
7069 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7070 "/** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */",
7071 op[0], op[1], op[2]);
7072 printf (" rsrc = 0x%x,", rsrc);
7073 printf (" rdst = 0x%x\n", rdst);
7075 SYNTAX("neg %2, %0");
7076 #line 446 "rx-decode.opc"
7077 ID(sub); DR(rdst); SC(0); S2R(rsrc); F_OSZC;
7079 /*----------------------------------------------------------------------*/
7088 switch (op[2] & 0x00)
7092 /** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */
7093 #line 455 "rx-decode.opc"
7094 int rsrc AU = (op[2] >> 4) & 0x0f;
7095 #line 455 "rx-decode.opc"
7096 int rdst AU = op[2] & 0x0f;
7099 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7100 "/** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */",
7101 op[0], op[1], op[2]);
7102 printf (" rsrc = 0x%x,", rsrc);
7103 printf (" rdst = 0x%x\n", rdst);
7105 SYNTAX("adc %1, %0");
7106 #line 455 "rx-decode.opc"
7107 ID(adc); SR(rsrc); DR(rdst); F_OSZC;
7115 switch (op[2] & 0x00)
7119 /** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */
7120 #line 528 "rx-decode.opc"
7121 int rsrc AU = (op[2] >> 4) & 0x0f;
7122 #line 528 "rx-decode.opc"
7123 int rdst AU = op[2] & 0x0f;
7126 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7127 "/** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */",
7128 op[0], op[1], op[2]);
7129 printf (" rsrc = 0x%x,", rsrc);
7130 printf (" rdst = 0x%x\n", rdst);
7132 SYNTAX("abs %1, %0");
7133 #line 528 "rx-decode.opc"
7134 ID(abs); DR(rdst); SR(rsrc); F_OSZ_;
7136 /*----------------------------------------------------------------------*/
7145 switch (op[2] & 0x00)
7150 /** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */
7151 #line 537 "rx-decode.opc"
7152 int ss AU = op[1] & 0x03;
7153 #line 537 "rx-decode.opc"
7154 int rsrc AU = (op[2] >> 4) & 0x0f;
7155 #line 537 "rx-decode.opc"
7156 int rdst AU = op[2] & 0x0f;
7159 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7160 "/** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */",
7161 op[0], op[1], op[2]);
7162 printf (" ss = 0x%x,", ss);
7163 printf (" rsrc = 0x%x,", rsrc);
7164 printf (" rdst = 0x%x\n", rdst);
7166 SYNTAX("max %1%S1, %0");
7167 #line 537 "rx-decode.opc"
7168 if (ss == 3 && rsrc == 0 && rdst == 0)
7175 ID(max); SP(ss, rsrc); DR(rdst);
7184 switch (op[2] & 0x00)
7187 goto op_semantics_47;
7193 switch (op[2] & 0x00)
7196 goto op_semantics_47;
7202 switch (op[2] & 0x00)
7205 goto op_semantics_47;
7211 switch (op[2] & 0x00)
7216 /** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */
7217 #line 557 "rx-decode.opc"
7218 int ss AU = op[1] & 0x03;
7219 #line 557 "rx-decode.opc"
7220 int rsrc AU = (op[2] >> 4) & 0x0f;
7221 #line 557 "rx-decode.opc"
7222 int rdst AU = op[2] & 0x0f;
7225 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7226 "/** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */",
7227 op[0], op[1], op[2]);
7228 printf (" ss = 0x%x,", ss);
7229 printf (" rsrc = 0x%x,", rsrc);
7230 printf (" rdst = 0x%x\n", rdst);
7232 SYNTAX("min %1%S1, %0");
7233 #line 557 "rx-decode.opc"
7234 ID(min); SP(ss, rsrc); DR(rdst);
7242 switch (op[2] & 0x00)
7245 goto op_semantics_48;
7251 switch (op[2] & 0x00)
7254 goto op_semantics_48;
7260 switch (op[2] & 0x00)
7263 goto op_semantics_48;
7269 switch (op[2] & 0x00)
7274 /** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */
7275 #line 587 "rx-decode.opc"
7276 int ss AU = op[1] & 0x03;
7277 #line 587 "rx-decode.opc"
7278 int rsrc AU = (op[2] >> 4) & 0x0f;
7279 #line 587 "rx-decode.opc"
7280 int rdst AU = op[2] & 0x0f;
7283 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7284 "/** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */",
7285 op[0], op[1], op[2]);
7286 printf (" ss = 0x%x,", ss);
7287 printf (" rsrc = 0x%x,", rsrc);
7288 printf (" rdst = 0x%x\n", rdst);
7290 SYNTAX("emul %1%S1, %0");
7291 #line 587 "rx-decode.opc"
7292 ID(emul); SP(ss, rsrc); DR(rdst);
7300 switch (op[2] & 0x00)
7303 goto op_semantics_49;
7309 switch (op[2] & 0x00)
7312 goto op_semantics_49;
7318 switch (op[2] & 0x00)
7321 goto op_semantics_49;
7327 switch (op[2] & 0x00)
7332 /** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */
7333 #line 599 "rx-decode.opc"
7334 int ss AU = op[1] & 0x03;
7335 #line 599 "rx-decode.opc"
7336 int rsrc AU = (op[2] >> 4) & 0x0f;
7337 #line 599 "rx-decode.opc"
7338 int rdst AU = op[2] & 0x0f;
7341 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7342 "/** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */",
7343 op[0], op[1], op[2]);
7344 printf (" ss = 0x%x,", ss);
7345 printf (" rsrc = 0x%x,", rsrc);
7346 printf (" rdst = 0x%x\n", rdst);
7348 SYNTAX("emulu %1%S1, %0");
7349 #line 599 "rx-decode.opc"
7350 ID(emulu); SP(ss, rsrc); DR(rdst);
7358 switch (op[2] & 0x00)
7361 goto op_semantics_50;
7367 switch (op[2] & 0x00)
7370 goto op_semantics_50;
7376 switch (op[2] & 0x00)
7379 goto op_semantics_50;
7385 switch (op[2] & 0x00)
7390 /** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */
7391 #line 611 "rx-decode.opc"
7392 int ss AU = op[1] & 0x03;
7393 #line 611 "rx-decode.opc"
7394 int rsrc AU = (op[2] >> 4) & 0x0f;
7395 #line 611 "rx-decode.opc"
7396 int rdst AU = op[2] & 0x0f;
7399 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7400 "/** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */",
7401 op[0], op[1], op[2]);
7402 printf (" ss = 0x%x,", ss);
7403 printf (" rsrc = 0x%x,", rsrc);
7404 printf (" rdst = 0x%x\n", rdst);
7406 SYNTAX("div %1%S1, %0");
7407 #line 611 "rx-decode.opc"
7408 ID(div); SP(ss, rsrc); DR(rdst); F_O___;
7416 switch (op[2] & 0x00)
7419 goto op_semantics_51;
7425 switch (op[2] & 0x00)
7428 goto op_semantics_51;
7434 switch (op[2] & 0x00)
7437 goto op_semantics_51;
7443 switch (op[2] & 0x00)
7448 /** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */
7449 #line 623 "rx-decode.opc"
7450 int ss AU = op[1] & 0x03;
7451 #line 623 "rx-decode.opc"
7452 int rsrc AU = (op[2] >> 4) & 0x0f;
7453 #line 623 "rx-decode.opc"
7454 int rdst AU = op[2] & 0x0f;
7457 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7458 "/** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */",
7459 op[0], op[1], op[2]);
7460 printf (" ss = 0x%x,", ss);
7461 printf (" rsrc = 0x%x,", rsrc);
7462 printf (" rdst = 0x%x\n", rdst);
7464 SYNTAX("divu %1%S1, %0");
7465 #line 623 "rx-decode.opc"
7466 ID(divu); SP(ss, rsrc); DR(rdst); F_O___;
7474 switch (op[2] & 0x00)
7477 goto op_semantics_52;
7483 switch (op[2] & 0x00)
7486 goto op_semantics_52;
7492 switch (op[2] & 0x00)
7495 goto op_semantics_52;
7501 switch (op[2] & 0x00)
7506 /** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */
7507 #line 434 "rx-decode.opc"
7508 int ss AU = op[1] & 0x03;
7509 #line 434 "rx-decode.opc"
7510 int rsrc AU = (op[2] >> 4) & 0x0f;
7511 #line 434 "rx-decode.opc"
7512 int rdst AU = op[2] & 0x0f;
7515 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7516 "/** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */",
7517 op[0], op[1], op[2]);
7518 printf (" ss = 0x%x,", ss);
7519 printf (" rsrc = 0x%x,", rsrc);
7520 printf (" rdst = 0x%x\n", rdst);
7522 SYNTAX("tst %1%S1, %2");
7523 #line 434 "rx-decode.opc"
7524 ID(and); SP(ss, rsrc); S2R(rdst); F__SZ_;
7532 switch (op[2] & 0x00)
7535 goto op_semantics_53;
7541 switch (op[2] & 0x00)
7544 goto op_semantics_53;
7550 switch (op[2] & 0x00)
7553 goto op_semantics_53;
7559 switch (op[2] & 0x00)
7564 /** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */
7565 #line 413 "rx-decode.opc"
7566 int ss AU = op[1] & 0x03;
7567 #line 413 "rx-decode.opc"
7568 int rsrc AU = (op[2] >> 4) & 0x0f;
7569 #line 413 "rx-decode.opc"
7570 int rdst AU = op[2] & 0x0f;
7573 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7574 "/** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */",
7575 op[0], op[1], op[2]);
7576 printf (" ss = 0x%x,", ss);
7577 printf (" rsrc = 0x%x,", rsrc);
7578 printf (" rdst = 0x%x\n", rdst);
7580 SYNTAX("xor %1%S1, %0");
7581 #line 413 "rx-decode.opc"
7582 ID(xor); SP(ss, rsrc); DR(rdst); F__SZ_;
7590 switch (op[2] & 0x00)
7593 goto op_semantics_54;
7599 switch (op[2] & 0x00)
7602 goto op_semantics_54;
7608 switch (op[2] & 0x00)
7611 goto op_semantics_54;
7617 switch (op[2] & 0x00)
7621 /** 1111 1100 0011 1011 rsrc rdst not %1, %0 */
7622 #line 425 "rx-decode.opc"
7623 int rsrc AU = (op[2] >> 4) & 0x0f;
7624 #line 425 "rx-decode.opc"
7625 int rdst AU = op[2] & 0x0f;
7628 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7629 "/** 1111 1100 0011 1011 rsrc rdst not %1, %0 */",
7630 op[0], op[1], op[2]);
7631 printf (" rsrc = 0x%x,", rsrc);
7632 printf (" rdst = 0x%x\n", rdst);
7634 SYNTAX("not %1, %0");
7635 #line 425 "rx-decode.opc"
7636 ID(xor); DR(rdst); SR(rsrc); S2C(~0); F__SZ_;
7638 /*----------------------------------------------------------------------*/
7647 switch (op[2] & 0x00)
7652 /** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */
7653 #line 347 "rx-decode.opc"
7654 int ss AU = op[1] & 0x03;
7655 #line 347 "rx-decode.opc"
7656 int rsrc AU = (op[2] >> 4) & 0x0f;
7657 #line 347 "rx-decode.opc"
7658 int rdst AU = op[2] & 0x0f;
7661 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7662 "/** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */",
7663 op[0], op[1], op[2]);
7664 printf (" ss = 0x%x,", ss);
7665 printf (" rsrc = 0x%x,", rsrc);
7666 printf (" rdst = 0x%x\n", rdst);
7668 SYNTAX("xchg %1%S1, %0");
7669 #line 347 "rx-decode.opc"
7670 ID(xchg); DR(rdst); SP(ss, rsrc);
7678 switch (op[2] & 0x00)
7681 goto op_semantics_55;
7687 switch (op[2] & 0x00)
7690 goto op_semantics_55;
7696 switch (op[2] & 0x00)
7699 goto op_semantics_55;
7705 switch (op[2] & 0x00)
7710 /** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */
7711 #line 852 "rx-decode.opc"
7712 int sd AU = op[1] & 0x03;
7713 #line 852 "rx-decode.opc"
7714 int rsrc AU = (op[2] >> 4) & 0x0f;
7715 #line 852 "rx-decode.opc"
7716 int rdst AU = op[2] & 0x0f;
7719 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7720 "/** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */",
7721 op[0], op[1], op[2]);
7722 printf (" sd = 0x%x,", sd);
7723 printf (" rsrc = 0x%x,", rsrc);
7724 printf (" rdst = 0x%x\n", rdst);
7726 SYNTAX("itof %1%S1, %0");
7727 #line 852 "rx-decode.opc"
7728 ID(itof); DR (rdst); SP(sd, rsrc); F__SZ_;
7736 switch (op[2] & 0x00)
7739 goto op_semantics_56;
7745 switch (op[2] & 0x00)
7748 goto op_semantics_56;
7754 switch (op[2] & 0x00)
7757 goto op_semantics_56;
7763 switch (op[2] & 0x00)
7768 /** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */
7769 #line 864 "rx-decode.opc"
7770 int sd AU = op[1] & 0x03;
7771 #line 864 "rx-decode.opc"
7772 int rdst AU = (op[2] >> 4) & 0x0f;
7773 #line 864 "rx-decode.opc"
7774 int rsrc AU = op[2] & 0x0f;
7777 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7778 "/** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */",
7779 op[0], op[1], op[2]);
7780 printf (" sd = 0x%x,", sd);
7781 printf (" rdst = 0x%x,", rdst);
7782 printf (" rsrc = 0x%x\n", rsrc);
7784 SYNTAX("bset %1, %0%S0");
7785 #line 864 "rx-decode.opc"
7786 ID(bset); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
7794 switch (op[2] & 0x00)
7797 goto op_semantics_57;
7803 switch (op[2] & 0x00)
7806 goto op_semantics_57;
7812 switch (op[2] & 0x00)
7815 goto op_semantics_57;
7821 switch (op[2] & 0x00)
7826 /** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */
7827 #line 874 "rx-decode.opc"
7828 int sd AU = op[1] & 0x03;
7829 #line 874 "rx-decode.opc"
7830 int rdst AU = (op[2] >> 4) & 0x0f;
7831 #line 874 "rx-decode.opc"
7832 int rsrc AU = op[2] & 0x0f;
7835 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7836 "/** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */",
7837 op[0], op[1], op[2]);
7838 printf (" sd = 0x%x,", sd);
7839 printf (" rdst = 0x%x,", rdst);
7840 printf (" rsrc = 0x%x\n", rsrc);
7842 SYNTAX("bclr %1, %0%S0");
7843 #line 874 "rx-decode.opc"
7844 ID(bclr); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
7852 switch (op[2] & 0x00)
7855 goto op_semantics_58;
7861 switch (op[2] & 0x00)
7864 goto op_semantics_58;
7870 switch (op[2] & 0x00)
7873 goto op_semantics_58;
7879 switch (op[2] & 0x00)
7884 /** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */
7885 #line 884 "rx-decode.opc"
7886 int sd AU = op[1] & 0x03;
7887 #line 884 "rx-decode.opc"
7888 int rdst AU = (op[2] >> 4) & 0x0f;
7889 #line 884 "rx-decode.opc"
7890 int rsrc AU = op[2] & 0x0f;
7893 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7894 "/** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */",
7895 op[0], op[1], op[2]);
7896 printf (" sd = 0x%x,", sd);
7897 printf (" rdst = 0x%x,", rdst);
7898 printf (" rsrc = 0x%x\n", rsrc);
7900 SYNTAX("btst %2, %1%S1");
7901 #line 884 "rx-decode.opc"
7902 ID(btst); BWL(BSIZE); S2R(rsrc); SD(sd, rdst, BSIZE); F___ZC;
7910 switch (op[2] & 0x00)
7913 goto op_semantics_59;
7919 switch (op[2] & 0x00)
7922 goto op_semantics_59;
7928 switch (op[2] & 0x00)
7931 goto op_semantics_59;
7937 switch (op[2] & 0x00)
7942 /** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */
7943 #line 894 "rx-decode.opc"
7944 int sd AU = op[1] & 0x03;
7945 #line 894 "rx-decode.opc"
7946 int rdst AU = (op[2] >> 4) & 0x0f;
7947 #line 894 "rx-decode.opc"
7948 int rsrc AU = op[2] & 0x0f;
7951 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
7952 "/** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */",
7953 op[0], op[1], op[2]);
7954 printf (" sd = 0x%x,", sd);
7955 printf (" rdst = 0x%x,", rdst);
7956 printf (" rsrc = 0x%x\n", rsrc);
7958 SYNTAX("bnot %1, %0%S0");
7959 #line 894 "rx-decode.opc"
7960 ID(bnot); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE);
7968 switch (op[2] & 0x00)
7971 goto op_semantics_60;
7977 switch (op[2] & 0x00)
7980 goto op_semantics_60;
7986 switch (op[2] & 0x00)
7989 goto op_semantics_60;
7995 switch (op[2] & 0x00)
8000 /** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */
8001 #line 831 "rx-decode.opc"
8002 int sd AU = op[1] & 0x03;
8003 #line 831 "rx-decode.opc"
8004 int rsrc AU = (op[2] >> 4) & 0x0f;
8005 #line 831 "rx-decode.opc"
8006 int rdst AU = op[2] & 0x0f;
8009 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8010 "/** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */",
8011 op[0], op[1], op[2]);
8012 printf (" sd = 0x%x,", sd);
8013 printf (" rsrc = 0x%x,", rsrc);
8014 printf (" rdst = 0x%x\n", rdst);
8016 SYNTAX("fsub %1%S1, %0");
8017 #line 831 "rx-decode.opc"
8018 ID(fsub); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8026 switch (op[2] & 0x00)
8029 goto op_semantics_61;
8035 switch (op[2] & 0x00)
8038 goto op_semantics_61;
8044 switch (op[2] & 0x00)
8047 goto op_semantics_61;
8053 switch (op[2] & 0x00)
8058 /** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */
8059 #line 825 "rx-decode.opc"
8060 int sd AU = op[1] & 0x03;
8061 #line 825 "rx-decode.opc"
8062 int rsrc AU = (op[2] >> 4) & 0x0f;
8063 #line 825 "rx-decode.opc"
8064 int rdst AU = op[2] & 0x0f;
8067 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8068 "/** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */",
8069 op[0], op[1], op[2]);
8070 printf (" sd = 0x%x,", sd);
8071 printf (" rsrc = 0x%x,", rsrc);
8072 printf (" rdst = 0x%x\n", rdst);
8074 SYNTAX("fcmp %1%S1, %0");
8075 #line 825 "rx-decode.opc"
8076 ID(fcmp); DR(rdst); SD(sd, rsrc, LSIZE); F_OSZ_;
8084 switch (op[2] & 0x00)
8087 goto op_semantics_62;
8093 switch (op[2] & 0x00)
8096 goto op_semantics_62;
8102 switch (op[2] & 0x00)
8105 goto op_semantics_62;
8111 switch (op[2] & 0x00)
8116 /** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */
8117 #line 819 "rx-decode.opc"
8118 int sd AU = op[1] & 0x03;
8119 #line 819 "rx-decode.opc"
8120 int rsrc AU = (op[2] >> 4) & 0x0f;
8121 #line 819 "rx-decode.opc"
8122 int rdst AU = op[2] & 0x0f;
8125 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8126 "/** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */",
8127 op[0], op[1], op[2]);
8128 printf (" sd = 0x%x,", sd);
8129 printf (" rsrc = 0x%x,", rsrc);
8130 printf (" rdst = 0x%x\n", rdst);
8132 SYNTAX("fadd %1%S1, %0");
8133 #line 819 "rx-decode.opc"
8134 ID(fadd); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8142 switch (op[2] & 0x00)
8145 goto op_semantics_63;
8151 switch (op[2] & 0x00)
8154 goto op_semantics_63;
8160 switch (op[2] & 0x00)
8163 goto op_semantics_63;
8169 switch (op[2] & 0x00)
8174 /** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */
8175 #line 840 "rx-decode.opc"
8176 int sd AU = op[1] & 0x03;
8177 #line 840 "rx-decode.opc"
8178 int rsrc AU = (op[2] >> 4) & 0x0f;
8179 #line 840 "rx-decode.opc"
8180 int rdst AU = op[2] & 0x0f;
8183 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8184 "/** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */",
8185 op[0], op[1], op[2]);
8186 printf (" sd = 0x%x,", sd);
8187 printf (" rsrc = 0x%x,", rsrc);
8188 printf (" rdst = 0x%x\n", rdst);
8190 SYNTAX("fmul %1%S1, %0");
8191 #line 840 "rx-decode.opc"
8192 ID(fmul); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8200 switch (op[2] & 0x00)
8203 goto op_semantics_64;
8209 switch (op[2] & 0x00)
8212 goto op_semantics_64;
8218 switch (op[2] & 0x00)
8221 goto op_semantics_64;
8227 switch (op[2] & 0x00)
8232 /** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */
8233 #line 846 "rx-decode.opc"
8234 int sd AU = op[1] & 0x03;
8235 #line 846 "rx-decode.opc"
8236 int rsrc AU = (op[2] >> 4) & 0x0f;
8237 #line 846 "rx-decode.opc"
8238 int rdst AU = op[2] & 0x0f;
8241 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8242 "/** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */",
8243 op[0], op[1], op[2]);
8244 printf (" sd = 0x%x,", sd);
8245 printf (" rsrc = 0x%x,", rsrc);
8246 printf (" rdst = 0x%x\n", rdst);
8248 SYNTAX("fdiv %1%S1, %0");
8249 #line 846 "rx-decode.opc"
8250 ID(fdiv); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8258 switch (op[2] & 0x00)
8261 goto op_semantics_65;
8267 switch (op[2] & 0x00)
8270 goto op_semantics_65;
8276 switch (op[2] & 0x00)
8279 goto op_semantics_65;
8285 switch (op[2] & 0x00)
8290 /** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */
8291 #line 834 "rx-decode.opc"
8292 int sd AU = op[1] & 0x03;
8293 #line 834 "rx-decode.opc"
8294 int rsrc AU = (op[2] >> 4) & 0x0f;
8295 #line 834 "rx-decode.opc"
8296 int rdst AU = op[2] & 0x0f;
8299 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8300 "/** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */",
8301 op[0], op[1], op[2]);
8302 printf (" sd = 0x%x,", sd);
8303 printf (" rsrc = 0x%x,", rsrc);
8304 printf (" rdst = 0x%x\n", rdst);
8306 SYNTAX("ftoi %1%S1, %0");
8307 #line 834 "rx-decode.opc"
8308 ID(ftoi); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8316 switch (op[2] & 0x00)
8319 goto op_semantics_66;
8325 switch (op[2] & 0x00)
8328 goto op_semantics_66;
8334 switch (op[2] & 0x00)
8337 goto op_semantics_66;
8343 switch (op[2] & 0x00)
8348 /** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */
8349 #line 849 "rx-decode.opc"
8350 int sd AU = op[1] & 0x03;
8351 #line 849 "rx-decode.opc"
8352 int rsrc AU = (op[2] >> 4) & 0x0f;
8353 #line 849 "rx-decode.opc"
8354 int rdst AU = op[2] & 0x0f;
8357 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8358 "/** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */",
8359 op[0], op[1], op[2]);
8360 printf (" sd = 0x%x,", sd);
8361 printf (" rsrc = 0x%x,", rsrc);
8362 printf (" rdst = 0x%x\n", rdst);
8364 SYNTAX("round %1%S1, %0");
8365 #line 849 "rx-decode.opc"
8366 ID(round); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
8374 switch (op[2] & 0x00)
8377 goto op_semantics_67;
8383 switch (op[2] & 0x00)
8386 goto op_semantics_67;
8392 switch (op[2] & 0x00)
8395 goto op_semantics_67;
8401 switch (op[2] & 0x00)
8406 /** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */
8407 #line 958 "rx-decode.opc"
8408 int sz AU = (op[1] >> 2) & 0x03;
8409 #line 958 "rx-decode.opc"
8410 int sd AU = op[1] & 0x03;
8411 #line 958 "rx-decode.opc"
8412 int rdst AU = (op[2] >> 4) & 0x0f;
8413 #line 958 "rx-decode.opc"
8414 int cond AU = op[2] & 0x0f;
8417 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8418 "/** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */",
8419 op[0], op[1], op[2]);
8420 printf (" sz = 0x%x,", sz);
8421 printf (" sd = 0x%x,", sd);
8422 printf (" rdst = 0x%x,", rdst);
8423 printf (" cond = 0x%x\n", cond);
8425 SYNTAX("sc%1%s %0");
8426 #line 958 "rx-decode.opc"
8427 ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond);
8435 switch (op[2] & 0x00)
8438 goto op_semantics_68;
8444 switch (op[2] & 0x00)
8447 goto op_semantics_68;
8453 switch (op[2] & 0x00)
8456 goto op_semantics_68;
8462 switch (op[2] & 0x00)
8465 goto op_semantics_68;
8471 switch (op[2] & 0x00)
8474 goto op_semantics_68;
8480 switch (op[2] & 0x00)
8483 goto op_semantics_68;
8489 switch (op[2] & 0x00)
8492 goto op_semantics_68;
8498 switch (op[2] & 0x00)
8501 goto op_semantics_68;
8507 switch (op[2] & 0x00)
8510 goto op_semantics_68;
8516 switch (op[2] & 0x00)
8519 goto op_semantics_68;
8525 switch (op[2] & 0x00)
8528 goto op_semantics_68;
8534 switch (op[2] & 0x0f)
8553 /** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */
8554 #line 901 "rx-decode.opc"
8555 int bit AU = (op[1] >> 2) & 0x07;
8556 #line 901 "rx-decode.opc"
8557 int sd AU = op[1] & 0x03;
8558 #line 901 "rx-decode.opc"
8559 int rdst AU = (op[2] >> 4) & 0x0f;
8560 #line 901 "rx-decode.opc"
8561 int cond AU = op[2] & 0x0f;
8564 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8565 "/** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */",
8566 op[0], op[1], op[2]);
8567 printf (" bit = 0x%x,", bit);
8568 printf (" sd = 0x%x,", sd);
8569 printf (" rdst = 0x%x,", rdst);
8570 printf (" cond = 0x%x\n", cond);
8572 SYNTAX("bm%2 #%1, %0%S0");
8573 #line 901 "rx-decode.opc"
8574 ID(bmcc); BWL(BSIZE); S2cc(cond); SC(bit); DD(sd, rdst, BSIZE);
8581 /** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */
8582 #line 891 "rx-decode.opc"
8583 int bit AU = (op[1] >> 2) & 0x07;
8584 #line 891 "rx-decode.opc"
8585 int sd AU = op[1] & 0x03;
8586 #line 891 "rx-decode.opc"
8587 int rdst AU = (op[2] >> 4) & 0x0f;
8590 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
8591 "/** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */",
8592 op[0], op[1], op[2]);
8593 printf (" bit = 0x%x,", bit);
8594 printf (" sd = 0x%x,", sd);
8595 printf (" rdst = 0x%x\n", rdst);
8597 SYNTAX("bnot #%1, %0%S0");
8598 #line 891 "rx-decode.opc"
8599 ID(bnot); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE);
8607 switch (op[2] & 0x0f)
8624 goto op_semantics_69;
8627 goto op_semantics_70;
8633 switch (op[2] & 0x0f)
8650 goto op_semantics_69;
8653 goto op_semantics_70;
8659 switch (op[2] & 0x0f)
8676 goto op_semantics_69;
8679 goto op_semantics_70;
8685 switch (op[2] & 0x0f)
8702 goto op_semantics_69;
8705 goto op_semantics_70;
8711 switch (op[2] & 0x0f)
8728 goto op_semantics_69;
8731 goto op_semantics_70;
8737 switch (op[2] & 0x0f)
8754 goto op_semantics_69;
8757 goto op_semantics_70;
8763 switch (op[2] & 0x0f)
8780 goto op_semantics_69;
8783 goto op_semantics_70;
8789 switch (op[2] & 0x0f)
8806 goto op_semantics_69;
8809 goto op_semantics_70;
8815 switch (op[2] & 0x0f)
8832 goto op_semantics_69;
8835 goto op_semantics_70;
8841 switch (op[2] & 0x0f)
8858 goto op_semantics_69;
8861 goto op_semantics_70;
8867 switch (op[2] & 0x0f)
8884 goto op_semantics_69;
8887 goto op_semantics_70;
8893 switch (op[2] & 0x0f)
8910 goto op_semantics_69;
8913 goto op_semantics_70;
8919 switch (op[2] & 0x0f)
8936 goto op_semantics_69;
8939 goto op_semantics_70;
8945 switch (op[2] & 0x0f)
8962 goto op_semantics_69;
8965 goto op_semantics_70;
8971 switch (op[2] & 0x0f)
8988 goto op_semantics_69;
8991 goto op_semantics_70;
8997 switch (op[2] & 0x0f)
9014 goto op_semantics_69;
9017 goto op_semantics_70;
9023 switch (op[2] & 0x0f)
9040 goto op_semantics_69;
9043 goto op_semantics_70;
9049 switch (op[2] & 0x0f)
9066 goto op_semantics_69;
9069 goto op_semantics_70;
9075 switch (op[2] & 0x0f)
9092 goto op_semantics_69;
9095 goto op_semantics_70;
9101 switch (op[2] & 0x0f)
9118 goto op_semantics_69;
9121 goto op_semantics_70;
9127 switch (op[2] & 0x0f)
9144 goto op_semantics_69;
9147 goto op_semantics_70;
9153 switch (op[2] & 0x0f)
9170 goto op_semantics_69;
9173 goto op_semantics_70;
9179 switch (op[2] & 0x0f)
9196 goto op_semantics_69;
9199 goto op_semantics_70;
9205 switch (op[2] & 0x0f)
9222 goto op_semantics_69;
9225 goto op_semantics_70;
9231 switch (op[2] & 0x0f)
9248 goto op_semantics_69;
9251 goto op_semantics_70;
9257 switch (op[2] & 0x0f)
9274 goto op_semantics_69;
9277 goto op_semantics_70;
9283 switch (op[2] & 0x0f)
9300 goto op_semantics_69;
9303 goto op_semantics_70;
9309 switch (op[2] & 0x0f)
9326 goto op_semantics_69;
9329 goto op_semantics_70;
9335 switch (op[2] & 0x0f)
9352 goto op_semantics_69;
9355 goto op_semantics_70;
9361 switch (op[2] & 0x0f)
9378 goto op_semantics_69;
9381 goto op_semantics_70;
9387 switch (op[2] & 0x0f)
9404 goto op_semantics_69;
9407 goto op_semantics_70;
9411 default: UNSUPPORTED(); break;
9416 switch (op[1] & 0xff)
9420 switch (op[2] & 0x00)
9424 /** 1111 1101 0000 0000 srca srcb mulhi %1, %2 */
9425 #line 774 "rx-decode.opc"
9426 int srca AU = (op[2] >> 4) & 0x0f;
9427 #line 774 "rx-decode.opc"
9428 int srcb AU = op[2] & 0x0f;
9431 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9432 "/** 1111 1101 0000 0000 srca srcb mulhi %1, %2 */",
9433 op[0], op[1], op[2]);
9434 printf (" srca = 0x%x,", srca);
9435 printf (" srcb = 0x%x\n", srcb);
9437 SYNTAX("mulhi %1, %2");
9438 #line 774 "rx-decode.opc"
9439 ID(mulhi); SR(srca); S2R(srcb); F_____;
9447 switch (op[2] & 0x00)
9451 /** 1111 1101 0000 0001 srca srcb mullo %1, %2 */
9452 #line 777 "rx-decode.opc"
9453 int srca AU = (op[2] >> 4) & 0x0f;
9454 #line 777 "rx-decode.opc"
9455 int srcb AU = op[2] & 0x0f;
9458 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9459 "/** 1111 1101 0000 0001 srca srcb mullo %1, %2 */",
9460 op[0], op[1], op[2]);
9461 printf (" srca = 0x%x,", srca);
9462 printf (" srcb = 0x%x\n", srcb);
9464 SYNTAX("mullo %1, %2");
9465 #line 777 "rx-decode.opc"
9466 ID(mullo); SR(srca); S2R(srcb); F_____;
9474 switch (op[2] & 0x00)
9478 /** 1111 1101 0000 0100 srca srcb machi %1, %2 */
9479 #line 780 "rx-decode.opc"
9480 int srca AU = (op[2] >> 4) & 0x0f;
9481 #line 780 "rx-decode.opc"
9482 int srcb AU = op[2] & 0x0f;
9485 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9486 "/** 1111 1101 0000 0100 srca srcb machi %1, %2 */",
9487 op[0], op[1], op[2]);
9488 printf (" srca = 0x%x,", srca);
9489 printf (" srcb = 0x%x\n", srcb);
9491 SYNTAX("machi %1, %2");
9492 #line 780 "rx-decode.opc"
9493 ID(machi); SR(srca); S2R(srcb); F_____;
9501 switch (op[2] & 0x00)
9505 /** 1111 1101 0000 0101 srca srcb maclo %1, %2 */
9506 #line 783 "rx-decode.opc"
9507 int srca AU = (op[2] >> 4) & 0x0f;
9508 #line 783 "rx-decode.opc"
9509 int srcb AU = op[2] & 0x0f;
9512 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9513 "/** 1111 1101 0000 0101 srca srcb maclo %1, %2 */",
9514 op[0], op[1], op[2]);
9515 printf (" srca = 0x%x,", srca);
9516 printf (" srcb = 0x%x\n", srcb);
9518 SYNTAX("maclo %1, %2");
9519 #line 783 "rx-decode.opc"
9520 ID(maclo); SR(srca); S2R(srcb); F_____;
9528 switch (op[2] & 0xf0)
9532 /** 1111 1101 0001 0111 0000 rsrc mvtachi %1 */
9533 #line 786 "rx-decode.opc"
9534 int rsrc AU = op[2] & 0x0f;
9537 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9538 "/** 1111 1101 0001 0111 0000 rsrc mvtachi %1 */",
9539 op[0], op[1], op[2]);
9540 printf (" rsrc = 0x%x\n", rsrc);
9542 SYNTAX("mvtachi %1");
9543 #line 786 "rx-decode.opc"
9544 ID(mvtachi); SR(rsrc); F_____;
9550 /** 1111 1101 0001 0111 0001 rsrc mvtaclo %1 */
9551 #line 789 "rx-decode.opc"
9552 int rsrc AU = op[2] & 0x0f;
9555 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9556 "/** 1111 1101 0001 0111 0001 rsrc mvtaclo %1 */",
9557 op[0], op[1], op[2]);
9558 printf (" rsrc = 0x%x\n", rsrc);
9560 SYNTAX("mvtaclo %1");
9561 #line 789 "rx-decode.opc"
9562 ID(mvtaclo); SR(rsrc); F_____;
9566 default: UNSUPPORTED(); break;
9571 switch (op[2] & 0xef)
9575 /** 1111 1101 0001 1000 000i 0000 racw #%1 */
9576 #line 801 "rx-decode.opc"
9577 int i AU = (op[2] >> 4) & 0x01;
9580 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9581 "/** 1111 1101 0001 1000 000i 0000 racw #%1 */",
9582 op[0], op[1], op[2]);
9583 printf (" i = 0x%x\n", i);
9586 #line 801 "rx-decode.opc"
9587 ID(racw); SC(i+1); F_____;
9589 /*----------------------------------------------------------------------*/
9594 default: UNSUPPORTED(); break;
9599 switch (op[2] & 0xf0)
9603 /** 1111 1101 0001 1111 0000 rdst mvfachi %0 */
9604 #line 792 "rx-decode.opc"
9605 int rdst AU = op[2] & 0x0f;
9608 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9609 "/** 1111 1101 0001 1111 0000 rdst mvfachi %0 */",
9610 op[0], op[1], op[2]);
9611 printf (" rdst = 0x%x\n", rdst);
9613 SYNTAX("mvfachi %0");
9614 #line 792 "rx-decode.opc"
9615 ID(mvfachi); DR(rdst); F_____;
9621 /** 1111 1101 0001 1111 0001 rdst mvfaclo %0 */
9622 #line 798 "rx-decode.opc"
9623 int rdst AU = op[2] & 0x0f;
9626 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9627 "/** 1111 1101 0001 1111 0001 rdst mvfaclo %0 */",
9628 op[0], op[1], op[2]);
9629 printf (" rdst = 0x%x\n", rdst);
9631 SYNTAX("mvfaclo %0");
9632 #line 798 "rx-decode.opc"
9633 ID(mvfaclo); DR(rdst); F_____;
9639 /** 1111 1101 0001 1111 0010 rdst mvfacmi %0 */
9640 #line 795 "rx-decode.opc"
9641 int rdst AU = op[2] & 0x0f;
9644 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9645 "/** 1111 1101 0001 1111 0010 rdst mvfacmi %0 */",
9646 op[0], op[1], op[2]);
9647 printf (" rdst = 0x%x\n", rdst);
9649 SYNTAX("mvfacmi %0");
9650 #line 795 "rx-decode.opc"
9651 ID(mvfacmi); DR(rdst); F_____;
9655 default: UNSUPPORTED(); break;
9660 switch (op[2] & 0x00)
9665 /** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */
9666 #line 308 "rx-decode.opc"
9667 int p AU = (op[1] >> 2) & 0x01;
9668 #line 308 "rx-decode.opc"
9669 int sz AU = op[1] & 0x03;
9670 #line 308 "rx-decode.opc"
9671 int rdst AU = (op[2] >> 4) & 0x0f;
9672 #line 308 "rx-decode.opc"
9673 int rsrc AU = op[2] & 0x0f;
9676 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9677 "/** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */",
9678 op[0], op[1], op[2]);
9679 printf (" p = 0x%x,", p);
9680 printf (" sz = 0x%x,", sz);
9681 printf (" rdst = 0x%x,", rdst);
9682 printf (" rsrc = 0x%x\n", rsrc);
9684 SYNTAX("mov%s %1, %0");
9685 #line 308 "rx-decode.opc"
9686 ID(mov); sBWL (sz); SR(rsrc); F_____;
9687 OP(0, p ? RX_Operand_Predec : RX_Operand_Postinc, rdst, 0);
9695 switch (op[2] & 0x00)
9698 goto op_semantics_71;
9704 switch (op[2] & 0x00)
9707 goto op_semantics_71;
9713 switch (op[2] & 0x00)
9716 goto op_semantics_71;
9722 switch (op[2] & 0x00)
9725 goto op_semantics_71;
9731 switch (op[2] & 0x00)
9734 goto op_semantics_71;
9740 switch (op[2] & 0x00)
9745 /** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */
9746 #line 312 "rx-decode.opc"
9747 int p AU = (op[1] >> 2) & 0x01;
9748 #line 312 "rx-decode.opc"
9749 int sz AU = op[1] & 0x03;
9750 #line 312 "rx-decode.opc"
9751 int rsrc AU = (op[2] >> 4) & 0x0f;
9752 #line 312 "rx-decode.opc"
9753 int rdst AU = op[2] & 0x0f;
9756 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9757 "/** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */",
9758 op[0], op[1], op[2]);
9759 printf (" p = 0x%x,", p);
9760 printf (" sz = 0x%x,", sz);
9761 printf (" rsrc = 0x%x,", rsrc);
9762 printf (" rdst = 0x%x\n", rdst);
9764 SYNTAX("mov%s %1, %0");
9765 #line 312 "rx-decode.opc"
9766 ID(mov); sBWL (sz); DR(rdst); F_____;
9767 OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
9775 switch (op[2] & 0x00)
9778 goto op_semantics_72;
9784 switch (op[2] & 0x00)
9787 goto op_semantics_72;
9793 switch (op[2] & 0x00)
9796 goto op_semantics_72;
9802 switch (op[2] & 0x00)
9805 goto op_semantics_72;
9811 switch (op[2] & 0x00)
9814 goto op_semantics_72;
9820 switch (op[2] & 0x00)
9825 /** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */
9826 #line 322 "rx-decode.opc"
9827 int p AU = (op[1] >> 2) & 0x01;
9828 #line 322 "rx-decode.opc"
9829 int sz AU = op[1] & 0x03;
9830 #line 322 "rx-decode.opc"
9831 int rsrc AU = (op[2] >> 4) & 0x0f;
9832 #line 322 "rx-decode.opc"
9833 int rdst AU = op[2] & 0x0f;
9836 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9837 "/** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */",
9838 op[0], op[1], op[2]);
9839 printf (" p = 0x%x,", p);
9840 printf (" sz = 0x%x,", sz);
9841 printf (" rsrc = 0x%x,", rsrc);
9842 printf (" rdst = 0x%x\n", rdst);
9844 SYNTAX("movu%s %1, %0");
9845 #line 322 "rx-decode.opc"
9846 ID(mov); uBWL (sz); DR(rdst); F_____;
9847 OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
9849 /*----------------------------------------------------------------------*/
9858 switch (op[2] & 0x00)
9861 goto op_semantics_73;
9867 switch (op[2] & 0x00)
9870 goto op_semantics_73;
9876 switch (op[2] & 0x00)
9879 goto op_semantics_73;
9885 switch (op[2] & 0x00)
9888 goto op_semantics_73;
9894 switch (op[2] & 0x00)
9897 goto op_semantics_73;
9903 switch (op[2] & 0x00)
9907 /** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */
9908 #line 655 "rx-decode.opc"
9909 int rsrc AU = (op[2] >> 4) & 0x0f;
9910 #line 655 "rx-decode.opc"
9911 int rdst AU = op[2] & 0x0f;
9914 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9915 "/** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */",
9916 op[0], op[1], op[2]);
9917 printf (" rsrc = 0x%x,", rsrc);
9918 printf (" rdst = 0x%x\n", rdst);
9920 SYNTAX("shlr %2, %0");
9921 #line 655 "rx-decode.opc"
9922 ID(shlr); S2R(rsrc); SR(rdst); DR(rdst); F__SZC;
9930 switch (op[2] & 0x00)
9934 /** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */
9935 #line 645 "rx-decode.opc"
9936 int rsrc AU = (op[2] >> 4) & 0x0f;
9937 #line 645 "rx-decode.opc"
9938 int rdst AU = op[2] & 0x0f;
9941 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9942 "/** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */",
9943 op[0], op[1], op[2]);
9944 printf (" rsrc = 0x%x,", rsrc);
9945 printf (" rdst = 0x%x\n", rdst);
9947 SYNTAX("shar %2, %0");
9948 #line 645 "rx-decode.opc"
9949 ID(shar); S2R(rsrc); SR(rdst); DR(rdst); F_0SZC;
9957 switch (op[2] & 0x00)
9961 /** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */
9962 #line 635 "rx-decode.opc"
9963 int rsrc AU = (op[2] >> 4) & 0x0f;
9964 #line 635 "rx-decode.opc"
9965 int rdst AU = op[2] & 0x0f;
9968 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9969 "/** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */",
9970 op[0], op[1], op[2]);
9971 printf (" rsrc = 0x%x,", rsrc);
9972 printf (" rdst = 0x%x\n", rdst);
9974 SYNTAX("shll %2, %0");
9975 #line 635 "rx-decode.opc"
9976 ID(shll); S2R(rsrc); SR(rdst); DR(rdst); F_OSZC;
9984 switch (op[2] & 0x00)
9988 /** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */
9989 #line 679 "rx-decode.opc"
9990 int rsrc AU = (op[2] >> 4) & 0x0f;
9991 #line 679 "rx-decode.opc"
9992 int rdst AU = op[2] & 0x0f;
9995 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
9996 "/** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */",
9997 op[0], op[1], op[2]);
9998 printf (" rsrc = 0x%x,", rsrc);
9999 printf (" rdst = 0x%x\n", rdst);
10001 SYNTAX("rotr %1, %0");
10002 #line 679 "rx-decode.opc"
10003 ID(rotr); SR(rsrc); DR(rdst); F__SZC;
10011 switch (op[2] & 0x00)
10015 /** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */
10016 #line 682 "rx-decode.opc"
10017 int rsrc AU = (op[2] >> 4) & 0x0f;
10018 #line 682 "rx-decode.opc"
10019 int rdst AU = op[2] & 0x0f;
10022 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10023 "/** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */",
10024 op[0], op[1], op[2]);
10025 printf (" rsrc = 0x%x,", rsrc);
10026 printf (" rdst = 0x%x\n", rdst);
10028 SYNTAX("revw %1, %0");
10029 #line 682 "rx-decode.opc"
10030 ID(revw); SR(rsrc); DR(rdst);
10038 switch (op[2] & 0x00)
10042 /** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */
10043 #line 673 "rx-decode.opc"
10044 int rsrc AU = (op[2] >> 4) & 0x0f;
10045 #line 673 "rx-decode.opc"
10046 int rdst AU = op[2] & 0x0f;
10049 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10050 "/** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */",
10051 op[0], op[1], op[2]);
10052 printf (" rsrc = 0x%x,", rsrc);
10053 printf (" rdst = 0x%x\n", rdst);
10055 SYNTAX("rotl %1, %0");
10056 #line 673 "rx-decode.opc"
10057 ID(rotl); SR(rsrc); DR(rdst); F__SZC;
10065 switch (op[2] & 0x00)
10069 /** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */
10070 #line 685 "rx-decode.opc"
10071 int rsrc AU = (op[2] >> 4) & 0x0f;
10072 #line 685 "rx-decode.opc"
10073 int rdst AU = op[2] & 0x0f;
10076 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10077 "/** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */",
10078 op[0], op[1], op[2]);
10079 printf (" rsrc = 0x%x,", rsrc);
10080 printf (" rdst = 0x%x\n", rdst);
10082 SYNTAX("revl %1, %0");
10083 #line 685 "rx-decode.opc"
10084 ID(revl); SR(rsrc); DR(rdst);
10086 /*----------------------------------------------------------------------*/
10095 switch (op[2] & 0x00)
10100 /** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */
10101 #line 928 "rx-decode.opc"
10102 int c AU = op[1] & 0x01;
10103 #line 928 "rx-decode.opc"
10104 int rsrc AU = (op[2] >> 4) & 0x0f;
10105 #line 928 "rx-decode.opc"
10106 int rdst AU = op[2] & 0x0f;
10109 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10110 "/** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */",
10111 op[0], op[1], op[2]);
10112 printf (" c = 0x%x,", c);
10113 printf (" rsrc = 0x%x,", rsrc);
10114 printf (" rdst = 0x%x\n", rdst);
10116 SYNTAX("mvtc %1, %0");
10117 #line 928 "rx-decode.opc"
10118 ID(mov); SR(rsrc); DR(c*16+rdst + 16);
10126 switch (op[2] & 0x00)
10129 goto op_semantics_74;
10135 switch (op[2] & 0x00)
10140 /** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */
10141 #line 931 "rx-decode.opc"
10142 int s AU = op[1] & 0x01;
10143 #line 931 "rx-decode.opc"
10144 int rsrc AU = (op[2] >> 4) & 0x0f;
10145 #line 931 "rx-decode.opc"
10146 int rdst AU = op[2] & 0x0f;
10149 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10150 "/** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */",
10151 op[0], op[1], op[2]);
10152 printf (" s = 0x%x,", s);
10153 printf (" rsrc = 0x%x,", rsrc);
10154 printf (" rdst = 0x%x\n", rdst);
10156 SYNTAX("mvfc %1, %0");
10157 #line 931 "rx-decode.opc"
10158 ID(mov); SR((s*16+rsrc) + 16); DR(rdst);
10160 /*----------------------------------------------------------------------*/
10169 switch (op[2] & 0x00)
10172 goto op_semantics_75;
10178 switch (op[2] & 0x00)
10183 /** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */
10184 #line 676 "rx-decode.opc"
10185 int i AU = op[1] & 0x01;
10186 #line 676 "rx-decode.opc"
10187 int mmmm AU = (op[2] >> 4) & 0x0f;
10188 #line 676 "rx-decode.opc"
10189 int rdst AU = op[2] & 0x0f;
10192 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10193 "/** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */",
10194 op[0], op[1], op[2]);
10195 printf (" i = 0x%x,", i);
10196 printf (" mmmm = 0x%x,", mmmm);
10197 printf (" rdst = 0x%x\n", rdst);
10199 SYNTAX("rotr #%1, %0");
10200 #line 676 "rx-decode.opc"
10201 ID(rotr); SC(i*16+mmmm); DR(rdst); F__SZC;
10209 switch (op[2] & 0x00)
10212 goto op_semantics_76;
10218 switch (op[2] & 0x00)
10223 /** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */
10224 #line 670 "rx-decode.opc"
10225 int i AU = op[1] & 0x01;
10226 #line 670 "rx-decode.opc"
10227 int mmmm AU = (op[2] >> 4) & 0x0f;
10228 #line 670 "rx-decode.opc"
10229 int rdst AU = op[2] & 0x0f;
10232 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10233 "/** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */",
10234 op[0], op[1], op[2]);
10235 printf (" i = 0x%x,", i);
10236 printf (" mmmm = 0x%x,", mmmm);
10237 printf (" rdst = 0x%x\n", rdst);
10239 SYNTAX("rotl #%1, %0");
10240 #line 670 "rx-decode.opc"
10241 ID(rotl); SC(i*16+mmmm); DR(rdst); F__SZC;
10249 switch (op[2] & 0x00)
10252 goto op_semantics_77;
10258 switch (op[2] & 0xf0)
10263 /** 1111 1101 0111 im00 0010rdst adc #%1, %0 */
10264 #line 452 "rx-decode.opc"
10265 int im AU = (op[1] >> 2) & 0x03;
10266 #line 452 "rx-decode.opc"
10267 int rdst AU = op[2] & 0x0f;
10270 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10271 "/** 1111 1101 0111 im00 0010rdst adc #%1, %0 */",
10272 op[0], op[1], op[2]);
10273 printf (" im = 0x%x,", im);
10274 printf (" rdst = 0x%x\n", rdst);
10276 SYNTAX("adc #%1, %0");
10277 #line 452 "rx-decode.opc"
10278 ID(adc); SC(IMMex(im)); DR(rdst); F_OSZC;
10285 /** 1111 1101 0111 im00 0100rdst max #%1, %0 */
10286 #line 534 "rx-decode.opc"
10287 int im AU = (op[1] >> 2) & 0x03;
10288 #line 534 "rx-decode.opc"
10289 int rdst AU = op[2] & 0x0f;
10292 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10293 "/** 1111 1101 0111 im00 0100rdst max #%1, %0 */",
10294 op[0], op[1], op[2]);
10295 printf (" im = 0x%x,", im);
10296 printf (" rdst = 0x%x\n", rdst);
10298 SYNTAX("max #%1, %0");
10299 #line 534 "rx-decode.opc"
10300 ID(max); DR(rdst); SC(IMMex(im));
10307 /** 1111 1101 0111 im00 0101rdst min #%1, %0 */
10308 #line 554 "rx-decode.opc"
10309 int im AU = (op[1] >> 2) & 0x03;
10310 #line 554 "rx-decode.opc"
10311 int rdst AU = op[2] & 0x0f;
10314 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10315 "/** 1111 1101 0111 im00 0101rdst min #%1, %0 */",
10316 op[0], op[1], op[2]);
10317 printf (" im = 0x%x,", im);
10318 printf (" rdst = 0x%x\n", rdst);
10320 SYNTAX("min #%1, %0");
10321 #line 554 "rx-decode.opc"
10322 ID(min); DR(rdst); SC(IMMex(im));
10329 /** 1111 1101 0111 im00 0110rdst emul #%1, %0 */
10330 #line 584 "rx-decode.opc"
10331 int im AU = (op[1] >> 2) & 0x03;
10332 #line 584 "rx-decode.opc"
10333 int rdst AU = op[2] & 0x0f;
10336 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10337 "/** 1111 1101 0111 im00 0110rdst emul #%1, %0 */",
10338 op[0], op[1], op[2]);
10339 printf (" im = 0x%x,", im);
10340 printf (" rdst = 0x%x\n", rdst);
10342 SYNTAX("emul #%1, %0");
10343 #line 584 "rx-decode.opc"
10344 ID(emul); DR(rdst); SC(IMMex(im));
10351 /** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */
10352 #line 596 "rx-decode.opc"
10353 int im AU = (op[1] >> 2) & 0x03;
10354 #line 596 "rx-decode.opc"
10355 int rdst AU = op[2] & 0x0f;
10358 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10359 "/** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */",
10360 op[0], op[1], op[2]);
10361 printf (" im = 0x%x,", im);
10362 printf (" rdst = 0x%x\n", rdst);
10364 SYNTAX("emulu #%1, %0");
10365 #line 596 "rx-decode.opc"
10366 ID(emulu); DR(rdst); SC(IMMex(im));
10373 /** 1111 1101 0111 im00 1000rdst div #%1, %0 */
10374 #line 608 "rx-decode.opc"
10375 int im AU = (op[1] >> 2) & 0x03;
10376 #line 608 "rx-decode.opc"
10377 int rdst AU = op[2] & 0x0f;
10380 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10381 "/** 1111 1101 0111 im00 1000rdst div #%1, %0 */",
10382 op[0], op[1], op[2]);
10383 printf (" im = 0x%x,", im);
10384 printf (" rdst = 0x%x\n", rdst);
10386 SYNTAX("div #%1, %0");
10387 #line 608 "rx-decode.opc"
10388 ID(div); DR(rdst); SC(IMMex(im)); F_O___;
10395 /** 1111 1101 0111 im00 1001rdst divu #%1, %0 */
10396 #line 620 "rx-decode.opc"
10397 int im AU = (op[1] >> 2) & 0x03;
10398 #line 620 "rx-decode.opc"
10399 int rdst AU = op[2] & 0x0f;
10402 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10403 "/** 1111 1101 0111 im00 1001rdst divu #%1, %0 */",
10404 op[0], op[1], op[2]);
10405 printf (" im = 0x%x,", im);
10406 printf (" rdst = 0x%x\n", rdst);
10408 SYNTAX("divu #%1, %0");
10409 #line 620 "rx-decode.opc"
10410 ID(divu); DR(rdst); SC(IMMex(im)); F_O___;
10417 /** 1111 1101 0111 im00 1100rdst tst #%1, %2 */
10418 #line 431 "rx-decode.opc"
10419 int im AU = (op[1] >> 2) & 0x03;
10420 #line 431 "rx-decode.opc"
10421 int rdst AU = op[2] & 0x0f;
10424 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10425 "/** 1111 1101 0111 im00 1100rdst tst #%1, %2 */",
10426 op[0], op[1], op[2]);
10427 printf (" im = 0x%x,", im);
10428 printf (" rdst = 0x%x\n", rdst);
10430 SYNTAX("tst #%1, %2");
10431 #line 431 "rx-decode.opc"
10432 ID(and); SC(IMMex(im)); S2R(rdst); F__SZ_;
10439 /** 1111 1101 0111 im00 1101rdst xor #%1, %0 */
10440 #line 410 "rx-decode.opc"
10441 int im AU = (op[1] >> 2) & 0x03;
10442 #line 410 "rx-decode.opc"
10443 int rdst AU = op[2] & 0x0f;
10446 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10447 "/** 1111 1101 0111 im00 1101rdst xor #%1, %0 */",
10448 op[0], op[1], op[2]);
10449 printf (" im = 0x%x,", im);
10450 printf (" rdst = 0x%x\n", rdst);
10452 SYNTAX("xor #%1, %0");
10453 #line 410 "rx-decode.opc"
10454 ID(xor); SC(IMMex(im)); DR(rdst); F__SZ_;
10461 /** 1111 1101 0111 im00 1110rdst stz #%1, %0 */
10462 #line 356 "rx-decode.opc"
10463 int im AU = (op[1] >> 2) & 0x03;
10464 #line 356 "rx-decode.opc"
10465 int rdst AU = op[2] & 0x0f;
10468 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10469 "/** 1111 1101 0111 im00 1110rdst stz #%1, %0 */",
10470 op[0], op[1], op[2]);
10471 printf (" im = 0x%x,", im);
10472 printf (" rdst = 0x%x\n", rdst);
10474 SYNTAX("stz #%1, %0");
10475 #line 356 "rx-decode.opc"
10476 ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_z);
10483 /** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */
10484 #line 359 "rx-decode.opc"
10485 int im AU = (op[1] >> 2) & 0x03;
10486 #line 359 "rx-decode.opc"
10487 int rdst AU = op[2] & 0x0f;
10490 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10491 "/** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */",
10492 op[0], op[1], op[2]);
10493 printf (" im = 0x%x,", im);
10494 printf (" rdst = 0x%x\n", rdst);
10496 SYNTAX("stnz #%1, %0");
10497 #line 359 "rx-decode.opc"
10498 ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_nz);
10500 /*----------------------------------------------------------------------*/
10505 default: UNSUPPORTED(); break;
10510 switch (op[2] & 0xf0)
10514 /** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */
10515 #line 828 "rx-decode.opc"
10516 int rdst AU = op[2] & 0x0f;
10519 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10520 "/** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */",
10521 op[0], op[1], op[2]);
10522 printf (" rdst = 0x%x\n", rdst);
10524 SYNTAX("fsub #%1, %0");
10525 #line 828 "rx-decode.opc"
10526 ID(fsub); DR(rdst); SC(IMM(0)); F__SZ_;
10532 /** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */
10533 #line 822 "rx-decode.opc"
10534 int rdst AU = op[2] & 0x0f;
10537 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10538 "/** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */",
10539 op[0], op[1], op[2]);
10540 printf (" rdst = 0x%x\n", rdst);
10542 SYNTAX("fcmp #%1, %0");
10543 #line 822 "rx-decode.opc"
10544 ID(fcmp); DR(rdst); SC(IMM(0)); F_OSZ_;
10550 /** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */
10551 #line 816 "rx-decode.opc"
10552 int rdst AU = op[2] & 0x0f;
10555 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10556 "/** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */",
10557 op[0], op[1], op[2]);
10558 printf (" rdst = 0x%x\n", rdst);
10560 SYNTAX("fadd #%1, %0");
10561 #line 816 "rx-decode.opc"
10562 ID(fadd); DR(rdst); SC(IMM(0)); F__SZ_;
10568 /** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */
10569 #line 837 "rx-decode.opc"
10570 int rdst AU = op[2] & 0x0f;
10573 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10574 "/** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */",
10575 op[0], op[1], op[2]);
10576 printf (" rdst = 0x%x\n", rdst);
10578 SYNTAX("fmul #%1, %0");
10579 #line 837 "rx-decode.opc"
10580 ID(fmul); DR(rdst); SC(IMM(0)); F__SZ_;
10586 /** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */
10587 #line 843 "rx-decode.opc"
10588 int rdst AU = op[2] & 0x0f;
10591 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10592 "/** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */",
10593 op[0], op[1], op[2]);
10594 printf (" rdst = 0x%x\n", rdst);
10596 SYNTAX("fdiv #%1, %0");
10597 #line 843 "rx-decode.opc"
10598 ID(fdiv); DR(rdst); SC(IMM(0)); F__SZ_;
10602 default: UNSUPPORTED(); break;
10607 switch (op[2] & 0xe0)
10612 /** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */
10613 #line 925 "rx-decode.opc"
10614 int im AU = (op[1] >> 2) & 0x03;
10615 #line 925 "rx-decode.opc"
10616 int crdst AU = op[2] & 0x1f;
10619 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10620 "/** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */",
10621 op[0], op[1], op[2]);
10622 printf (" im = 0x%x,", im);
10623 printf (" crdst = 0x%x\n", crdst);
10625 SYNTAX("mvtc #%1, %0");
10626 #line 925 "rx-decode.opc"
10627 ID(mov); SC(IMMex(im)); DR(crdst + 16);
10631 default: UNSUPPORTED(); break;
10636 switch (op[2] & 0xf0)
10639 goto op_semantics_78;
10642 goto op_semantics_79;
10645 goto op_semantics_80;
10648 goto op_semantics_81;
10651 goto op_semantics_82;
10654 goto op_semantics_83;
10657 goto op_semantics_84;
10660 goto op_semantics_85;
10663 goto op_semantics_86;
10666 goto op_semantics_87;
10669 goto op_semantics_88;
10671 default: UNSUPPORTED(); break;
10676 switch (op[2] & 0xe0)
10679 goto op_semantics_89;
10681 default: UNSUPPORTED(); break;
10686 switch (op[2] & 0xf0)
10689 goto op_semantics_78;
10692 goto op_semantics_79;
10695 goto op_semantics_80;
10698 goto op_semantics_81;
10701 goto op_semantics_82;
10704 goto op_semantics_83;
10707 goto op_semantics_84;
10710 goto op_semantics_85;
10713 goto op_semantics_86;
10716 goto op_semantics_87;
10719 goto op_semantics_88;
10721 default: UNSUPPORTED(); break;
10726 switch (op[2] & 0xe0)
10729 goto op_semantics_89;
10731 default: UNSUPPORTED(); break;
10736 switch (op[2] & 0xf0)
10739 goto op_semantics_78;
10742 goto op_semantics_79;
10745 goto op_semantics_80;
10748 goto op_semantics_81;
10751 goto op_semantics_82;
10754 goto op_semantics_83;
10757 goto op_semantics_84;
10760 goto op_semantics_85;
10763 goto op_semantics_86;
10766 goto op_semantics_87;
10769 goto op_semantics_88;
10771 default: UNSUPPORTED(); break;
10776 switch (op[2] & 0xe0)
10779 goto op_semantics_89;
10781 default: UNSUPPORTED(); break;
10786 switch (op[2] & 0x00)
10791 /** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */
10792 #line 658 "rx-decode.opc"
10793 int immmm AU = op[1] & 0x1f;
10794 #line 658 "rx-decode.opc"
10795 int rsrc AU = (op[2] >> 4) & 0x0f;
10796 #line 658 "rx-decode.opc"
10797 int rdst AU = op[2] & 0x0f;
10800 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
10801 "/** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */",
10802 op[0], op[1], op[2]);
10803 printf (" immmm = 0x%x,", immmm);
10804 printf (" rsrc = 0x%x,", rsrc);
10805 printf (" rdst = 0x%x\n", rdst);
10807 SYNTAX("shlr #%2, %1, %0");
10808 #line 658 "rx-decode.opc"
10809 ID(shlr); S2C(immmm); SR(rsrc); DR(rdst); F__SZC;
10811 /*----------------------------------------------------------------------*/
10820 switch (op[2] & 0x00)
10823 goto op_semantics_90;
10829 switch (op[2] & 0x00)
10832 goto op_semantics_90;
10838 switch (op[2] & 0x00)
10841 goto op_semantics_90;
10847 switch (op[2] & 0x00)
10850 goto op_semantics_90;
10856 switch (op[2] & 0x00)
10859 goto op_semantics_90;
10865 switch (op[2] & 0x00)
10868 goto op_semantics_90;
10874 switch (op[2] & 0x00)
10877 goto op_semantics_90;
10883 switch (op[2] & 0x00)
10886 goto op_semantics_90;
10892 switch (op[2] & 0x00)
10895 goto op_semantics_90;
10901 switch (op[2] & 0x00)
10904 goto op_semantics_90;
10910 switch (op[2] & 0x00)
10913 goto op_semantics_90;
10919 switch (op[2] & 0x00)
10922 goto op_semantics_90;
10928 switch (op[2] & 0x00)
10931 goto op_semantics_90;
10937 switch (op[2] & 0x00)
10940 goto op_semantics_90;
10946 switch (op[2] & 0x00)
10949 goto op_semantics_90;
10955 switch (op[2] & 0x00)
10958 goto op_semantics_90;
10964 switch (op[2] & 0x00)
10967 goto op_semantics_90;
10973 switch (op[2] & 0x00)
10976 goto op_semantics_90;
10982 switch (op[2] & 0x00)
10985 goto op_semantics_90;
10991 switch (op[2] & 0x00)
10994 goto op_semantics_90;
11000 switch (op[2] & 0x00)
11003 goto op_semantics_90;
11009 switch (op[2] & 0x00)
11012 goto op_semantics_90;
11018 switch (op[2] & 0x00)
11021 goto op_semantics_90;
11027 switch (op[2] & 0x00)
11030 goto op_semantics_90;
11036 switch (op[2] & 0x00)
11039 goto op_semantics_90;
11045 switch (op[2] & 0x00)
11048 goto op_semantics_90;
11054 switch (op[2] & 0x00)
11057 goto op_semantics_90;
11063 switch (op[2] & 0x00)
11066 goto op_semantics_90;
11072 switch (op[2] & 0x00)
11075 goto op_semantics_90;
11081 switch (op[2] & 0x00)
11084 goto op_semantics_90;
11090 switch (op[2] & 0x00)
11093 goto op_semantics_90;
11099 switch (op[2] & 0x00)
11104 /** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */
11105 #line 648 "rx-decode.opc"
11106 int immmm AU = op[1] & 0x1f;
11107 #line 648 "rx-decode.opc"
11108 int rsrc AU = (op[2] >> 4) & 0x0f;
11109 #line 648 "rx-decode.opc"
11110 int rdst AU = op[2] & 0x0f;
11113 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
11114 "/** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */",
11115 op[0], op[1], op[2]);
11116 printf (" immmm = 0x%x,", immmm);
11117 printf (" rsrc = 0x%x,", rsrc);
11118 printf (" rdst = 0x%x\n", rdst);
11120 SYNTAX("shar #%2, %1, %0");
11121 #line 648 "rx-decode.opc"
11122 ID(shar); S2C(immmm); SR(rsrc); DR(rdst); F_0SZC;
11131 switch (op[2] & 0x00)
11134 goto op_semantics_91;
11140 switch (op[2] & 0x00)
11143 goto op_semantics_91;
11149 switch (op[2] & 0x00)
11152 goto op_semantics_91;
11158 switch (op[2] & 0x00)
11161 goto op_semantics_91;
11167 switch (op[2] & 0x00)
11170 goto op_semantics_91;
11176 switch (op[2] & 0x00)
11179 goto op_semantics_91;
11185 switch (op[2] & 0x00)
11188 goto op_semantics_91;
11194 switch (op[2] & 0x00)
11197 goto op_semantics_91;
11203 switch (op[2] & 0x00)
11206 goto op_semantics_91;
11212 switch (op[2] & 0x00)
11215 goto op_semantics_91;
11221 switch (op[2] & 0x00)
11224 goto op_semantics_91;
11230 switch (op[2] & 0x00)
11233 goto op_semantics_91;
11239 switch (op[2] & 0x00)
11242 goto op_semantics_91;
11248 switch (op[2] & 0x00)
11251 goto op_semantics_91;
11257 switch (op[2] & 0x00)
11260 goto op_semantics_91;
11266 switch (op[2] & 0x00)
11269 goto op_semantics_91;
11275 switch (op[2] & 0x00)
11278 goto op_semantics_91;
11284 switch (op[2] & 0x00)
11287 goto op_semantics_91;
11293 switch (op[2] & 0x00)
11296 goto op_semantics_91;
11302 switch (op[2] & 0x00)
11305 goto op_semantics_91;
11311 switch (op[2] & 0x00)
11314 goto op_semantics_91;
11320 switch (op[2] & 0x00)
11323 goto op_semantics_91;
11329 switch (op[2] & 0x00)
11332 goto op_semantics_91;
11338 switch (op[2] & 0x00)
11341 goto op_semantics_91;
11347 switch (op[2] & 0x00)
11350 goto op_semantics_91;
11356 switch (op[2] & 0x00)
11359 goto op_semantics_91;
11365 switch (op[2] & 0x00)
11368 goto op_semantics_91;
11374 switch (op[2] & 0x00)
11377 goto op_semantics_91;
11383 switch (op[2] & 0x00)
11386 goto op_semantics_91;
11392 switch (op[2] & 0x00)
11395 goto op_semantics_91;
11401 switch (op[2] & 0x00)
11404 goto op_semantics_91;
11410 switch (op[2] & 0x00)
11415 /** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */
11416 #line 638 "rx-decode.opc"
11417 int immmm AU = op[1] & 0x1f;
11418 #line 638 "rx-decode.opc"
11419 int rsrc AU = (op[2] >> 4) & 0x0f;
11420 #line 638 "rx-decode.opc"
11421 int rdst AU = op[2] & 0x0f;
11424 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
11425 "/** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */",
11426 op[0], op[1], op[2]);
11427 printf (" immmm = 0x%x,", immmm);
11428 printf (" rsrc = 0x%x,", rsrc);
11429 printf (" rdst = 0x%x\n", rdst);
11431 SYNTAX("shll #%2, %1, %0");
11432 #line 638 "rx-decode.opc"
11433 ID(shll); S2C(immmm); SR(rsrc); DR(rdst); F_OSZC;
11442 switch (op[2] & 0x00)
11445 goto op_semantics_92;
11451 switch (op[2] & 0x00)
11454 goto op_semantics_92;
11460 switch (op[2] & 0x00)
11463 goto op_semantics_92;
11469 switch (op[2] & 0x00)
11472 goto op_semantics_92;
11478 switch (op[2] & 0x00)
11481 goto op_semantics_92;
11487 switch (op[2] & 0x00)
11490 goto op_semantics_92;
11496 switch (op[2] & 0x00)
11499 goto op_semantics_92;
11505 switch (op[2] & 0x00)
11508 goto op_semantics_92;
11514 switch (op[2] & 0x00)
11517 goto op_semantics_92;
11523 switch (op[2] & 0x00)
11526 goto op_semantics_92;
11532 switch (op[2] & 0x00)
11535 goto op_semantics_92;
11541 switch (op[2] & 0x00)
11544 goto op_semantics_92;
11550 switch (op[2] & 0x00)
11553 goto op_semantics_92;
11559 switch (op[2] & 0x00)
11562 goto op_semantics_92;
11568 switch (op[2] & 0x00)
11571 goto op_semantics_92;
11577 switch (op[2] & 0x00)
11580 goto op_semantics_92;
11586 switch (op[2] & 0x00)
11589 goto op_semantics_92;
11595 switch (op[2] & 0x00)
11598 goto op_semantics_92;
11604 switch (op[2] & 0x00)
11607 goto op_semantics_92;
11613 switch (op[2] & 0x00)
11616 goto op_semantics_92;
11622 switch (op[2] & 0x00)
11625 goto op_semantics_92;
11631 switch (op[2] & 0x00)
11634 goto op_semantics_92;
11640 switch (op[2] & 0x00)
11643 goto op_semantics_92;
11649 switch (op[2] & 0x00)
11652 goto op_semantics_92;
11658 switch (op[2] & 0x00)
11661 goto op_semantics_92;
11667 switch (op[2] & 0x00)
11670 goto op_semantics_92;
11676 switch (op[2] & 0x00)
11679 goto op_semantics_92;
11685 switch (op[2] & 0x00)
11688 goto op_semantics_92;
11694 switch (op[2] & 0x00)
11697 goto op_semantics_92;
11703 switch (op[2] & 0x00)
11706 goto op_semantics_92;
11712 switch (op[2] & 0x00)
11715 goto op_semantics_92;
11721 switch (op[2] & 0xf0)
11740 /** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */
11741 #line 904 "rx-decode.opc"
11742 int bittt AU = op[1] & 0x1f;
11743 #line 904 "rx-decode.opc"
11744 int cond AU = (op[2] >> 4) & 0x0f;
11745 #line 904 "rx-decode.opc"
11746 int rdst AU = op[2] & 0x0f;
11749 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
11750 "/** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */",
11751 op[0], op[1], op[2]);
11752 printf (" bittt = 0x%x,", bittt);
11753 printf (" cond = 0x%x,", cond);
11754 printf (" rdst = 0x%x\n", rdst);
11756 SYNTAX("bm%2 #%1, %0%S0");
11757 #line 904 "rx-decode.opc"
11758 ID(bmcc); BWL(LSIZE); S2cc(cond); SC(bittt); DR(rdst);
11760 /*----------------------------------------------------------------------*/
11761 /* CONTROL REGISTERS */
11768 /** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */
11769 #line 897 "rx-decode.opc"
11770 int bittt AU = op[1] & 0x1f;
11771 #line 897 "rx-decode.opc"
11772 int rdst AU = op[2] & 0x0f;
11775 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
11776 "/** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */",
11777 op[0], op[1], op[2]);
11778 printf (" bittt = 0x%x,", bittt);
11779 printf (" rdst = 0x%x\n", rdst);
11781 SYNTAX("bnot #%1, %0");
11782 #line 897 "rx-decode.opc"
11783 ID(bnot); BWL(LSIZE); SC(bittt); DR(rdst);
11792 switch (op[2] & 0xf0)
11809 goto op_semantics_93;
11812 goto op_semantics_94;
11818 switch (op[2] & 0xf0)
11835 goto op_semantics_93;
11838 goto op_semantics_94;
11844 switch (op[2] & 0xf0)
11861 goto op_semantics_93;
11864 goto op_semantics_94;
11870 switch (op[2] & 0xf0)
11887 goto op_semantics_93;
11890 goto op_semantics_94;
11896 switch (op[2] & 0xf0)
11913 goto op_semantics_93;
11916 goto op_semantics_94;
11922 switch (op[2] & 0xf0)
11939 goto op_semantics_93;
11942 goto op_semantics_94;
11948 switch (op[2] & 0xf0)
11965 goto op_semantics_93;
11968 goto op_semantics_94;
11974 switch (op[2] & 0xf0)
11991 goto op_semantics_93;
11994 goto op_semantics_94;
12000 switch (op[2] & 0xf0)
12017 goto op_semantics_93;
12020 goto op_semantics_94;
12026 switch (op[2] & 0xf0)
12043 goto op_semantics_93;
12046 goto op_semantics_94;
12052 switch (op[2] & 0xf0)
12069 goto op_semantics_93;
12072 goto op_semantics_94;
12078 switch (op[2] & 0xf0)
12095 goto op_semantics_93;
12098 goto op_semantics_94;
12104 switch (op[2] & 0xf0)
12121 goto op_semantics_93;
12124 goto op_semantics_94;
12130 switch (op[2] & 0xf0)
12147 goto op_semantics_93;
12150 goto op_semantics_94;
12156 switch (op[2] & 0xf0)
12173 goto op_semantics_93;
12176 goto op_semantics_94;
12182 switch (op[2] & 0xf0)
12199 goto op_semantics_93;
12202 goto op_semantics_94;
12208 switch (op[2] & 0xf0)
12225 goto op_semantics_93;
12228 goto op_semantics_94;
12234 switch (op[2] & 0xf0)
12251 goto op_semantics_93;
12254 goto op_semantics_94;
12260 switch (op[2] & 0xf0)
12277 goto op_semantics_93;
12280 goto op_semantics_94;
12286 switch (op[2] & 0xf0)
12303 goto op_semantics_93;
12306 goto op_semantics_94;
12312 switch (op[2] & 0xf0)
12329 goto op_semantics_93;
12332 goto op_semantics_94;
12338 switch (op[2] & 0xf0)
12355 goto op_semantics_93;
12358 goto op_semantics_94;
12364 switch (op[2] & 0xf0)
12381 goto op_semantics_93;
12384 goto op_semantics_94;
12390 switch (op[2] & 0xf0)
12407 goto op_semantics_93;
12410 goto op_semantics_94;
12416 switch (op[2] & 0xf0)
12433 goto op_semantics_93;
12436 goto op_semantics_94;
12442 switch (op[2] & 0xf0)
12459 goto op_semantics_93;
12462 goto op_semantics_94;
12468 switch (op[2] & 0xf0)
12485 goto op_semantics_93;
12488 goto op_semantics_94;
12494 switch (op[2] & 0xf0)
12511 goto op_semantics_93;
12514 goto op_semantics_94;
12520 switch (op[2] & 0xf0)
12537 goto op_semantics_93;
12540 goto op_semantics_94;
12546 switch (op[2] & 0xf0)
12563 goto op_semantics_93;
12566 goto op_semantics_94;
12572 switch (op[2] & 0xf0)
12589 goto op_semantics_93;
12592 goto op_semantics_94;
12596 default: UNSUPPORTED(); break;
12601 switch (op[1] & 0xff)
12605 switch (op[2] & 0x00)
12610 /** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */
12611 #line 302 "rx-decode.opc"
12612 int sz AU = (op[1] >> 4) & 0x03;
12613 #line 302 "rx-decode.opc"
12614 int isrc AU = op[1] & 0x0f;
12615 #line 302 "rx-decode.opc"
12616 int bsrc AU = (op[2] >> 4) & 0x0f;
12617 #line 302 "rx-decode.opc"
12618 int rdst AU = op[2] & 0x0f;
12621 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
12622 "/** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */",
12623 op[0], op[1], op[2]);
12624 printf (" sz = 0x%x,", sz);
12625 printf (" isrc = 0x%x,", isrc);
12626 printf (" bsrc = 0x%x,", bsrc);
12627 printf (" rdst = 0x%x\n", rdst);
12629 SYNTAX("mov%s %0, [%1, %2]");
12630 #line 302 "rx-decode.opc"
12631 ID(movbir); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
12639 switch (op[2] & 0x00)
12642 goto op_semantics_95;
12648 switch (op[2] & 0x00)
12651 goto op_semantics_95;
12657 switch (op[2] & 0x00)
12660 goto op_semantics_95;
12666 switch (op[2] & 0x00)
12669 goto op_semantics_95;
12675 switch (op[2] & 0x00)
12678 goto op_semantics_95;
12684 switch (op[2] & 0x00)
12687 goto op_semantics_95;
12693 switch (op[2] & 0x00)
12696 goto op_semantics_95;
12702 switch (op[2] & 0x00)
12705 goto op_semantics_95;
12711 switch (op[2] & 0x00)
12714 goto op_semantics_95;
12720 switch (op[2] & 0x00)
12723 goto op_semantics_95;
12729 switch (op[2] & 0x00)
12732 goto op_semantics_95;
12738 switch (op[2] & 0x00)
12741 goto op_semantics_95;
12747 switch (op[2] & 0x00)
12750 goto op_semantics_95;
12756 switch (op[2] & 0x00)
12759 goto op_semantics_95;
12765 switch (op[2] & 0x00)
12768 goto op_semantics_95;
12774 switch (op[2] & 0x00)
12777 goto op_semantics_95;
12783 switch (op[2] & 0x00)
12786 goto op_semantics_95;
12792 switch (op[2] & 0x00)
12795 goto op_semantics_95;
12801 switch (op[2] & 0x00)
12804 goto op_semantics_95;
12810 switch (op[2] & 0x00)
12813 goto op_semantics_95;
12819 switch (op[2] & 0x00)
12822 goto op_semantics_95;
12828 switch (op[2] & 0x00)
12831 goto op_semantics_95;
12837 switch (op[2] & 0x00)
12840 goto op_semantics_95;
12846 switch (op[2] & 0x00)
12849 goto op_semantics_95;
12855 switch (op[2] & 0x00)
12858 goto op_semantics_95;
12864 switch (op[2] & 0x00)
12867 goto op_semantics_95;
12873 switch (op[2] & 0x00)
12876 goto op_semantics_95;
12882 switch (op[2] & 0x00)
12885 goto op_semantics_95;
12891 switch (op[2] & 0x00)
12894 goto op_semantics_95;
12900 switch (op[2] & 0x00)
12903 goto op_semantics_95;
12909 switch (op[2] & 0x00)
12912 goto op_semantics_95;
12918 switch (op[2] & 0x00)
12921 goto op_semantics_95;
12927 switch (op[2] & 0x00)
12930 goto op_semantics_95;
12936 switch (op[2] & 0x00)
12939 goto op_semantics_95;
12945 switch (op[2] & 0x00)
12948 goto op_semantics_95;
12954 switch (op[2] & 0x00)
12957 goto op_semantics_95;
12963 switch (op[2] & 0x00)
12966 goto op_semantics_95;
12972 switch (op[2] & 0x00)
12975 goto op_semantics_95;
12981 switch (op[2] & 0x00)
12984 goto op_semantics_95;
12990 switch (op[2] & 0x00)
12993 goto op_semantics_95;
12999 switch (op[2] & 0x00)
13002 goto op_semantics_95;
13008 switch (op[2] & 0x00)
13011 goto op_semantics_95;
13017 switch (op[2] & 0x00)
13020 goto op_semantics_95;
13026 switch (op[2] & 0x00)
13029 goto op_semantics_95;
13035 switch (op[2] & 0x00)
13038 goto op_semantics_95;
13044 switch (op[2] & 0x00)
13047 goto op_semantics_95;
13053 switch (op[2] & 0x00)
13056 goto op_semantics_95;
13062 switch (op[2] & 0x00)
13067 /** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */
13068 #line 299 "rx-decode.opc"
13069 int sz AU = (op[1] >> 4) & 0x03;
13070 #line 299 "rx-decode.opc"
13071 int isrc AU = op[1] & 0x0f;
13072 #line 299 "rx-decode.opc"
13073 int bsrc AU = (op[2] >> 4) & 0x0f;
13074 #line 299 "rx-decode.opc"
13075 int rdst AU = op[2] & 0x0f;
13078 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
13079 "/** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */",
13080 op[0], op[1], op[2]);
13081 printf (" sz = 0x%x,", sz);
13082 printf (" isrc = 0x%x,", isrc);
13083 printf (" bsrc = 0x%x,", bsrc);
13084 printf (" rdst = 0x%x\n", rdst);
13086 SYNTAX("mov%s [%1, %2], %0");
13087 #line 299 "rx-decode.opc"
13088 ID(movbi); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
13096 switch (op[2] & 0x00)
13099 goto op_semantics_96;
13105 switch (op[2] & 0x00)
13108 goto op_semantics_96;
13114 switch (op[2] & 0x00)
13117 goto op_semantics_96;
13123 switch (op[2] & 0x00)
13126 goto op_semantics_96;
13132 switch (op[2] & 0x00)
13135 goto op_semantics_96;
13141 switch (op[2] & 0x00)
13144 goto op_semantics_96;
13150 switch (op[2] & 0x00)
13153 goto op_semantics_96;
13159 switch (op[2] & 0x00)
13162 goto op_semantics_96;
13168 switch (op[2] & 0x00)
13171 goto op_semantics_96;
13177 switch (op[2] & 0x00)
13180 goto op_semantics_96;
13186 switch (op[2] & 0x00)
13189 goto op_semantics_96;
13195 switch (op[2] & 0x00)
13198 goto op_semantics_96;
13204 switch (op[2] & 0x00)
13207 goto op_semantics_96;
13213 switch (op[2] & 0x00)
13216 goto op_semantics_96;
13222 switch (op[2] & 0x00)
13225 goto op_semantics_96;
13231 switch (op[2] & 0x00)
13234 goto op_semantics_96;
13240 switch (op[2] & 0x00)
13243 goto op_semantics_96;
13249 switch (op[2] & 0x00)
13252 goto op_semantics_96;
13258 switch (op[2] & 0x00)
13261 goto op_semantics_96;
13267 switch (op[2] & 0x00)
13270 goto op_semantics_96;
13276 switch (op[2] & 0x00)
13279 goto op_semantics_96;
13285 switch (op[2] & 0x00)
13288 goto op_semantics_96;
13294 switch (op[2] & 0x00)
13297 goto op_semantics_96;
13303 switch (op[2] & 0x00)
13306 goto op_semantics_96;
13312 switch (op[2] & 0x00)
13315 goto op_semantics_96;
13321 switch (op[2] & 0x00)
13324 goto op_semantics_96;
13330 switch (op[2] & 0x00)
13333 goto op_semantics_96;
13339 switch (op[2] & 0x00)
13342 goto op_semantics_96;
13348 switch (op[2] & 0x00)
13351 goto op_semantics_96;
13357 switch (op[2] & 0x00)
13360 goto op_semantics_96;
13366 switch (op[2] & 0x00)
13369 goto op_semantics_96;
13375 switch (op[2] & 0x00)
13378 goto op_semantics_96;
13384 switch (op[2] & 0x00)
13387 goto op_semantics_96;
13393 switch (op[2] & 0x00)
13396 goto op_semantics_96;
13402 switch (op[2] & 0x00)
13405 goto op_semantics_96;
13411 switch (op[2] & 0x00)
13414 goto op_semantics_96;
13420 switch (op[2] & 0x00)
13423 goto op_semantics_96;
13429 switch (op[2] & 0x00)
13432 goto op_semantics_96;
13438 switch (op[2] & 0x00)
13441 goto op_semantics_96;
13447 switch (op[2] & 0x00)
13450 goto op_semantics_96;
13456 switch (op[2] & 0x00)
13459 goto op_semantics_96;
13465 switch (op[2] & 0x00)
13468 goto op_semantics_96;
13474 switch (op[2] & 0x00)
13477 goto op_semantics_96;
13483 switch (op[2] & 0x00)
13486 goto op_semantics_96;
13492 switch (op[2] & 0x00)
13495 goto op_semantics_96;
13501 switch (op[2] & 0x00)
13504 goto op_semantics_96;
13510 switch (op[2] & 0x00)
13513 goto op_semantics_96;
13519 switch (op[2] & 0x00)
13524 /** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */
13525 #line 305 "rx-decode.opc"
13526 int sz AU = (op[1] >> 4) & 0x03;
13527 #line 305 "rx-decode.opc"
13528 int isrc AU = op[1] & 0x0f;
13529 #line 305 "rx-decode.opc"
13530 int bsrc AU = (op[2] >> 4) & 0x0f;
13531 #line 305 "rx-decode.opc"
13532 int rdst AU = op[2] & 0x0f;
13535 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
13536 "/** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */",
13537 op[0], op[1], op[2]);
13538 printf (" sz = 0x%x,", sz);
13539 printf (" isrc = 0x%x,", isrc);
13540 printf (" bsrc = 0x%x,", bsrc);
13541 printf (" rdst = 0x%x\n", rdst);
13543 SYNTAX("movu%s [%1, %2], %0");
13544 #line 305 "rx-decode.opc"
13545 ID(movbi); uBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
13553 switch (op[2] & 0x00)
13556 goto op_semantics_97;
13562 switch (op[2] & 0x00)
13565 goto op_semantics_97;
13571 switch (op[2] & 0x00)
13574 goto op_semantics_97;
13580 switch (op[2] & 0x00)
13583 goto op_semantics_97;
13589 switch (op[2] & 0x00)
13592 goto op_semantics_97;
13598 switch (op[2] & 0x00)
13601 goto op_semantics_97;
13607 switch (op[2] & 0x00)
13610 goto op_semantics_97;
13616 switch (op[2] & 0x00)
13619 goto op_semantics_97;
13625 switch (op[2] & 0x00)
13628 goto op_semantics_97;
13634 switch (op[2] & 0x00)
13637 goto op_semantics_97;
13643 switch (op[2] & 0x00)
13646 goto op_semantics_97;
13652 switch (op[2] & 0x00)
13655 goto op_semantics_97;
13661 switch (op[2] & 0x00)
13664 goto op_semantics_97;
13670 switch (op[2] & 0x00)
13673 goto op_semantics_97;
13679 switch (op[2] & 0x00)
13682 goto op_semantics_97;
13688 switch (op[2] & 0x00)
13691 goto op_semantics_97;
13697 switch (op[2] & 0x00)
13700 goto op_semantics_97;
13706 switch (op[2] & 0x00)
13709 goto op_semantics_97;
13715 switch (op[2] & 0x00)
13718 goto op_semantics_97;
13724 switch (op[2] & 0x00)
13727 goto op_semantics_97;
13733 switch (op[2] & 0x00)
13736 goto op_semantics_97;
13742 switch (op[2] & 0x00)
13745 goto op_semantics_97;
13751 switch (op[2] & 0x00)
13754 goto op_semantics_97;
13760 switch (op[2] & 0x00)
13763 goto op_semantics_97;
13769 switch (op[2] & 0x00)
13772 goto op_semantics_97;
13778 switch (op[2] & 0x00)
13781 goto op_semantics_97;
13787 switch (op[2] & 0x00)
13790 goto op_semantics_97;
13796 switch (op[2] & 0x00)
13799 goto op_semantics_97;
13805 switch (op[2] & 0x00)
13808 goto op_semantics_97;
13814 switch (op[2] & 0x00)
13817 goto op_semantics_97;
13823 switch (op[2] & 0x00)
13826 goto op_semantics_97;
13832 switch (op[2] & 0x00)
13835 goto op_semantics_97;
13841 switch (op[2] & 0x00)
13844 goto op_semantics_97;
13850 switch (op[2] & 0x00)
13853 goto op_semantics_97;
13859 switch (op[2] & 0x00)
13862 goto op_semantics_97;
13868 switch (op[2] & 0x00)
13871 goto op_semantics_97;
13877 switch (op[2] & 0x00)
13880 goto op_semantics_97;
13886 switch (op[2] & 0x00)
13889 goto op_semantics_97;
13895 switch (op[2] & 0x00)
13898 goto op_semantics_97;
13904 switch (op[2] & 0x00)
13907 goto op_semantics_97;
13913 switch (op[2] & 0x00)
13916 goto op_semantics_97;
13922 switch (op[2] & 0x00)
13925 goto op_semantics_97;
13931 switch (op[2] & 0x00)
13934 goto op_semantics_97;
13940 switch (op[2] & 0x00)
13943 goto op_semantics_97;
13949 switch (op[2] & 0x00)
13952 goto op_semantics_97;
13958 switch (op[2] & 0x00)
13961 goto op_semantics_97;
13967 switch (op[2] & 0x00)
13970 goto op_semantics_97;
13974 default: UNSUPPORTED(); break;
13979 switch (op[1] & 0xff)
13983 switch (op[2] & 0x00)
13988 /** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */
13989 #line 509 "rx-decode.opc"
13990 int rdst AU = op[1] & 0x0f;
13991 #line 509 "rx-decode.opc"
13992 int srca AU = (op[2] >> 4) & 0x0f;
13993 #line 509 "rx-decode.opc"
13994 int srcb AU = op[2] & 0x0f;
13997 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
13998 "/** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */",
13999 op[0], op[1], op[2]);
14000 printf (" rdst = 0x%x,", rdst);
14001 printf (" srca = 0x%x,", srca);
14002 printf (" srcb = 0x%x\n", srcb);
14004 SYNTAX("sub %2, %1, %0");
14005 #line 509 "rx-decode.opc"
14006 ID(sub); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
14008 /*----------------------------------------------------------------------*/
14017 switch (op[2] & 0x00)
14020 goto op_semantics_98;
14026 switch (op[2] & 0x00)
14029 goto op_semantics_98;
14035 switch (op[2] & 0x00)
14038 goto op_semantics_98;
14044 switch (op[2] & 0x00)
14047 goto op_semantics_98;
14053 switch (op[2] & 0x00)
14056 goto op_semantics_98;
14062 switch (op[2] & 0x00)
14065 goto op_semantics_98;
14071 switch (op[2] & 0x00)
14074 goto op_semantics_98;
14080 switch (op[2] & 0x00)
14083 goto op_semantics_98;
14089 switch (op[2] & 0x00)
14092 goto op_semantics_98;
14098 switch (op[2] & 0x00)
14101 goto op_semantics_98;
14107 switch (op[2] & 0x00)
14110 goto op_semantics_98;
14116 switch (op[2] & 0x00)
14119 goto op_semantics_98;
14125 switch (op[2] & 0x00)
14128 goto op_semantics_98;
14134 switch (op[2] & 0x00)
14137 goto op_semantics_98;
14143 switch (op[2] & 0x00)
14146 goto op_semantics_98;
14152 switch (op[2] & 0x00)
14157 /** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */
14158 #line 476 "rx-decode.opc"
14159 int rdst AU = op[1] & 0x0f;
14160 #line 476 "rx-decode.opc"
14161 int srca AU = (op[2] >> 4) & 0x0f;
14162 #line 476 "rx-decode.opc"
14163 int srcb AU = op[2] & 0x0f;
14166 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
14167 "/** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */",
14168 op[0], op[1], op[2]);
14169 printf (" rdst = 0x%x,", rdst);
14170 printf (" srca = 0x%x,", srca);
14171 printf (" srcb = 0x%x\n", srcb);
14173 SYNTAX("add %2, %1, %0");
14174 #line 476 "rx-decode.opc"
14175 ID(add); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
14177 /*----------------------------------------------------------------------*/
14186 switch (op[2] & 0x00)
14189 goto op_semantics_99;
14195 switch (op[2] & 0x00)
14198 goto op_semantics_99;
14204 switch (op[2] & 0x00)
14207 goto op_semantics_99;
14213 switch (op[2] & 0x00)
14216 goto op_semantics_99;
14222 switch (op[2] & 0x00)
14225 goto op_semantics_99;
14231 switch (op[2] & 0x00)
14234 goto op_semantics_99;
14240 switch (op[2] & 0x00)
14243 goto op_semantics_99;
14249 switch (op[2] & 0x00)
14252 goto op_semantics_99;
14258 switch (op[2] & 0x00)
14261 goto op_semantics_99;
14267 switch (op[2] & 0x00)
14270 goto op_semantics_99;
14276 switch (op[2] & 0x00)
14279 goto op_semantics_99;
14285 switch (op[2] & 0x00)
14288 goto op_semantics_99;
14294 switch (op[2] & 0x00)
14297 goto op_semantics_99;
14303 switch (op[2] & 0x00)
14306 goto op_semantics_99;
14312 switch (op[2] & 0x00)
14315 goto op_semantics_99;
14321 switch (op[2] & 0x00)
14326 /** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */
14327 #line 578 "rx-decode.opc"
14328 int rdst AU = op[1] & 0x0f;
14329 #line 578 "rx-decode.opc"
14330 int srca AU = (op[2] >> 4) & 0x0f;
14331 #line 578 "rx-decode.opc"
14332 int srcb AU = op[2] & 0x0f;
14335 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
14336 "/** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */",
14337 op[0], op[1], op[2]);
14338 printf (" rdst = 0x%x,", rdst);
14339 printf (" srca = 0x%x,", srca);
14340 printf (" srcb = 0x%x\n", srcb);
14342 SYNTAX("mul %2, %1, %0");
14343 #line 578 "rx-decode.opc"
14344 ID(mul); DR(rdst); SR(srcb); S2R(srca); F_____;
14346 /*----------------------------------------------------------------------*/
14355 switch (op[2] & 0x00)
14358 goto op_semantics_100;
14364 switch (op[2] & 0x00)
14367 goto op_semantics_100;
14373 switch (op[2] & 0x00)
14376 goto op_semantics_100;
14382 switch (op[2] & 0x00)
14385 goto op_semantics_100;
14391 switch (op[2] & 0x00)
14394 goto op_semantics_100;
14400 switch (op[2] & 0x00)
14403 goto op_semantics_100;
14409 switch (op[2] & 0x00)
14412 goto op_semantics_100;
14418 switch (op[2] & 0x00)
14421 goto op_semantics_100;
14427 switch (op[2] & 0x00)
14430 goto op_semantics_100;
14436 switch (op[2] & 0x00)
14439 goto op_semantics_100;
14445 switch (op[2] & 0x00)
14448 goto op_semantics_100;
14454 switch (op[2] & 0x00)
14457 goto op_semantics_100;
14463 switch (op[2] & 0x00)
14466 goto op_semantics_100;
14472 switch (op[2] & 0x00)
14475 goto op_semantics_100;
14481 switch (op[2] & 0x00)
14484 goto op_semantics_100;
14490 switch (op[2] & 0x00)
14495 /** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */
14496 #line 386 "rx-decode.opc"
14497 int rdst AU = op[1] & 0x0f;
14498 #line 386 "rx-decode.opc"
14499 int srca AU = (op[2] >> 4) & 0x0f;
14500 #line 386 "rx-decode.opc"
14501 int srcb AU = op[2] & 0x0f;
14504 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
14505 "/** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */",
14506 op[0], op[1], op[2]);
14507 printf (" rdst = 0x%x,", rdst);
14508 printf (" srca = 0x%x,", srca);
14509 printf (" srcb = 0x%x\n", srcb);
14511 SYNTAX("and %2, %1, %0");
14512 #line 386 "rx-decode.opc"
14513 ID(and); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
14515 /*----------------------------------------------------------------------*/
14524 switch (op[2] & 0x00)
14527 goto op_semantics_101;
14533 switch (op[2] & 0x00)
14536 goto op_semantics_101;
14542 switch (op[2] & 0x00)
14545 goto op_semantics_101;
14551 switch (op[2] & 0x00)
14554 goto op_semantics_101;
14560 switch (op[2] & 0x00)
14563 goto op_semantics_101;
14569 switch (op[2] & 0x00)
14572 goto op_semantics_101;
14578 switch (op[2] & 0x00)
14581 goto op_semantics_101;
14587 switch (op[2] & 0x00)
14590 goto op_semantics_101;
14596 switch (op[2] & 0x00)
14599 goto op_semantics_101;
14605 switch (op[2] & 0x00)
14608 goto op_semantics_101;
14614 switch (op[2] & 0x00)
14617 goto op_semantics_101;
14623 switch (op[2] & 0x00)
14626 goto op_semantics_101;
14632 switch (op[2] & 0x00)
14635 goto op_semantics_101;
14641 switch (op[2] & 0x00)
14644 goto op_semantics_101;
14650 switch (op[2] & 0x00)
14653 goto op_semantics_101;
14659 switch (op[2] & 0x00)
14664 /** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */
14665 #line 404 "rx-decode.opc"
14666 int rdst AU = op[1] & 0x0f;
14667 #line 404 "rx-decode.opc"
14668 int srca AU = (op[2] >> 4) & 0x0f;
14669 #line 404 "rx-decode.opc"
14670 int srcb AU = op[2] & 0x0f;
14673 printf ("\033[33m%s\033[0m %02x %02x %02x\n",
14674 "/** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */",
14675 op[0], op[1], op[2]);
14676 printf (" rdst = 0x%x,", rdst);
14677 printf (" srca = 0x%x,", srca);
14678 printf (" srcb = 0x%x\n", srcb);
14680 SYNTAX("or %2, %1, %0");
14681 #line 404 "rx-decode.opc"
14682 ID(or); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
14684 /*----------------------------------------------------------------------*/
14693 switch (op[2] & 0x00)
14696 goto op_semantics_102;
14702 switch (op[2] & 0x00)
14705 goto op_semantics_102;
14711 switch (op[2] & 0x00)
14714 goto op_semantics_102;
14720 switch (op[2] & 0x00)
14723 goto op_semantics_102;
14729 switch (op[2] & 0x00)
14732 goto op_semantics_102;
14738 switch (op[2] & 0x00)
14741 goto op_semantics_102;
14747 switch (op[2] & 0x00)
14750 goto op_semantics_102;
14756 switch (op[2] & 0x00)
14759 goto op_semantics_102;
14765 switch (op[2] & 0x00)
14768 goto op_semantics_102;
14774 switch (op[2] & 0x00)
14777 goto op_semantics_102;
14783 switch (op[2] & 0x00)
14786 goto op_semantics_102;
14792 switch (op[2] & 0x00)
14795 goto op_semantics_102;
14801 switch (op[2] & 0x00)
14804 goto op_semantics_102;
14810 switch (op[2] & 0x00)
14813 goto op_semantics_102;
14819 switch (op[2] & 0x00)
14822 goto op_semantics_102;
14826 default: UNSUPPORTED(); break;
14829 default: UNSUPPORTED(); break;
14831 #line 961 "rx-decode.opc"
14833 return rx->n_bytes;