aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-04 06:04:33 +0000
committerAlan Modra <amodra@gmail.com>2013-02-04 06:04:33 +0000
commit545093a45022e4055d56e83a78a8be30a79c2156 (patch)
treecae3410a0054db961abe619f433d883eec481310 /opcodes
parent89072bd6ebf4966b341fdc18e1bf0cd300ddee4f (diff)
downloadgdb-545093a45022e4055d56e83a78a8be30a79c2156.zip
gdb-545093a45022e4055d56e83a78a8be30a79c2156.tar.gz
gdb-545093a45022e4055d56e83a78a8be30a79c2156.tar.bz2
* po/POTFILES.in: Regenerate.
* rl78-decode.c: Regenerate. * rx-decode.c: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/po/POTFILES.in1
-rw-r--r--opcodes/rl78-decode.c814
-rw-r--r--opcodes/rx-decode.c1212
4 files changed, 1020 insertions, 1013 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9fac47b..a3d33df 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2013-02-04 Alan Modra <amodra@gmail.com>
+
+ * po/POTFILES.in: Regenerate.
+ * rl78-decode.c: Regenerate.
+ * rx-decode.c: Regenerate.
+
2013-01-30 Yufeng Zhang <yufeng.zhang@arm.com>
* aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and
diff --git a/opcodes/po/POTFILES.in b/opcodes/po/POTFILES.in
index 51c7c47..b596dcb 100644
--- a/opcodes/po/POTFILES.in
+++ b/opcodes/po/POTFILES.in
@@ -137,6 +137,7 @@ mep-dis.c
mep-ibld.c
mep-opc.c
mep-opc.h
+metag-dis.c
microblaze-dis.c
microblaze-opc.h
micromips-opc.c
diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c
index bafdea6..fab973c 100644
--- a/opcodes/rl78-decode.c
+++ b/opcodes/rl78-decode.c
@@ -200,7 +200,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("nop");
-#line 886 "rl78-decode.opc"
+#line 907 "rl78-decode.opc"
ID(nop);
/*----------------------------------------------------------------------*/
@@ -213,7 +213,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x07:
{
/** 0000 0rw1 addw %0, %1 */
-#line 252 "rl78-decode.opc"
+#line 273 "rl78-decode.opc"
int rw AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -223,7 +223,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rw = 0x%x\n", rw);
}
SYNTAX("addw %0, %1");
-#line 252 "rl78-decode.opc"
+#line 273 "rl78-decode.opc"
ID(add); W(); DR(AX); SRW(rw); Fzac;
}
@@ -238,7 +238,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addw %0, %e!1");
-#line 243 "rl78-decode.opc"
+#line 264 "rl78-decode.opc"
ID(add); W(); DR(AX); SM(None, IMMU(2)); Fzac;
}
@@ -253,7 +253,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addw %0, #%1");
-#line 249 "rl78-decode.opc"
+#line 270 "rl78-decode.opc"
ID(add); W(); DR(AX); SC(IMMU(2)); Fzac;
}
@@ -268,7 +268,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addw %0, %1");
-#line 255 "rl78-decode.opc"
+#line 276 "rl78-decode.opc"
ID(add); W(); DR(AX); SM(None, SADDR); Fzac;
}
@@ -283,7 +283,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xch a, x");
-#line 1209 "rl78-decode.opc"
+#line 1230 "rl78-decode.opc"
ID(xch); DR(A); SR(X);
/*----------------------------------------------------------------------*/
@@ -300,7 +300,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 656 "rl78-decode.opc"
+#line 677 "rl78-decode.opc"
ID(mov); DR(A); SM(B, IMMU(2));
}
@@ -315,7 +315,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, #%1");
-#line 206 "rl78-decode.opc"
+#line 227 "rl78-decode.opc"
ID(add); DM(None, SADDR); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -332,7 +332,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, %1");
-#line 200 "rl78-decode.opc"
+#line 221 "rl78-decode.opc"
ID(add); DR(A); SM(None, SADDR); Fzac;
}
@@ -347,7 +347,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, #%1");
-#line 194 "rl78-decode.opc"
+#line 215 "rl78-decode.opc"
ID(add); DR(A); SC(IMMU(1)); Fzac;
}
@@ -362,7 +362,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, %e1");
-#line 182 "rl78-decode.opc"
+#line 203 "rl78-decode.opc"
ID(add); DR(A); SM(HL, 0); Fzac;
}
@@ -377,7 +377,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, %e1");
-#line 188 "rl78-decode.opc"
+#line 209 "rl78-decode.opc"
ID(add); DR(A); SM(HL, IMMU(1)); Fzac;
}
@@ -392,7 +392,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("add %0, %e!1");
-#line 179 "rl78-decode.opc"
+#line 200 "rl78-decode.opc"
ID(add); DR(A); SM(None, IMMU(2)); Fzac;
}
@@ -407,7 +407,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addw %0, #%1");
-#line 258 "rl78-decode.opc"
+#line 279 "rl78-decode.opc"
ID(add); W(); DR(SP); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -424,7 +424,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("es:");
-#line 171 "rl78-decode.opc"
+#line 192 "rl78-decode.opc"
DE(); SE();
op ++;
pc ++;
@@ -439,7 +439,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x16:
{
/** 0001 0ra0 movw %0, %1 */
-#line 834 "rl78-decode.opc"
+#line 855 "rl78-decode.opc"
int ra AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -449,7 +449,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("movw %0, %1");
-#line 834 "rl78-decode.opc"
+#line 855 "rl78-decode.opc"
ID(mov); W(); DRW(ra); SR(AX);
}
@@ -459,7 +459,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x17:
{
/** 0001 0ra1 movw %0, %1 */
-#line 831 "rl78-decode.opc"
+#line 852 "rl78-decode.opc"
int ra AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -469,7 +469,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("movw %0, %1");
-#line 831 "rl78-decode.opc"
+#line 852 "rl78-decode.opc"
ID(mov); W(); DR(AX); SRW(ra);
}
@@ -484,7 +484,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, %1");
-#line 707 "rl78-decode.opc"
+#line 728 "rl78-decode.opc"
ID(mov); DM(B, IMMU(2)); SR(A);
}
@@ -499,7 +499,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, #%1");
-#line 704 "rl78-decode.opc"
+#line 725 "rl78-decode.opc"
ID(mov); DM(B, IMMU(2)); SC(IMMU(1));
}
@@ -514,7 +514,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, #%1");
-#line 238 "rl78-decode.opc"
+#line 259 "rl78-decode.opc"
ID(addc); DM(None, SADDR); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -531,7 +531,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, %1");
-#line 235 "rl78-decode.opc"
+#line 256 "rl78-decode.opc"
ID(addc); DR(A); SM(None, SADDR); Fzac;
}
@@ -546,7 +546,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, #%1");
-#line 226 "rl78-decode.opc"
+#line 247 "rl78-decode.opc"
ID(addc); DR(A); SC(IMMU(1)); Fzac;
}
@@ -561,7 +561,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, %e1");
-#line 214 "rl78-decode.opc"
+#line 235 "rl78-decode.opc"
ID(addc); DR(A); SM(HL, 0); Fzac;
}
@@ -576,7 +576,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, %e1");
-#line 223 "rl78-decode.opc"
+#line 244 "rl78-decode.opc"
ID(addc); DR(A); SM(HL, IMMU(1)); Fzac;
}
@@ -591,7 +591,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("addc %0, %e!1");
-#line 211 "rl78-decode.opc"
+#line 232 "rl78-decode.opc"
ID(addc); DR(A); SM(None, IMMU(2)); Fzac;
}
@@ -606,7 +606,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subw %0, #%1");
-#line 1173 "rl78-decode.opc"
+#line 1194 "rl78-decode.opc"
ID(sub); W(); DR(SP); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -619,7 +619,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x27:
{
/** 0010 0rw1 subw %0, %1 */
-#line 1167 "rl78-decode.opc"
+#line 1188 "rl78-decode.opc"
int rw AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -629,7 +629,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rw = 0x%x\n", rw);
}
SYNTAX("subw %0, %1");
-#line 1167 "rl78-decode.opc"
+#line 1188 "rl78-decode.opc"
ID(sub); W(); DR(AX); SRW(rw); Fzac;
}
@@ -644,7 +644,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subw %0, %e!1");
-#line 1158 "rl78-decode.opc"
+#line 1179 "rl78-decode.opc"
ID(sub); W(); DR(AX); SM(None, IMMU(2)); Fzac;
}
@@ -659,7 +659,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subw %0, #%1");
-#line 1164 "rl78-decode.opc"
+#line 1185 "rl78-decode.opc"
ID(sub); W(); DR(AX); SC(IMMU(2)); Fzac;
}
@@ -674,7 +674,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subw %0, %1");
-#line 1170 "rl78-decode.opc"
+#line 1191 "rl78-decode.opc"
ID(sub); W(); DR(AX); SM(None, SADDR); Fzac;
}
@@ -689,7 +689,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, %1");
-#line 719 "rl78-decode.opc"
+#line 740 "rl78-decode.opc"
ID(mov); DM(C, IMMU(2)); SR(A);
}
@@ -704,7 +704,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 662 "rl78-decode.opc"
+#line 683 "rl78-decode.opc"
ID(mov); DR(A); SM(C, IMMU(2));
}
@@ -719,7 +719,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, #%1");
-#line 1121 "rl78-decode.opc"
+#line 1142 "rl78-decode.opc"
ID(sub); DM(None, SADDR); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -736,7 +736,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, %1");
-#line 1115 "rl78-decode.opc"
+#line 1136 "rl78-decode.opc"
ID(sub); DR(A); SM(None, SADDR); Fzac;
}
@@ -751,7 +751,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, #%1");
-#line 1109 "rl78-decode.opc"
+#line 1130 "rl78-decode.opc"
ID(sub); DR(A); SC(IMMU(1)); Fzac;
}
@@ -766,7 +766,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, %e1");
-#line 1097 "rl78-decode.opc"
+#line 1118 "rl78-decode.opc"
ID(sub); DR(A); SM(HL, 0); Fzac;
}
@@ -781,7 +781,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, %e1");
-#line 1103 "rl78-decode.opc"
+#line 1124 "rl78-decode.opc"
ID(sub); DR(A); SM(HL, IMMU(1)); Fzac;
}
@@ -796,7 +796,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("sub %0, %e!1");
-#line 1094 "rl78-decode.opc"
+#line 1115 "rl78-decode.opc"
ID(sub); DR(A); SM(None, IMMU(2)); Fzac;
}
@@ -807,7 +807,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x36:
{
/** 0011 0rg0 movw %0, #%1 */
-#line 828 "rl78-decode.opc"
+#line 849 "rl78-decode.opc"
int rg AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -817,7 +817,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("movw %0, #%1");
-#line 828 "rl78-decode.opc"
+#line 849 "rl78-decode.opc"
ID(mov); W(); DRW(rg); SC(IMMU(2));
}
@@ -829,7 +829,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0011 0001 0bit 0000 btclr %s1, $%a0 */
-#line 394 "rl78-decode.opc"
+#line 415 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -839,7 +839,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btclr %s1, $%a0");
-#line 394 "rl78-decode.opc"
+#line 415 "rl78-decode.opc"
ID(branch_cond_clear); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
/*----------------------------------------------------------------------*/
@@ -849,7 +849,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x01:
{
/** 0011 0001 0bit 0001 btclr %1, $%a0 */
-#line 388 "rl78-decode.opc"
+#line 409 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -859,7 +859,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btclr %1, $%a0");
-#line 388 "rl78-decode.opc"
+#line 409 "rl78-decode.opc"
ID(branch_cond_clear); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(T);
}
@@ -867,7 +867,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x02:
{
/** 0011 0001 0bit 0010 bt %s1, $%a0 */
-#line 380 "rl78-decode.opc"
+#line 401 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -877,7 +877,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bt %s1, $%a0");
-#line 380 "rl78-decode.opc"
+#line 401 "rl78-decode.opc"
ID(branch_cond); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
/*----------------------------------------------------------------------*/
@@ -887,7 +887,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x03:
{
/** 0011 0001 0bit 0011 bt %1, $%a0 */
-#line 374 "rl78-decode.opc"
+#line 395 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -897,7 +897,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bt %1, $%a0");
-#line 374 "rl78-decode.opc"
+#line 395 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(T);
}
@@ -905,7 +905,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x04:
{
/** 0011 0001 0bit 0100 bf %s1, $%a0 */
-#line 341 "rl78-decode.opc"
+#line 362 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -915,7 +915,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bf %s1, $%a0");
-#line 341 "rl78-decode.opc"
+#line 362 "rl78-decode.opc"
ID(branch_cond); SM(None, SADDR); SB(bit); DC(pc+IMMS(1)+4); COND(F);
/*----------------------------------------------------------------------*/
@@ -925,7 +925,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x05:
{
/** 0011 0001 0bit 0101 bf %1, $%a0 */
-#line 335 "rl78-decode.opc"
+#line 356 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -935,7 +935,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bf %1, $%a0");
-#line 335 "rl78-decode.opc"
+#line 356 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SR(A); SB(bit); COND(F);
}
@@ -943,7 +943,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x07:
{
/** 0011 0001 0cnt 0111 shl %0, %1 */
-#line 1050 "rl78-decode.opc"
+#line 1071 "rl78-decode.opc"
int cnt AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -953,7 +953,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" cnt = 0x%x\n", cnt);
}
SYNTAX("shl %0, %1");
-#line 1050 "rl78-decode.opc"
+#line 1071 "rl78-decode.opc"
ID(shl); DR(C); SC(cnt);
}
@@ -961,7 +961,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x08:
{
/** 0011 0001 0cnt 1000 shl %0, %1 */
-#line 1047 "rl78-decode.opc"
+#line 1068 "rl78-decode.opc"
int cnt AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -971,7 +971,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" cnt = 0x%x\n", cnt);
}
SYNTAX("shl %0, %1");
-#line 1047 "rl78-decode.opc"
+#line 1068 "rl78-decode.opc"
ID(shl); DR(B); SC(cnt);
}
@@ -979,7 +979,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x09:
{
/** 0011 0001 0cnt 1001 shl %0, %1 */
-#line 1044 "rl78-decode.opc"
+#line 1065 "rl78-decode.opc"
int cnt AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -989,7 +989,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" cnt = 0x%x\n", cnt);
}
SYNTAX("shl %0, %1");
-#line 1044 "rl78-decode.opc"
+#line 1065 "rl78-decode.opc"
ID(shl); DR(A); SC(cnt);
}
@@ -997,7 +997,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x0a:
{
/** 0011 0001 0cnt 1010 shr %0, %1 */
-#line 1061 "rl78-decode.opc"
+#line 1082 "rl78-decode.opc"
int cnt AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1007,7 +1007,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" cnt = 0x%x\n", cnt);
}
SYNTAX("shr %0, %1");
-#line 1061 "rl78-decode.opc"
+#line 1082 "rl78-decode.opc"
ID(shr); DR(A); SC(cnt);
}
@@ -1015,7 +1015,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x0b:
{
/** 0011 0001 0cnt 1011 sar %0, %1 */
-#line 1008 "rl78-decode.opc"
+#line 1029 "rl78-decode.opc"
int cnt AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1025,7 +1025,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" cnt = 0x%x\n", cnt);
}
SYNTAX("sar %0, %1");
-#line 1008 "rl78-decode.opc"
+#line 1029 "rl78-decode.opc"
ID(sar); DR(A); SC(cnt);
}
@@ -1034,7 +1034,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x8c:
{
/** 0011 0001 wcnt 1100 shlw %0, %1 */
-#line 1056 "rl78-decode.opc"
+#line 1077 "rl78-decode.opc"
int wcnt AU = (op[1] >> 4) & 0x0f;
if (trace)
{
@@ -1044,7 +1044,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" wcnt = 0x%x\n", wcnt);
}
SYNTAX("shlw %0, %1");
-#line 1056 "rl78-decode.opc"
+#line 1077 "rl78-decode.opc"
ID(shl); W(); DR(BC); SC(wcnt);
/*----------------------------------------------------------------------*/
@@ -1055,7 +1055,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x8d:
{
/** 0011 0001 wcnt 1101 shlw %0, %1 */
-#line 1053 "rl78-decode.opc"
+#line 1074 "rl78-decode.opc"
int wcnt AU = (op[1] >> 4) & 0x0f;
if (trace)
{
@@ -1065,7 +1065,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" wcnt = 0x%x\n", wcnt);
}
SYNTAX("shlw %0, %1");
-#line 1053 "rl78-decode.opc"
+#line 1074 "rl78-decode.opc"
ID(shl); W(); DR(AX); SC(wcnt);
}
@@ -1074,7 +1074,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x8e:
{
/** 0011 0001 wcnt 1110 shrw %0, %1 */
-#line 1064 "rl78-decode.opc"
+#line 1085 "rl78-decode.opc"
int wcnt AU = (op[1] >> 4) & 0x0f;
if (trace)
{
@@ -1084,7 +1084,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" wcnt = 0x%x\n", wcnt);
}
SYNTAX("shrw %0, %1");
-#line 1064 "rl78-decode.opc"
+#line 1085 "rl78-decode.opc"
ID(shr); W(); DR(AX); SC(wcnt);
/*----------------------------------------------------------------------*/
@@ -1095,7 +1095,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x8f:
{
/** 0011 0001 wcnt 1111 sarw %0, %1 */
-#line 1011 "rl78-decode.opc"
+#line 1032 "rl78-decode.opc"
int wcnt AU = (op[1] >> 4) & 0x0f;
if (trace)
{
@@ -1105,7 +1105,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" wcnt = 0x%x\n", wcnt);
}
SYNTAX("sarw %0, %1");
-#line 1011 "rl78-decode.opc"
+#line 1032 "rl78-decode.opc"
ID(sar); W(); DR(AX); SC(wcnt);
/*----------------------------------------------------------------------*/
@@ -1115,7 +1115,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x80:
{
/** 0011 0001 1bit 0000 btclr %s1, $%a0 */
-#line 391 "rl78-decode.opc"
+#line 412 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1125,7 +1125,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btclr %s1, $%a0");
-#line 391 "rl78-decode.opc"
+#line 412 "rl78-decode.opc"
ID(branch_cond_clear); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
}
@@ -1133,7 +1133,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x81:
{
/** 0011 0001 1bit 0001 btclr %e1, $%a0 */
-#line 385 "rl78-decode.opc"
+#line 406 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1143,7 +1143,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btclr %e1, $%a0");
-#line 385 "rl78-decode.opc"
+#line 406 "rl78-decode.opc"
ID(branch_cond_clear); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(T);
}
@@ -1151,7 +1151,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x82:
{
/** 0011 0001 1bit 0010 bt %s1, $%a0 */
-#line 377 "rl78-decode.opc"
+#line 398 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1161,7 +1161,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bt %s1, $%a0");
-#line 377 "rl78-decode.opc"
+#line 398 "rl78-decode.opc"
ID(branch_cond); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(T);
}
@@ -1169,7 +1169,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x83:
{
/** 0011 0001 1bit 0011 bt %e1, $%a0 */
-#line 371 "rl78-decode.opc"
+#line 392 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1179,7 +1179,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bt %e1, $%a0");
-#line 371 "rl78-decode.opc"
+#line 392 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(T);
}
@@ -1187,7 +1187,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x84:
{
/** 0011 0001 1bit 0100 bf %s1, $%a0 */
-#line 338 "rl78-decode.opc"
+#line 359 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1197,7 +1197,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bf %s1, $%a0");
-#line 338 "rl78-decode.opc"
+#line 359 "rl78-decode.opc"
ID(branch_cond); SM(None, SFR); SB(bit); DC(pc+IMMS(1)+4); COND(F);
}
@@ -1205,7 +1205,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x85:
{
/** 0011 0001 1bit 0101 bf %e1, $%a0 */
-#line 332 "rl78-decode.opc"
+#line 353 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -1215,7 +1215,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bf %e1, $%a0");
-#line 332 "rl78-decode.opc"
+#line 353 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SM(HL,0); SB(bit); COND(F);
}
@@ -1228,7 +1228,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x37:
{
/** 0011 0ra1 xchw %0, %1 */
-#line 1214 "rl78-decode.opc"
+#line 1235 "rl78-decode.opc"
int ra AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -1238,7 +1238,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("xchw %0, %1");
-#line 1214 "rl78-decode.opc"
+#line 1235 "rl78-decode.opc"
ID(xch); W(); DR(AX); SRW(ra);
/*----------------------------------------------------------------------*/
@@ -1255,7 +1255,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, #%1");
-#line 716 "rl78-decode.opc"
+#line 737 "rl78-decode.opc"
ID(mov); DM(C, IMMU(2)); SC(IMMU(1));
}
@@ -1270,7 +1270,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, #%1");
-#line 710 "rl78-decode.opc"
+#line 731 "rl78-decode.opc"
ID(mov); DM(BC, IMMU(2)); SC(IMMU(1));
}
@@ -1285,7 +1285,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, #%1");
-#line 1153 "rl78-decode.opc"
+#line 1174 "rl78-decode.opc"
ID(subc); DM(None, SADDR); SC(IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -1302,7 +1302,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, %1");
-#line 1150 "rl78-decode.opc"
+#line 1171 "rl78-decode.opc"
ID(subc); DR(A); SM(None, SADDR); Fzac;
}
@@ -1317,7 +1317,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, #%1");
-#line 1141 "rl78-decode.opc"
+#line 1162 "rl78-decode.opc"
ID(subc); DR(A); SC(IMMU(1)); Fzac;
}
@@ -1332,7 +1332,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, %e1");
-#line 1129 "rl78-decode.opc"
+#line 1150 "rl78-decode.opc"
ID(subc); DR(A); SM(HL, 0); Fzac;
}
@@ -1347,7 +1347,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, %e1");
-#line 1138 "rl78-decode.opc"
+#line 1159 "rl78-decode.opc"
ID(subc); DR(A); SM(HL, IMMU(1)); Fzac;
}
@@ -1362,7 +1362,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("subc %0, %e!1");
-#line 1126 "rl78-decode.opc"
+#line 1147 "rl78-decode.opc"
ID(subc); DR(A); SM(None, IMMU(2)); Fzac;
}
@@ -1377,7 +1377,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %e!0, #%1");
-#line 458 "rl78-decode.opc"
+#line 479 "rl78-decode.opc"
ID(cmp); DM(None, IMMU(2)); SC(IMMU(1)); Fzac;
}
@@ -1392,7 +1392,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, #%1");
-#line 695 "rl78-decode.opc"
+#line 716 "rl78-decode.opc"
ID(mov); DR(ES); SC(IMMU(1));
}
@@ -1407,7 +1407,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmpw %0, %e!1");
-#line 509 "rl78-decode.opc"
+#line 530 "rl78-decode.opc"
ID(cmp); W(); DR(AX); SM(None, IMMU(2)); Fzac;
}
@@ -1417,7 +1417,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x47:
{
/** 0100 0ra1 cmpw %0, %1 */
-#line 518 "rl78-decode.opc"
+#line 539 "rl78-decode.opc"
int ra AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -1427,7 +1427,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("cmpw %0, %1");
-#line 518 "rl78-decode.opc"
+#line 539 "rl78-decode.opc"
ID(cmp); W(); DR(AX); SRW(ra); Fzac;
}
@@ -1442,7 +1442,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmpw %0, #%1");
-#line 515 "rl78-decode.opc"
+#line 536 "rl78-decode.opc"
ID(cmp); W(); DR(AX); SC(IMMU(2)); Fzac;
}
@@ -1457,7 +1457,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmpw %0, %1");
-#line 521 "rl78-decode.opc"
+#line 542 "rl78-decode.opc"
ID(cmp); W(); DR(AX); SM(None, SADDR); Fzac;
/*----------------------------------------------------------------------*/
@@ -1474,7 +1474,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, %1");
-#line 713 "rl78-decode.opc"
+#line 734 "rl78-decode.opc"
ID(mov); DM(BC, IMMU(2)); SR(A);
}
@@ -1489,7 +1489,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 659 "rl78-decode.opc"
+#line 680 "rl78-decode.opc"
ID(mov); DR(A); SM(BC, IMMU(2));
}
@@ -1504,7 +1504,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, #%1");
-#line 461 "rl78-decode.opc"
+#line 482 "rl78-decode.opc"
ID(cmp); DM(None, SADDR); SC(IMMU(1)); Fzac;
}
@@ -1519,7 +1519,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, %1");
-#line 488 "rl78-decode.opc"
+#line 509 "rl78-decode.opc"
ID(cmp); DR(A); SM(None, SADDR); Fzac;
/*----------------------------------------------------------------------*/
@@ -1536,7 +1536,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, #%1");
-#line 479 "rl78-decode.opc"
+#line 500 "rl78-decode.opc"
ID(cmp); DR(A); SC(IMMU(1)); Fzac;
}
@@ -1551,7 +1551,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, %e1");
-#line 467 "rl78-decode.opc"
+#line 488 "rl78-decode.opc"
ID(cmp); DR(A); SM(HL, 0); Fzac;
}
@@ -1566,7 +1566,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, %e1");
-#line 476 "rl78-decode.opc"
+#line 497 "rl78-decode.opc"
ID(cmp); DR(A); SM(HL, IMMU(1)); Fzac;
}
@@ -1581,7 +1581,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp %0, %e!1");
-#line 464 "rl78-decode.opc"
+#line 485 "rl78-decode.opc"
ID(cmp); DR(A); SM(None, IMMU(2)); Fzac;
}
@@ -1596,7 +1596,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x57:
{
/** 0101 0reg mov %0, #%1 */
-#line 647 "rl78-decode.opc"
+#line 668 "rl78-decode.opc"
int reg AU = op[0] & 0x07;
if (trace)
{
@@ -1606,7 +1606,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("mov %0, #%1");
-#line 647 "rl78-decode.opc"
+#line 668 "rl78-decode.opc"
ID(mov); DRB(reg); SC(IMMU(1));
}
@@ -1621,7 +1621,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 846 "rl78-decode.opc"
+#line 867 "rl78-decode.opc"
ID(mov); W(); DM(B, IMMU(2)); SR(AX);
}
@@ -1636,7 +1636,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 837 "rl78-decode.opc"
+#line 858 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(B, IMMU(2));
}
@@ -1651,7 +1651,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, #%1");
-#line 290 "rl78-decode.opc"
+#line 311 "rl78-decode.opc"
ID(and); DM(None, SADDR); SC(IMMU(1)); Fz;
/*----------------------------------------------------------------------*/
@@ -1668,7 +1668,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, %1");
-#line 287 "rl78-decode.opc"
+#line 308 "rl78-decode.opc"
ID(and); DR(A); SM(None, SADDR); Fz;
}
@@ -1683,7 +1683,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, #%1");
-#line 278 "rl78-decode.opc"
+#line 299 "rl78-decode.opc"
ID(and); DR(A); SC(IMMU(1)); Fz;
}
@@ -1698,7 +1698,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, %e1");
-#line 266 "rl78-decode.opc"
+#line 287 "rl78-decode.opc"
ID(and); DR(A); SM(HL, 0); Fz;
}
@@ -1713,7 +1713,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, %e1");
-#line 272 "rl78-decode.opc"
+#line 293 "rl78-decode.opc"
ID(and); DR(A); SM(HL, IMMU(1)); Fz;
}
@@ -1728,7 +1728,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("and %0, %e!1");
-#line 263 "rl78-decode.opc"
+#line 284 "rl78-decode.opc"
ID(and); DR(A); SM(None, IMMU(2)); Fz;
}
@@ -1742,7 +1742,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x67:
{
/** 0110 0rba mov %0, %1 */
-#line 650 "rl78-decode.opc"
+#line 671 "rl78-decode.opc"
int rba AU = op[0] & 0x07;
if (trace)
{
@@ -1752,7 +1752,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("mov %0, %1");
-#line 650 "rl78-decode.opc"
+#line 671 "rl78-decode.opc"
ID(mov); DR(A); SRB(rba);
}
@@ -1771,7 +1771,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x07:
{
/** 0110 0001 0000 0reg add %0, %1 */
-#line 203 "rl78-decode.opc"
+#line 224 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -1781,7 +1781,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("add %0, %1");
-#line 203 "rl78-decode.opc"
+#line 224 "rl78-decode.opc"
ID(add); DRB(reg); SR(A); Fzac;
}
@@ -1795,7 +1795,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x0f:
{
/** 0110 0001 0000 1rba add %0, %1 */
-#line 197 "rl78-decode.opc"
+#line 218 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -1805,7 +1805,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("add %0, %1");
-#line 197 "rl78-decode.opc"
+#line 218 "rl78-decode.opc"
ID(add); DR(A); SRB(rba); Fzac;
}
@@ -1820,7 +1820,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("addw %0, %e1");
-#line 246 "rl78-decode.opc"
+#line 267 "rl78-decode.opc"
ID(add); W(); DR(AX); SM(HL, IMMU(1)); Fzac;
}
@@ -1835,7 +1835,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x17:
{
/** 0110 0001 0001 0reg addc %0, %1 */
-#line 232 "rl78-decode.opc"
+#line 253 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -1845,7 +1845,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("addc %0, %1");
-#line 232 "rl78-decode.opc"
+#line 253 "rl78-decode.opc"
ID(addc); DRB(reg); SR(A); Fzac;
}
@@ -1859,7 +1859,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x1f:
{
/** 0110 0001 0001 1rba addc %0, %1 */
-#line 229 "rl78-decode.opc"
+#line 250 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -1869,7 +1869,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("addc %0, %1");
-#line 229 "rl78-decode.opc"
+#line 250 "rl78-decode.opc"
ID(addc); DR(A); SRB(rba); Fzac;
}
@@ -1884,7 +1884,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x27:
{
/** 0110 0001 0010 0reg sub %0, %1 */
-#line 1118 "rl78-decode.opc"
+#line 1139 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -1894,7 +1894,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("sub %0, %1");
-#line 1118 "rl78-decode.opc"
+#line 1139 "rl78-decode.opc"
ID(sub); DRB(reg); SR(A); Fzac;
}
@@ -1908,7 +1908,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x2f:
{
/** 0110 0001 0010 1rba sub %0, %1 */
-#line 1112 "rl78-decode.opc"
+#line 1133 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -1918,7 +1918,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("sub %0, %1");
-#line 1112 "rl78-decode.opc"
+#line 1133 "rl78-decode.opc"
ID(sub); DR(A); SRB(rba); Fzac;
}
@@ -1933,7 +1933,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("subw %0, %e1");
-#line 1161 "rl78-decode.opc"
+#line 1182 "rl78-decode.opc"
ID(sub); W(); DR(AX); SM(HL, IMMU(1)); Fzac;
}
@@ -1948,7 +1948,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x37:
{
/** 0110 0001 0011 0reg subc %0, %1 */
-#line 1147 "rl78-decode.opc"
+#line 1168 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -1958,7 +1958,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("subc %0, %1");
-#line 1147 "rl78-decode.opc"
+#line 1168 "rl78-decode.opc"
ID(subc); DRB(reg); SR(A); Fzac;
}
@@ -1972,7 +1972,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x3f:
{
/** 0110 0001 0011 1rba subc %0, %1 */
-#line 1144 "rl78-decode.opc"
+#line 1165 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -1982,7 +1982,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("subc %0, %1");
-#line 1144 "rl78-decode.opc"
+#line 1165 "rl78-decode.opc"
ID(subc); DR(A); SRB(rba); Fzac;
}
@@ -1997,7 +1997,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x47:
{
/** 0110 0001 0100 0reg cmp %0, %1 */
-#line 485 "rl78-decode.opc"
+#line 506 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -2007,7 +2007,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("cmp %0, %1");
-#line 485 "rl78-decode.opc"
+#line 506 "rl78-decode.opc"
ID(cmp); DRB(reg); SR(A); Fzac;
}
@@ -2021,7 +2021,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x4f:
{
/** 0110 0001 0100 1rba cmp %0, %1 */
-#line 482 "rl78-decode.opc"
+#line 503 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -2031,7 +2031,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("cmp %0, %1");
-#line 482 "rl78-decode.opc"
+#line 503 "rl78-decode.opc"
ID(cmp); DR(A); SRB(rba); Fzac;
}
@@ -2046,7 +2046,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("cmpw %0, %e1");
-#line 512 "rl78-decode.opc"
+#line 533 "rl78-decode.opc"
ID(cmp); W(); DR(AX); SM(HL, IMMU(1)); Fzac;
}
@@ -2061,7 +2061,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x57:
{
/** 0110 0001 0101 0reg and %0, %1 */
-#line 284 "rl78-decode.opc"
+#line 305 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -2071,7 +2071,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("and %0, %1");
-#line 284 "rl78-decode.opc"
+#line 305 "rl78-decode.opc"
ID(and); DRB(reg); SR(A); Fz;
}
@@ -2085,7 +2085,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x5f:
{
/** 0110 0001 0101 1rba and %0, %1 */
-#line 281 "rl78-decode.opc"
+#line 302 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -2095,7 +2095,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("and %0, %1");
-#line 281 "rl78-decode.opc"
+#line 302 "rl78-decode.opc"
ID(and); DR(A); SRB(rba); Fz;
}
@@ -2110,7 +2110,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("inc %e0");
-#line 562 "rl78-decode.opc"
+#line 583 "rl78-decode.opc"
ID(add); DM(HL, IMMU(1)); SC(1); Fza;
}
@@ -2125,7 +2125,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x67:
{
/** 0110 0001 0110 0reg or %0, %1 */
-#line 936 "rl78-decode.opc"
+#line 957 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -2135,7 +2135,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("or %0, %1");
-#line 936 "rl78-decode.opc"
+#line 957 "rl78-decode.opc"
ID(or); DRB(reg); SR(A); Fz;
}
@@ -2149,7 +2149,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x6f:
{
/** 0110 0001 0110 1rba or %0, %1 */
-#line 933 "rl78-decode.opc"
+#line 954 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -2159,7 +2159,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("or %0, %1");
-#line 933 "rl78-decode.opc"
+#line 954 "rl78-decode.opc"
ID(or); DR(A); SRB(rba); Fz;
}
@@ -2174,7 +2174,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("dec %e0");
-#line 529 "rl78-decode.opc"
+#line 550 "rl78-decode.opc"
ID(sub); DM(HL, IMMU(1)); SC(1); Fza;
}
@@ -2189,7 +2189,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x77:
{
/** 0110 0001 0111 0reg xor %0, %1 */
-#line 1240 "rl78-decode.opc"
+#line 1261 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -2199,7 +2199,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("xor %0, %1");
-#line 1240 "rl78-decode.opc"
+#line 1261 "rl78-decode.opc"
ID(xor); DRB(reg); SR(A); Fz;
}
@@ -2213,7 +2213,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7f:
{
/** 0110 0001 0111 1rba xor %0, %1 */
-#line 1237 "rl78-decode.opc"
+#line 1258 "rl78-decode.opc"
int rba AU = op[1] & 0x07;
if (trace)
{
@@ -2223,7 +2223,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("xor %0, %1");
-#line 1237 "rl78-decode.opc"
+#line 1258 "rl78-decode.opc"
ID(xor); DR(A); SRB(rba); Fz;
}
@@ -2238,7 +2238,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("incw %e0");
-#line 576 "rl78-decode.opc"
+#line 597 "rl78-decode.opc"
ID(add); W(); DM(HL, IMMU(1)); SC(1);
}
@@ -2254,7 +2254,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("add %0, %e1");
-#line 185 "rl78-decode.opc"
+#line 206 "rl78-decode.opc"
ID(add); DR(A); SM2(HL, B, 0); Fzac;
}
@@ -2269,7 +2269,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("add %0, %e1");
-#line 191 "rl78-decode.opc"
+#line 212 "rl78-decode.opc"
ID(add); DR(A); SM2(HL, C, 0); Fzac;
}
@@ -2308,9 +2308,9 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf7:
{
/** 0110 0001 1nnn 01mm callt [%x0] */
-#line 411 "rl78-decode.opc"
+#line 432 "rl78-decode.opc"
int nnn AU = (op[1] >> 4) & 0x07;
-#line 411 "rl78-decode.opc"
+#line 432 "rl78-decode.opc"
int mm AU = op[1] & 0x03;
if (trace)
{
@@ -2321,7 +2321,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" mm = 0x%x\n", mm);
}
SYNTAX("callt [%x0]");
-#line 411 "rl78-decode.opc"
+#line 432 "rl78-decode.opc"
ID(call); DM(None, 0x80 + mm*16 + nnn*2);
/*----------------------------------------------------------------------*/
@@ -2337,7 +2337,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x8f:
{
/** 0110 0001 1000 1reg xch %0, %1 */
-#line 1199 "rl78-decode.opc"
+#line 1220 "rl78-decode.opc"
int reg AU = op[1] & 0x07;
if (trace)
{
@@ -2347,7 +2347,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("xch %0, %1");
-#line 1199 "rl78-decode.opc"
+#line 1220 "rl78-decode.opc"
/* Note: DECW uses reg == X, so this must follow DECW */
ID(xch); DR(A); SRB(reg);
@@ -2363,7 +2363,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("decw %e0");
-#line 543 "rl78-decode.opc"
+#line 564 "rl78-decode.opc"
ID(sub); W(); DM(HL, IMMU(1)); SC(1);
}
@@ -2378,7 +2378,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("addc %0, %e1");
-#line 217 "rl78-decode.opc"
+#line 238 "rl78-decode.opc"
ID(addc); DR(A); SM2(HL, B, 0); Fzac;
}
@@ -2393,7 +2393,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("addc %0, %e1");
-#line 220 "rl78-decode.opc"
+#line 241 "rl78-decode.opc"
ID(addc); DR(A); SM2(HL, C, 0); Fzac;
}
@@ -2409,7 +2409,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sub %0, %e1");
-#line 1100 "rl78-decode.opc"
+#line 1121 "rl78-decode.opc"
ID(sub); DR(A); SM2(HL, B, 0); Fzac;
}
@@ -2424,7 +2424,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sub %0, %e1");
-#line 1106 "rl78-decode.opc"
+#line 1127 "rl78-decode.opc"
ID(sub); DR(A); SM2(HL, C, 0); Fzac;
}
@@ -2439,7 +2439,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %1");
-#line 1203 "rl78-decode.opc"
+#line 1224 "rl78-decode.opc"
ID(xch); DR(A); SM(None, SADDR);
}
@@ -2454,7 +2454,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1196 "rl78-decode.opc"
+#line 1217 "rl78-decode.opc"
ID(xch); DR(A); SM2(HL, C, 0);
}
@@ -2469,7 +2469,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e!1");
-#line 1178 "rl78-decode.opc"
+#line 1199 "rl78-decode.opc"
ID(xch); DR(A); SM(None, IMMU(2));
}
@@ -2484,7 +2484,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %1");
-#line 1206 "rl78-decode.opc"
+#line 1227 "rl78-decode.opc"
ID(xch); DR(A); SM(None, SFR);
}
@@ -2499,7 +2499,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1187 "rl78-decode.opc"
+#line 1208 "rl78-decode.opc"
ID(xch); DR(A); SM(HL, 0);
}
@@ -2514,7 +2514,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1193 "rl78-decode.opc"
+#line 1214 "rl78-decode.opc"
ID(xch); DR(A); SM(HL, IMMU(1));
}
@@ -2529,7 +2529,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1181 "rl78-decode.opc"
+#line 1202 "rl78-decode.opc"
ID(xch); DR(A); SM(DE, 0);
}
@@ -2544,7 +2544,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1184 "rl78-decode.opc"
+#line 1205 "rl78-decode.opc"
ID(xch); DR(A); SM(DE, IMMU(1));
}
@@ -2559,7 +2559,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("subc %0, %e1");
-#line 1132 "rl78-decode.opc"
+#line 1153 "rl78-decode.opc"
ID(subc); DR(A); SM2(HL, B, 0); Fzac;
}
@@ -2574,7 +2574,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("subc %0, %e1");
-#line 1135 "rl78-decode.opc"
+#line 1156 "rl78-decode.opc"
ID(subc); DR(A); SM2(HL, C, 0); Fzac;
}
@@ -2589,7 +2589,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("mov %0, %1");
-#line 701 "rl78-decode.opc"
+#line 722 "rl78-decode.opc"
ID(mov); DR(ES); SM(None, SADDR);
}
@@ -2604,7 +2604,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xch %0, %e1");
-#line 1190 "rl78-decode.opc"
+#line 1211 "rl78-decode.opc"
ID(xch); DR(A); SM2(HL, B, 0);
}
@@ -2619,7 +2619,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("cmp %0, %e1");
-#line 470 "rl78-decode.opc"
+#line 491 "rl78-decode.opc"
ID(cmp); DR(A); SM2(HL, B, 0); Fzac;
}
@@ -2634,7 +2634,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("cmp %0, %e1");
-#line 473 "rl78-decode.opc"
+#line 494 "rl78-decode.opc"
ID(cmp); DR(A); SM2(HL, C, 0); Fzac;
}
@@ -2649,7 +2649,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("bh $%a0");
-#line 318 "rl78-decode.opc"
+#line 339 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SR(None); COND(H);
}
@@ -2664,7 +2664,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1069 "rl78-decode.opc"
+#line 1090 "rl78-decode.opc"
ID(skip); COND(C);
}
@@ -2679,7 +2679,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("mov %0, %e1");
-#line 638 "rl78-decode.opc"
+#line 659 "rl78-decode.opc"
ID(mov); DR(A); SM2(HL, B, 0);
}
@@ -2690,7 +2690,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfa:
{
/** 0110 0001 11rg 1010 call %0 */
-#line 408 "rl78-decode.opc"
+#line 429 "rl78-decode.opc"
int rg AU = (op[1] >> 4) & 0x03;
if (trace)
{
@@ -2700,7 +2700,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("call %0");
-#line 408 "rl78-decode.opc"
+#line 429 "rl78-decode.opc"
ID(call); DRW(rg);
}
@@ -2715,7 +2715,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("br ax");
-#line 358 "rl78-decode.opc"
+#line 379 "rl78-decode.opc"
ID(branch); DR(AX);
/*----------------------------------------------------------------------*/
@@ -2732,7 +2732,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("brk");
-#line 366 "rl78-decode.opc"
+#line 387 "rl78-decode.opc"
ID(break);
/*----------------------------------------------------------------------*/
@@ -2749,7 +2749,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("pop %s0");
-#line 964 "rl78-decode.opc"
+#line 985 "rl78-decode.opc"
ID(mov); W(); DR(PSW); SPOP();
/*----------------------------------------------------------------------*/
@@ -2766,7 +2766,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("movs %e0, %1");
-#line 786 "rl78-decode.opc"
+#line 807 "rl78-decode.opc"
ID(mov); DM(HL, IMMU(1)); SR(X); Fzc;
/*----------------------------------------------------------------------*/
@@ -2779,7 +2779,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xff:
{
/** 0110 0001 11rb 1111 sel rb%1 */
-#line 1016 "rl78-decode.opc"
+#line 1037 "rl78-decode.opc"
int rb AU = (op[1] >> 4) & 0x03;
if (trace)
{
@@ -2789,7 +2789,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rb = 0x%x\n", rb);
}
SYNTAX("sel rb%1");
-#line 1016 "rl78-decode.opc"
+#line 1037 "rl78-decode.opc"
ID(sel); SC(rb);
/*----------------------------------------------------------------------*/
@@ -2806,7 +2806,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("and %0, %e1");
-#line 269 "rl78-decode.opc"
+#line 290 "rl78-decode.opc"
ID(and); DR(A); SM2(HL, B, 0); Fz;
}
@@ -2821,7 +2821,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("and %0, %e1");
-#line 275 "rl78-decode.opc"
+#line 296 "rl78-decode.opc"
ID(and); DR(A); SM2(HL, C, 0); Fz;
}
@@ -2836,7 +2836,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("bnh $%a0");
-#line 321 "rl78-decode.opc"
+#line 342 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+3); SR(None); COND(NH);
}
@@ -2851,7 +2851,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1075 "rl78-decode.opc"
+#line 1096 "rl78-decode.opc"
ID(skip); COND(NC);
}
@@ -2866,7 +2866,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("mov %e0, %1");
-#line 605 "rl78-decode.opc"
+#line 626 "rl78-decode.opc"
ID(mov); DM2(HL, B, 0); SR(A);
}
@@ -2881,7 +2881,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("ror %0, %1");
-#line 997 "rl78-decode.opc"
+#line 1018 "rl78-decode.opc"
ID(ror); DR(A); SC(1);
}
@@ -2896,7 +2896,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rolc %0, %1");
-#line 991 "rl78-decode.opc"
+#line 1012 "rl78-decode.opc"
ID(rolc); DR(A); SC(1);
}
@@ -2911,7 +2911,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("push %s1");
-#line 972 "rl78-decode.opc"
+#line 993 "rl78-decode.opc"
ID(mov); W(); DPUSH(); SR(PSW);
/*----------------------------------------------------------------------*/
@@ -2928,7 +2928,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("cmps %0, %e1");
-#line 504 "rl78-decode.opc"
+#line 525 "rl78-decode.opc"
ID(cmp); DR(X); SM(HL, IMMU(1)); Fzac;
/*----------------------------------------------------------------------*/
@@ -2945,7 +2945,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("or %0, %e1");
-#line 921 "rl78-decode.opc"
+#line 942 "rl78-decode.opc"
ID(or); DR(A); SM2(HL, B, 0); Fz;
}
@@ -2960,7 +2960,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("or %0, %e1");
-#line 927 "rl78-decode.opc"
+#line 948 "rl78-decode.opc"
ID(or); DR(A); SM2(HL, C, 0); Fz;
}
@@ -2975,7 +2975,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1072 "rl78-decode.opc"
+#line 1093 "rl78-decode.opc"
ID(skip); COND(H);
}
@@ -2990,7 +2990,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1084 "rl78-decode.opc"
+#line 1105 "rl78-decode.opc"
ID(skip); COND(Z);
/*----------------------------------------------------------------------*/
@@ -3007,7 +3007,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("mov %0, %e1");
-#line 641 "rl78-decode.opc"
+#line 662 "rl78-decode.opc"
ID(mov); DR(A); SM2(HL, C, 0);
}
@@ -3022,7 +3022,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rol %0, %1");
-#line 988 "rl78-decode.opc"
+#line 1009 "rl78-decode.opc"
ID(rol); DR(A); SC(1);
}
@@ -3037,7 +3037,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("retb");
-#line 983 "rl78-decode.opc"
+#line 1004 "rl78-decode.opc"
ID(reti);
/*----------------------------------------------------------------------*/
@@ -3054,7 +3054,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("halt");
-#line 554 "rl78-decode.opc"
+#line 575 "rl78-decode.opc"
ID(halt);
/*----------------------------------------------------------------------*/
@@ -3065,7 +3065,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfe:
{
/** 0110 0001 111r 1110 rolwc %0, %1 */
-#line 994 "rl78-decode.opc"
+#line 1015 "rl78-decode.opc"
int r AU = (op[1] >> 4) & 0x01;
if (trace)
{
@@ -3075,7 +3075,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" r = 0x%x\n", r);
}
SYNTAX("rolwc %0, %1");
-#line 994 "rl78-decode.opc"
+#line 1015 "rl78-decode.opc"
ID(rolc); W(); DRW(r); SC(1);
}
@@ -3090,7 +3090,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xor %0, %e1");
-#line 1225 "rl78-decode.opc"
+#line 1246 "rl78-decode.opc"
ID(xor); DR(A); SM2(HL, B, 0); Fz;
}
@@ -3105,7 +3105,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("xor %0, %e1");
-#line 1231 "rl78-decode.opc"
+#line 1252 "rl78-decode.opc"
ID(xor); DR(A); SM2(HL, C, 0); Fz;
}
@@ -3120,7 +3120,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1078 "rl78-decode.opc"
+#line 1099 "rl78-decode.opc"
ID(skip); COND(NH);
}
@@ -3135,7 +3135,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("sk%c1");
-#line 1081 "rl78-decode.opc"
+#line 1102 "rl78-decode.opc"
ID(skip); COND(NZ);
}
@@ -3150,7 +3150,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("mov %e0, %1");
-#line 614 "rl78-decode.opc"
+#line 635 "rl78-decode.opc"
ID(mov); DM2(HL, C, 0); SR(A);
}
@@ -3165,7 +3165,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rorc %0, %1");
-#line 1000 "rl78-decode.opc"
+#line 1021 "rl78-decode.opc"
ID(rorc); DR(A); SC(1);
/*----------------------------------------------------------------------*/
@@ -3185,7 +3185,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("reti");
-#line 980 "rl78-decode.opc"
+#line 1001 "rl78-decode.opc"
ID(reti);
}
@@ -3200,7 +3200,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("stop");
-#line 1089 "rl78-decode.opc"
+#line 1110 "rl78-decode.opc"
ID(stop);
/*----------------------------------------------------------------------*/
@@ -3220,7 +3220,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 849 "rl78-decode.opc"
+#line 870 "rl78-decode.opc"
ID(mov); W(); DM(C, IMMU(2)); SR(AX);
}
@@ -3235,7 +3235,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 840 "rl78-decode.opc"
+#line 861 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(C, IMMU(2));
}
@@ -3250,7 +3250,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, #%1");
-#line 942 "rl78-decode.opc"
+#line 963 "rl78-decode.opc"
ID(or); DM(None, SADDR); SC(IMMU(1)); Fz;
/*----------------------------------------------------------------------*/
@@ -3267,7 +3267,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, %1");
-#line 939 "rl78-decode.opc"
+#line 960 "rl78-decode.opc"
ID(or); DR(A); SM(None, SADDR); Fz;
}
@@ -3282,7 +3282,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, #%1");
-#line 930 "rl78-decode.opc"
+#line 951 "rl78-decode.opc"
ID(or); DR(A); SC(IMMU(1)); Fz;
}
@@ -3297,7 +3297,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, %e1");
-#line 918 "rl78-decode.opc"
+#line 939 "rl78-decode.opc"
ID(or); DR(A); SM(HL, 0); Fz;
}
@@ -3312,7 +3312,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, %e1");
-#line 924 "rl78-decode.opc"
+#line 945 "rl78-decode.opc"
ID(or); DR(A); SM(HL, IMMU(1)); Fz;
}
@@ -3327,7 +3327,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("or %0, %e!1");
-#line 915 "rl78-decode.opc"
+#line 936 "rl78-decode.opc"
ID(or); DR(A); SM(None, IMMU(2)); Fz;
}
@@ -3341,7 +3341,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x77:
{
/** 0111 0rba mov %0, %1 */
-#line 674 "rl78-decode.opc"
+#line 695 "rl78-decode.opc"
int rba AU = op[0] & 0x07;
if (trace)
{
@@ -3351,7 +3351,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rba = 0x%x\n", rba);
}
SYNTAX("mov %0, %1");
-#line 674 "rl78-decode.opc"
+#line 695 "rl78-decode.opc"
ID(mov); DRB(rba); SR(A);
}
@@ -3370,7 +3370,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x70:
{
/** 0111 0001 0bit 0000 set1 %e!0 */
-#line 1021 "rl78-decode.opc"
+#line 1042 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3380,7 +3380,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("set1 %e!0");
-#line 1021 "rl78-decode.opc"
+#line 1042 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); DB(bit); SC(1);
}
@@ -3395,7 +3395,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x71:
{
/** 0111 0001 0bit 0001 mov1 %0, cy */
-#line 778 "rl78-decode.opc"
+#line 799 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3405,7 +3405,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 %0, cy");
-#line 778 "rl78-decode.opc"
+#line 799 "rl78-decode.opc"
ID(mov); DM(None, SADDR); DB(bit); SCY();
}
@@ -3420,7 +3420,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x72:
{
/** 0111 0001 0bit 0010 set1 %0 */
-#line 1039 "rl78-decode.opc"
+#line 1060 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3430,7 +3430,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("set1 %0");
-#line 1039 "rl78-decode.opc"
+#line 1060 "rl78-decode.opc"
ID(mov); DM(None, SADDR); DB(bit); SC(1);
/*----------------------------------------------------------------------*/
@@ -3447,7 +3447,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x73:
{
/** 0111 0001 0bit 0011 clr1 %0 */
-#line 434 "rl78-decode.opc"
+#line 455 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3457,7 +3457,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("clr1 %0");
-#line 434 "rl78-decode.opc"
+#line 455 "rl78-decode.opc"
ID(mov); DM(None, SADDR); DB(bit); SC(0);
/*----------------------------------------------------------------------*/
@@ -3474,7 +3474,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x74:
{
/** 0111 0001 0bit 0100 mov1 cy, %1 */
-#line 772 "rl78-decode.opc"
+#line 793 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3484,7 +3484,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 cy, %1");
-#line 772 "rl78-decode.opc"
+#line 793 "rl78-decode.opc"
ID(mov); DCY(); SM(None, SADDR); SB(bit);
}
@@ -3499,7 +3499,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x75:
{
/** 0111 0001 0bit 0101 and1 cy, %s1 */
-#line 304 "rl78-decode.opc"
+#line 325 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3509,7 +3509,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("and1 cy, %s1");
-#line 304 "rl78-decode.opc"
+#line 325 "rl78-decode.opc"
ID(and); DCY(); SM(None, SADDR); SB(bit);
/*----------------------------------------------------------------------*/
@@ -3529,7 +3529,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x76:
{
/** 0111 0001 0bit 0110 or1 cy, %s1 */
-#line 956 "rl78-decode.opc"
+#line 977 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3539,7 +3539,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("or1 cy, %s1");
-#line 956 "rl78-decode.opc"
+#line 977 "rl78-decode.opc"
ID(or); DCY(); SM(None, SADDR); SB(bit);
/*----------------------------------------------------------------------*/
@@ -3556,7 +3556,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x77:
{
/** 0111 0001 0bit 0111 xor1 cy, %s1 */
-#line 1260 "rl78-decode.opc"
+#line 1281 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3566,7 +3566,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("xor1 cy, %s1");
-#line 1260 "rl78-decode.opc"
+#line 1281 "rl78-decode.opc"
ID(xor); DCY(); SM(None, SADDR); SB(bit);
/*----------------------------------------------------------------------*/
@@ -3583,7 +3583,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x78:
{
/** 0111 0001 0bit 1000 clr1 %e!0 */
-#line 416 "rl78-decode.opc"
+#line 437 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3593,7 +3593,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("clr1 %e!0");
-#line 416 "rl78-decode.opc"
+#line 437 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); DB(bit); SC(0);
}
@@ -3608,7 +3608,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x79:
{
/** 0111 0001 0bit 1001 mov1 %s0, cy */
-#line 781 "rl78-decode.opc"
+#line 802 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3618,7 +3618,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 %s0, cy");
-#line 781 "rl78-decode.opc"
+#line 802 "rl78-decode.opc"
ID(mov); DM(None, SFR); DB(bit); SCY();
/*----------------------------------------------------------------------*/
@@ -3635,7 +3635,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7a:
{
/** 0111 0001 0bit 1010 set1 %s0 */
-#line 1033 "rl78-decode.opc"
+#line 1054 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3645,7 +3645,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("set1 %s0");
-#line 1033 "rl78-decode.opc"
+#line 1054 "rl78-decode.opc"
op0 = SFR;
ID(mov); DM(None, op0); DB(bit); SC(1);
if (op0 == RL78_SFR_PSW && bit == 7)
@@ -3663,7 +3663,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7b:
{
/** 0111 0001 0bit 1011 clr1 %s0 */
-#line 428 "rl78-decode.opc"
+#line 449 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3673,7 +3673,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("clr1 %s0");
-#line 428 "rl78-decode.opc"
+#line 449 "rl78-decode.opc"
op0 = SFR;
ID(mov); DM(None, op0); DB(bit); SC(0);
if (op0 == RL78_SFR_PSW && bit == 7)
@@ -3691,7 +3691,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7c:
{
/** 0111 0001 0bit 1100 mov1 cy, %s1 */
-#line 775 "rl78-decode.opc"
+#line 796 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3701,7 +3701,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 cy, %s1");
-#line 775 "rl78-decode.opc"
+#line 796 "rl78-decode.opc"
ID(mov); DCY(); SM(None, SFR); SB(bit);
}
@@ -3716,7 +3716,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7d:
{
/** 0111 0001 0bit 1101 and1 cy, %s1 */
-#line 301 "rl78-decode.opc"
+#line 322 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3726,7 +3726,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("and1 cy, %s1");
-#line 301 "rl78-decode.opc"
+#line 322 "rl78-decode.opc"
ID(and); DCY(); SM(None, SFR); SB(bit);
}
@@ -3741,7 +3741,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7e:
{
/** 0111 0001 0bit 1110 or1 cy, %s1 */
-#line 953 "rl78-decode.opc"
+#line 974 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3751,7 +3751,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("or1 cy, %s1");
-#line 953 "rl78-decode.opc"
+#line 974 "rl78-decode.opc"
ID(or); DCY(); SM(None, SFR); SB(bit);
}
@@ -3766,7 +3766,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x7f:
{
/** 0111 0001 0bit 1111 xor1 cy, %s1 */
-#line 1257 "rl78-decode.opc"
+#line 1278 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3776,7 +3776,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("xor1 cy, %s1");
-#line 1257 "rl78-decode.opc"
+#line 1278 "rl78-decode.opc"
ID(xor); DCY(); SM(None, SFR); SB(bit);
}
@@ -3791,7 +3791,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("set1 cy");
-#line 1030 "rl78-decode.opc"
+#line 1051 "rl78-decode.opc"
ID(mov); DCY(); SC(1);
}
@@ -3806,7 +3806,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf1:
{
/** 0111 0001 1bit 0001 mov1 %e0, cy */
-#line 760 "rl78-decode.opc"
+#line 781 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3816,7 +3816,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 %e0, cy");
-#line 760 "rl78-decode.opc"
+#line 781 "rl78-decode.opc"
ID(mov); DM(HL, 0); DB(bit); SCY();
}
@@ -3831,7 +3831,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf2:
{
/** 0111 0001 1bit 0010 set1 %e0 */
-#line 1024 "rl78-decode.opc"
+#line 1045 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3841,7 +3841,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("set1 %e0");
-#line 1024 "rl78-decode.opc"
+#line 1045 "rl78-decode.opc"
ID(mov); DM(HL, 0); DB(bit); SC(1);
}
@@ -3856,7 +3856,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf3:
{
/** 0111 0001 1bit 0011 clr1 %e0 */
-#line 419 "rl78-decode.opc"
+#line 440 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3866,7 +3866,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("clr1 %e0");
-#line 419 "rl78-decode.opc"
+#line 440 "rl78-decode.opc"
ID(mov); DM(HL, 0); DB(bit); SC(0);
}
@@ -3881,7 +3881,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf4:
{
/** 0111 0001 1bit 0100 mov1 cy, %e1 */
-#line 766 "rl78-decode.opc"
+#line 787 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3891,7 +3891,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 cy, %e1");
-#line 766 "rl78-decode.opc"
+#line 787 "rl78-decode.opc"
ID(mov); DCY(); SM(HL, 0); SB(bit);
}
@@ -3906,7 +3906,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf5:
{
/** 0111 0001 1bit 0101 and1 cy, %e1 */
-#line 295 "rl78-decode.opc"
+#line 316 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3916,7 +3916,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("and1 cy, %e1");
-#line 295 "rl78-decode.opc"
+#line 316 "rl78-decode.opc"
ID(and); DCY(); SM(HL, 0); SB(bit);
}
@@ -3931,7 +3931,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf6:
{
/** 0111 0001 1bit 0110 or1 cy, %e1 */
-#line 947 "rl78-decode.opc"
+#line 968 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3941,7 +3941,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("or1 cy, %e1");
-#line 947 "rl78-decode.opc"
+#line 968 "rl78-decode.opc"
ID(or); DCY(); SM(HL, 0); SB(bit);
}
@@ -3956,7 +3956,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf7:
{
/** 0111 0001 1bit 0111 xor1 cy, %e1 */
-#line 1251 "rl78-decode.opc"
+#line 1272 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -3966,7 +3966,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("xor1 cy, %e1");
-#line 1251 "rl78-decode.opc"
+#line 1272 "rl78-decode.opc"
ID(xor); DCY(); SM(HL, 0); SB(bit);
}
@@ -3981,7 +3981,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("clr1 cy");
-#line 425 "rl78-decode.opc"
+#line 446 "rl78-decode.opc"
ID(mov); DCY(); SC(0);
}
@@ -3996,7 +3996,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf9:
{
/** 0111 0001 1bit 1001 mov1 %e0, cy */
-#line 763 "rl78-decode.opc"
+#line 784 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4006,7 +4006,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 %e0, cy");
-#line 763 "rl78-decode.opc"
+#line 784 "rl78-decode.opc"
ID(mov); DR(A); DB(bit); SCY();
}
@@ -4021,7 +4021,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfa:
{
/** 0111 0001 1bit 1010 set1 %0 */
-#line 1027 "rl78-decode.opc"
+#line 1048 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4031,7 +4031,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("set1 %0");
-#line 1027 "rl78-decode.opc"
+#line 1048 "rl78-decode.opc"
ID(mov); DR(A); DB(bit); SC(1);
}
@@ -4046,7 +4046,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfb:
{
/** 0111 0001 1bit 1011 clr1 %0 */
-#line 422 "rl78-decode.opc"
+#line 443 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4056,7 +4056,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("clr1 %0");
-#line 422 "rl78-decode.opc"
+#line 443 "rl78-decode.opc"
ID(mov); DR(A); DB(bit); SC(0);
}
@@ -4071,7 +4071,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfc:
{
/** 0111 0001 1bit 1100 mov1 cy, %e1 */
-#line 769 "rl78-decode.opc"
+#line 790 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4081,7 +4081,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("mov1 cy, %e1");
-#line 769 "rl78-decode.opc"
+#line 790 "rl78-decode.opc"
ID(mov); DCY(); SR(A); SB(bit);
}
@@ -4096,7 +4096,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfd:
{
/** 0111 0001 1bit 1101 and1 cy, %1 */
-#line 298 "rl78-decode.opc"
+#line 319 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4106,7 +4106,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("and1 cy, %1");
-#line 298 "rl78-decode.opc"
+#line 319 "rl78-decode.opc"
ID(and); DCY(); SR(A); SB(bit);
}
@@ -4121,7 +4121,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfe:
{
/** 0111 0001 1bit 1110 or1 cy, %1 */
-#line 950 "rl78-decode.opc"
+#line 971 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4131,7 +4131,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("or1 cy, %1");
-#line 950 "rl78-decode.opc"
+#line 971 "rl78-decode.opc"
ID(or); DCY(); SR(A); SB(bit);
}
@@ -4146,7 +4146,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xff:
{
/** 0111 0001 1bit 1111 xor1 cy, %1 */
-#line 1254 "rl78-decode.opc"
+#line 1275 "rl78-decode.opc"
int bit AU = (op[1] >> 4) & 0x07;
if (trace)
{
@@ -4156,7 +4156,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("xor1 cy, %1");
-#line 1254 "rl78-decode.opc"
+#line 1275 "rl78-decode.opc"
ID(xor); DCY(); SR(A); SB(bit);
}
@@ -4171,7 +4171,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("not1 cy");
-#line 891 "rl78-decode.opc"
+#line 912 "rl78-decode.opc"
ID(xor); DCY(); SC(1);
/*----------------------------------------------------------------------*/
@@ -4191,7 +4191,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 852 "rl78-decode.opc"
+#line 873 "rl78-decode.opc"
ID(mov); W(); DM(BC, IMMU(2)); SR(AX);
}
@@ -4206,7 +4206,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 843 "rl78-decode.opc"
+#line 864 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(BC, IMMU(2));
}
@@ -4221,7 +4221,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, #%1");
-#line 1246 "rl78-decode.opc"
+#line 1267 "rl78-decode.opc"
ID(xor); DM(None, SADDR); SC(IMMU(1)); Fz;
/*----------------------------------------------------------------------*/
@@ -4238,7 +4238,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, %1");
-#line 1243 "rl78-decode.opc"
+#line 1264 "rl78-decode.opc"
ID(xor); DR(A); SM(None, SADDR); Fz;
}
@@ -4253,7 +4253,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, #%1");
-#line 1234 "rl78-decode.opc"
+#line 1255 "rl78-decode.opc"
ID(xor); DR(A); SC(IMMU(1)); Fz;
}
@@ -4268,7 +4268,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, %e1");
-#line 1222 "rl78-decode.opc"
+#line 1243 "rl78-decode.opc"
ID(xor); DR(A); SM(HL, 0); Fz;
}
@@ -4283,7 +4283,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, %e1");
-#line 1228 "rl78-decode.opc"
+#line 1249 "rl78-decode.opc"
ID(xor); DR(A); SM(HL, IMMU(1)); Fz;
}
@@ -4298,7 +4298,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("xor %0, %e!1");
-#line 1219 "rl78-decode.opc"
+#line 1240 "rl78-decode.opc"
ID(xor); DR(A); SM(None, IMMU(2)); Fz;
}
@@ -4313,7 +4313,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x87:
{
/** 1000 0reg inc %0 */
-#line 565 "rl78-decode.opc"
+#line 586 "rl78-decode.opc"
int reg AU = op[0] & 0x07;
if (trace)
{
@@ -4323,7 +4323,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("inc %0");
-#line 565 "rl78-decode.opc"
+#line 586 "rl78-decode.opc"
ID(add); DRB(reg); SC(1); Fza;
}
@@ -4338,7 +4338,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 644 "rl78-decode.opc"
+#line 665 "rl78-decode.opc"
ID(mov); DR(A); SM(SP, IMMU(1));
}
@@ -4353,7 +4353,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 626 "rl78-decode.opc"
+#line 647 "rl78-decode.opc"
ID(mov); DR(A); SM(DE, 0);
}
@@ -4368,7 +4368,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 629 "rl78-decode.opc"
+#line 650 "rl78-decode.opc"
ID(mov); DR(A); SM(DE, IMMU(1));
}
@@ -4383,7 +4383,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 632 "rl78-decode.opc"
+#line 653 "rl78-decode.opc"
ID(mov); DR(A); SM(HL, 0);
}
@@ -4398,7 +4398,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e1");
-#line 635 "rl78-decode.opc"
+#line 656 "rl78-decode.opc"
ID(mov); DR(A); SM(HL, IMMU(1));
}
@@ -4413,7 +4413,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 668 "rl78-decode.opc"
+#line 689 "rl78-decode.opc"
ID(mov); DR(A); SM(None, SADDR);
}
@@ -4428,7 +4428,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %s1");
-#line 665 "rl78-decode.opc"
+#line 686 "rl78-decode.opc"
ID(mov); DR(A); SM(None, SFR);
}
@@ -4443,7 +4443,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e!1");
-#line 623 "rl78-decode.opc"
+#line 644 "rl78-decode.opc"
ID(mov); DR(A); SM(None, IMMU(2));
}
@@ -4458,7 +4458,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0x97:
{
/** 1001 0reg dec %0 */
-#line 532 "rl78-decode.opc"
+#line 553 "rl78-decode.opc"
int reg AU = op[0] & 0x07;
if (trace)
{
@@ -4468,7 +4468,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" reg = 0x%x\n", reg);
}
SYNTAX("dec %0");
-#line 532 "rl78-decode.opc"
+#line 553 "rl78-decode.opc"
ID(sub); DRB(reg); SC(1); Fza;
}
@@ -4483,7 +4483,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 620 "rl78-decode.opc"
+#line 641 "rl78-decode.opc"
ID(mov); DM(SP, IMMU(1)); SR(A);
}
@@ -4498,7 +4498,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0,%1");
-#line 593 "rl78-decode.opc"
+#line 614 "rl78-decode.opc"
ID(mov); DM(DE, 0); SR(A);
}
@@ -4513,7 +4513,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, %1");
-#line 599 "rl78-decode.opc"
+#line 620 "rl78-decode.opc"
ID(mov); DM(DE, IMMU(1)); SR(A);
}
@@ -4528,7 +4528,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0,%1");
-#line 602 "rl78-decode.opc"
+#line 623 "rl78-decode.opc"
ID(mov); DM(HL, 0); SR(A);
}
@@ -4543,7 +4543,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, %1");
-#line 611 "rl78-decode.opc"
+#line 632 "rl78-decode.opc"
ID(mov); DM(HL, IMMU(1)); SR(A);
}
@@ -4558,7 +4558,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 725 "rl78-decode.opc"
+#line 746 "rl78-decode.opc"
ID(mov); DM(None, SADDR); SR(A);
}
@@ -4573,7 +4573,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 755 "rl78-decode.opc"
+#line 776 "rl78-decode.opc"
ID(mov); DM(None, SFR); SR(A);
/*----------------------------------------------------------------------*/
@@ -4590,7 +4590,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e!0, %1");
-#line 590 "rl78-decode.opc"
+#line 611 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); SR(A);
}
@@ -4605,7 +4605,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("inc %e!0");
-#line 559 "rl78-decode.opc"
+#line 580 "rl78-decode.opc"
ID(add); DM(None, IMMU(2)); SC(1); Fza;
}
@@ -4616,7 +4616,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xa7:
{
/** 1010 0rg1 incw %0 */
-#line 579 "rl78-decode.opc"
+#line 600 "rl78-decode.opc"
int rg AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -4626,7 +4626,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("incw %0");
-#line 579 "rl78-decode.opc"
+#line 600 "rl78-decode.opc"
ID(add); W(); DRW(rg); SC(1);
}
@@ -4641,7 +4641,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("incw %e!0");
-#line 573 "rl78-decode.opc"
+#line 594 "rl78-decode.opc"
ID(add); W(); DM(None, IMMU(2)); SC(1);
}
@@ -4656,7 +4656,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("inc %0");
-#line 568 "rl78-decode.opc"
+#line 589 "rl78-decode.opc"
ID(add); DM(None, SADDR); SC(1); Fza;
/*----------------------------------------------------------------------*/
@@ -4673,7 +4673,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("incw %0");
-#line 582 "rl78-decode.opc"
+#line 603 "rl78-decode.opc"
ID(add); W(); DM(None, SADDR); SC(1);
/*----------------------------------------------------------------------*/
@@ -4690,7 +4690,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %1");
-#line 825 "rl78-decode.opc"
+#line 846 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(SP, IMMU(1));
}
@@ -4705,7 +4705,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 813 "rl78-decode.opc"
+#line 834 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(DE, 0);
}
@@ -4720,7 +4720,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 816 "rl78-decode.opc"
+#line 837 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(DE, IMMU(1));
}
@@ -4735,7 +4735,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 819 "rl78-decode.opc"
+#line 840 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(HL, 0);
}
@@ -4750,7 +4750,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e1");
-#line 822 "rl78-decode.opc"
+#line 843 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(HL, IMMU(1));
}
@@ -4765,7 +4765,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %1");
-#line 855 "rl78-decode.opc"
+#line 876 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(None, SADDR);
}
@@ -4780,7 +4780,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %s1");
-#line 858 "rl78-decode.opc"
+#line 879 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(None, SFR);
}
@@ -4795,7 +4795,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %e!1");
-#line 809 "rl78-decode.opc"
+#line 830 "rl78-decode.opc"
ID(mov); W(); DR(AX); SM(None, IMMU(2));
@@ -4811,7 +4811,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("dec %e!0");
-#line 526 "rl78-decode.opc"
+#line 547 "rl78-decode.opc"
ID(sub); DM(None, IMMU(2)); SC(1); Fza;
}
@@ -4822,7 +4822,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xb7:
{
/** 1011 0rg1 decw %0 */
-#line 546 "rl78-decode.opc"
+#line 567 "rl78-decode.opc"
int rg AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -4832,7 +4832,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("decw %0");
-#line 546 "rl78-decode.opc"
+#line 567 "rl78-decode.opc"
ID(sub); W(); DRW(rg); SC(1);
}
@@ -4847,7 +4847,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("decw %e!0");
-#line 540 "rl78-decode.opc"
+#line 561 "rl78-decode.opc"
ID(sub); W(); DM(None, IMMU(2)); SC(1);
}
@@ -4862,7 +4862,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("dec %0");
-#line 535 "rl78-decode.opc"
+#line 556 "rl78-decode.opc"
ID(sub); DM(None, SADDR); SC(1); Fza;
/*----------------------------------------------------------------------*/
@@ -4879,7 +4879,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("decw %0");
-#line 549 "rl78-decode.opc"
+#line 570 "rl78-decode.opc"
ID(sub); W(); DM(None, SADDR); SC(1);
/*----------------------------------------------------------------------*/
@@ -4896,7 +4896,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %1");
-#line 806 "rl78-decode.opc"
+#line 827 "rl78-decode.opc"
ID(mov); W(); DM(SP, IMMU(1)); SR(AX);
}
@@ -4911,7 +4911,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 794 "rl78-decode.opc"
+#line 815 "rl78-decode.opc"
ID(mov); W(); DM(DE, 0); SR(AX);
}
@@ -4926,7 +4926,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 797 "rl78-decode.opc"
+#line 818 "rl78-decode.opc"
ID(mov); W(); DM(DE, IMMU(1)); SR(AX);
}
@@ -4941,7 +4941,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 800 "rl78-decode.opc"
+#line 821 "rl78-decode.opc"
ID(mov); W(); DM(HL, 0); SR(AX);
}
@@ -4956,7 +4956,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e0, %1");
-#line 803 "rl78-decode.opc"
+#line 824 "rl78-decode.opc"
ID(mov); W(); DM(HL, IMMU(1)); SR(AX);
}
@@ -4971,7 +4971,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %1");
-#line 870 "rl78-decode.opc"
+#line 891 "rl78-decode.opc"
ID(mov); W(); DM(None, SADDR); SR(AX);
}
@@ -4986,7 +4986,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, %1");
-#line 876 "rl78-decode.opc"
+#line 897 "rl78-decode.opc"
ID(mov); W(); DM(None, SFR); SR(AX);
/*----------------------------------------------------------------------*/
@@ -5003,7 +5003,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %e!0, %1");
-#line 791 "rl78-decode.opc"
+#line 812 "rl78-decode.opc"
ID(mov); W(); DM(None, IMMU(2)); SR(AX);
}
@@ -5014,7 +5014,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xc6:
{
/** 1100 0rg0 pop %0 */
-#line 961 "rl78-decode.opc"
+#line 982 "rl78-decode.opc"
int rg AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -5024,7 +5024,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("pop %0");
-#line 961 "rl78-decode.opc"
+#line 982 "rl78-decode.opc"
ID(mov); W(); DRW(rg); SPOP();
}
@@ -5035,7 +5035,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xc7:
{
/** 1100 0rg1 push %1 */
-#line 969 "rl78-decode.opc"
+#line 990 "rl78-decode.opc"
int rg AU = (op[0] >> 1) & 0x03;
if (trace)
{
@@ -5045,7 +5045,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("push %1");
-#line 969 "rl78-decode.opc"
+#line 990 "rl78-decode.opc"
ID(mov); W(); DPUSH(); SRW(rg);
}
@@ -5060,7 +5060,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, #%1");
-#line 617 "rl78-decode.opc"
+#line 638 "rl78-decode.opc"
ID(mov); DM(SP, IMMU(1)); SC(IMMU(1));
}
@@ -5075,7 +5075,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, #%1");
-#line 867 "rl78-decode.opc"
+#line 888 "rl78-decode.opc"
ID(mov); W(); DM(None, SADDR); SC(IMMU(2));
}
@@ -5090,7 +5090,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, #%1");
-#line 596 "rl78-decode.opc"
+#line 617 "rl78-decode.opc"
ID(mov); DM(DE, IMMU(1)); SC(IMMU(1));
}
@@ -5105,7 +5105,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("movw %0, #%1");
-#line 873 "rl78-decode.opc"
+#line 894 "rl78-decode.opc"
ID(mov); W(); DM(None, SFR); SC(IMMU(2));
}
@@ -5120,7 +5120,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e0, #%1");
-#line 608 "rl78-decode.opc"
+#line 629 "rl78-decode.opc"
ID(mov); DM(HL, IMMU(1)); SC(IMMU(1));
}
@@ -5135,7 +5135,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, #%1");
-#line 722 "rl78-decode.opc"
+#line 743 "rl78-decode.opc"
ID(mov); DM(None, SADDR); SC(IMMU(1));
}
@@ -5150,7 +5150,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %s0, #%1");
-#line 728 "rl78-decode.opc"
+#line 749 "rl78-decode.opc"
op0 = SFR;
op1 = IMMU(1);
ID(mov); DM(None, op0); SC(op1);
@@ -5189,7 +5189,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %e!0, #%1");
-#line 587 "rl78-decode.opc"
+#line 608 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); SC(IMMU(1));
}
@@ -5200,7 +5200,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xd3:
{
/** 1101 00rg cmp0 %0 */
-#line 496 "rl78-decode.opc"
+#line 517 "rl78-decode.opc"
int rg AU = op[0] & 0x03;
if (trace)
{
@@ -5210,7 +5210,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("cmp0 %0");
-#line 496 "rl78-decode.opc"
+#line 517 "rl78-decode.opc"
ID(cmp); DRB(rg); SC(0); Fzac;
}
@@ -5225,7 +5225,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp0 %0");
-#line 499 "rl78-decode.opc"
+#line 520 "rl78-decode.opc"
ID(cmp); DM(None, SADDR); SC(0); Fzac;
/*----------------------------------------------------------------------*/
@@ -5242,7 +5242,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("cmp0 %e!0");
-#line 493 "rl78-decode.opc"
+#line 514 "rl78-decode.opc"
ID(cmp); DM(None, IMMU(2)); SC(0); Fzac;
}
@@ -5257,7 +5257,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mulu x");
-#line 881 "rl78-decode.opc"
+#line 902 "rl78-decode.opc"
ID(mulu);
/*----------------------------------------------------------------------*/
@@ -5274,7 +5274,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("ret");
-#line 977 "rl78-decode.opc"
+#line 998 "rl78-decode.opc"
ID(ret);
}
@@ -5289,7 +5289,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 689 "rl78-decode.opc"
+#line 710 "rl78-decode.opc"
ID(mov); DR(X); SM(None, SADDR);
}
@@ -5304,7 +5304,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e!1");
-#line 686 "rl78-decode.opc"
+#line 707 "rl78-decode.opc"
ID(mov); DR(X); SM(None, IMMU(2));
}
@@ -5314,7 +5314,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfa:
{
/** 11ra 1010 movw %0, %1 */
-#line 864 "rl78-decode.opc"
+#line 885 "rl78-decode.opc"
int ra AU = (op[0] >> 4) & 0x03;
if (trace)
{
@@ -5324,7 +5324,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("movw %0, %1");
-#line 864 "rl78-decode.opc"
+#line 885 "rl78-decode.opc"
ID(mov); W(); DRW(ra); SM(None, SADDR);
}
@@ -5334,7 +5334,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xfb:
{
/** 11ra 1011 movw %0, %e!1 */
-#line 861 "rl78-decode.opc"
+#line 882 "rl78-decode.opc"
int ra AU = (op[0] >> 4) & 0x03;
if (trace)
{
@@ -5344,7 +5344,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" ra = 0x%x\n", ra);
}
SYNTAX("movw %0, %e!1");
-#line 861 "rl78-decode.opc"
+#line 882 "rl78-decode.opc"
ID(mov); W(); DRW(ra); SM(None, IMMU(2));
}
@@ -5359,7 +5359,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bc $%a0");
-#line 312 "rl78-decode.opc"
+#line 333 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+2); SR(None); COND(C);
}
@@ -5374,7 +5374,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bz $%a0");
-#line 324 "rl78-decode.opc"
+#line 345 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+2); SR(None); COND(Z);
}
@@ -5389,7 +5389,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bnc $%a0");
-#line 315 "rl78-decode.opc"
+#line 336 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+2); SR(None); COND(NC);
}
@@ -5404,7 +5404,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bnz $%a0");
-#line 327 "rl78-decode.opc"
+#line 348 "rl78-decode.opc"
ID(branch_cond); DC(pc+IMMS(1)+2); SR(None); COND(NZ);
/*----------------------------------------------------------------------*/
@@ -5417,7 +5417,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xe3:
{
/** 1110 00rg oneb %0 */
-#line 899 "rl78-decode.opc"
+#line 920 "rl78-decode.opc"
int rg AU = op[0] & 0x03;
if (trace)
{
@@ -5427,7 +5427,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("oneb %0");
-#line 899 "rl78-decode.opc"
+#line 920 "rl78-decode.opc"
ID(mov); DRB(rg); SC(1);
}
@@ -5442,7 +5442,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("oneb %0");
-#line 902 "rl78-decode.opc"
+#line 923 "rl78-decode.opc"
ID(mov); DM(None, SADDR); SC(1);
/*----------------------------------------------------------------------*/
@@ -5459,7 +5459,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("oneb %e!0");
-#line 896 "rl78-decode.opc"
+#line 917 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); SC(1);
}
@@ -5474,7 +5474,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("onew %0");
-#line 907 "rl78-decode.opc"
+#line 928 "rl78-decode.opc"
ID(mov); DR(AX); SC(1);
}
@@ -5489,7 +5489,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("onew %0");
-#line 910 "rl78-decode.opc"
+#line 931 "rl78-decode.opc"
ID(mov); DR(BC); SC(1);
/*----------------------------------------------------------------------*/
@@ -5506,7 +5506,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 677 "rl78-decode.opc"
+#line 698 "rl78-decode.opc"
ID(mov); DR(B); SM(None, SADDR);
}
@@ -5521,7 +5521,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e!1");
-#line 671 "rl78-decode.opc"
+#line 692 "rl78-decode.opc"
ID(mov); DR(B); SM(None, IMMU(2));
}
@@ -5536,7 +5536,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("br !%!a0");
-#line 346 "rl78-decode.opc"
+#line 367 "rl78-decode.opc"
ID(branch); DC(IMMU(3));
}
@@ -5551,7 +5551,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("br %!a0");
-#line 349 "rl78-decode.opc"
+#line 370 "rl78-decode.opc"
ID(branch); DC(IMMU(2));
}
@@ -5566,7 +5566,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("br $%!a0");
-#line 352 "rl78-decode.opc"
+#line 373 "rl78-decode.opc"
ID(branch); DC(pc+IMMS(2)+3);
}
@@ -5581,7 +5581,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("br $%a0");
-#line 355 "rl78-decode.opc"
+#line 376 "rl78-decode.opc"
ID(branch); DC(pc+IMMS(1)+2);
}
@@ -5592,7 +5592,7 @@ rl78_decode_opcode (unsigned long pc AU,
case 0xf3:
{
/** 1111 00rg clrb %0 */
-#line 442 "rl78-decode.opc"
+#line 463 "rl78-decode.opc"
int rg AU = op[0] & 0x03;
if (trace)
{
@@ -5602,7 +5602,7 @@ rl78_decode_opcode (unsigned long pc AU,
printf (" rg = 0x%x\n", rg);
}
SYNTAX("clrb %0");
-#line 442 "rl78-decode.opc"
+#line 463 "rl78-decode.opc"
ID(mov); DRB(rg); SC(0);
}
@@ -5617,7 +5617,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("clrb %0");
-#line 445 "rl78-decode.opc"
+#line 466 "rl78-decode.opc"
ID(mov); DM(None, SADDR); SC(0);
/*----------------------------------------------------------------------*/
@@ -5634,7 +5634,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("clrb %e!0");
-#line 439 "rl78-decode.opc"
+#line 460 "rl78-decode.opc"
ID(mov); DM(None, IMMU(2)); SC(0);
}
@@ -5649,7 +5649,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("clrw %0");
-#line 450 "rl78-decode.opc"
+#line 471 "rl78-decode.opc"
ID(mov); DR(AX); SC(0);
}
@@ -5664,7 +5664,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("clrw %0");
-#line 453 "rl78-decode.opc"
+#line 474 "rl78-decode.opc"
ID(mov); DR(BC); SC(0);
/*----------------------------------------------------------------------*/
@@ -5681,7 +5681,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %1");
-#line 683 "rl78-decode.opc"
+#line 704 "rl78-decode.opc"
ID(mov); DR(C); SM(None, SADDR);
}
@@ -5696,7 +5696,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("mov %0, %e!1");
-#line 680 "rl78-decode.opc"
+#line 701 "rl78-decode.opc"
ID(mov); DR(C); SM(None, IMMU(2));
}
@@ -5711,7 +5711,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("call !%!a0");
-#line 399 "rl78-decode.opc"
+#line 420 "rl78-decode.opc"
ID(call); DC(IMMU(3));
}
@@ -5726,7 +5726,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("call %!a0");
-#line 402 "rl78-decode.opc"
+#line 423 "rl78-decode.opc"
ID(call); DC(IMMU(2));
}
@@ -5741,7 +5741,7 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("call $%!a0");
-#line 405 "rl78-decode.opc"
+#line 426 "rl78-decode.opc"
ID(call); DC(pc+IMMS(2)+3);
}
@@ -5756,13 +5756,13 @@ rl78_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("brk1");
-#line 363 "rl78-decode.opc"
+#line 384 "rl78-decode.opc"
ID(break);
}
break;
}
-#line 1265 "rl78-decode.opc"
+#line 1286 "rl78-decode.opc"
return rl78->n_bytes;
}
diff --git a/opcodes/rx-decode.c b/opcodes/rx-decode.c
index ece020c..5cade13 100644
--- a/opcodes/rx-decode.c
+++ b/opcodes/rx-decode.c
@@ -291,7 +291,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("brk");
-#line 955 "rx-decode.opc"
+#line 976 "rx-decode.opc"
ID(brk);
}
@@ -306,7 +306,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("dbt");
-#line 958 "rx-decode.opc"
+#line 979 "rx-decode.opc"
ID(dbt);
}
@@ -321,7 +321,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("rts");
-#line 744 "rx-decode.opc"
+#line 765 "rx-decode.opc"
ID(rts);
/*----------------------------------------------------------------------*/
@@ -339,7 +339,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("nop");
-#line 750 "rx-decode.opc"
+#line 771 "rx-decode.opc"
ID(nop);
/*----------------------------------------------------------------------*/
@@ -357,7 +357,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.a %a0");
-#line 722 "rx-decode.opc"
+#line 743 "rx-decode.opc"
ID(branch); DC(pc + IMMex(3));
}
@@ -372,7 +372,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bsr.a %a0");
-#line 738 "rx-decode.opc"
+#line 759 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(3));
}
@@ -389,13 +389,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_1:
{
/** 0000 0110 mx00 00ss rsrc rdst sub %2%S2, %1 */
-#line 518 "rx-decode.opc"
+#line 539 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 518 "rx-decode.opc"
+#line 539 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 518 "rx-decode.opc"
+#line 539 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 518 "rx-decode.opc"
+#line 539 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -408,7 +408,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 518 "rx-decode.opc"
+#line 539 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); DR(rdst); F_OSZC;
}
@@ -450,13 +450,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_2:
{
/** 0000 0110 mx00 01ss rsrc rdst cmp %2%S2, %1 */
-#line 506 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 506 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 506 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 506 "rx-decode.opc"
+#line 527 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -469,7 +469,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 506 "rx-decode.opc"
+#line 527 "rx-decode.opc"
ID(sub); S2Pm(ss, rsrc, mx); SR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -514,13 +514,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_3:
{
/** 0000 0110 mx00 10ss rsrc rdst add %1%S1, %0 */
-#line 482 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 482 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 482 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 482 "rx-decode.opc"
+#line 503 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -533,7 +533,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 482 "rx-decode.opc"
+#line 503 "rx-decode.opc"
ID(add); SPm(ss, rsrc, mx); DR(rdst); F_OSZC;
}
@@ -575,13 +575,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_4:
{
/** 0000 0110 mx00 11ss rsrc rdst mul %1%S1, %0 */
-#line 587 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 587 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 587 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 587 "rx-decode.opc"
+#line 608 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -594,7 +594,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 587 "rx-decode.opc"
+#line 608 "rx-decode.opc"
ID(mul); SPm(ss, rsrc, mx); DR(rdst); F_____;
}
@@ -636,13 +636,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_5:
{
/** 0000 0110 mx01 00ss rsrc rdst and %1%S1, %0 */
-#line 395 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 395 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 395 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 395 "rx-decode.opc"
+#line 416 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -655,7 +655,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 395 "rx-decode.opc"
+#line 416 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
}
@@ -697,13 +697,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_6:
{
/** 0000 0110 mx01 01ss rsrc rdst or %1%S1, %0 */
-#line 413 "rx-decode.opc"
+#line 434 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 413 "rx-decode.opc"
+#line 434 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 413 "rx-decode.opc"
+#line 434 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 413 "rx-decode.opc"
+#line 434 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -716,7 +716,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 413 "rx-decode.opc"
+#line 434 "rx-decode.opc"
ID(or); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
}
@@ -762,13 +762,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_7:
{
/** 0000 0110 mx10 00sp 0000 0000 rsrc rdst sbb %1%S1, %0 */
-#line 531 "rx-decode.opc"
+#line 552 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 531 "rx-decode.opc"
+#line 552 "rx-decode.opc"
int sp AU = op[1] & 0x03;
-#line 531 "rx-decode.opc"
+#line 552 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 531 "rx-decode.opc"
+#line 552 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -781,7 +781,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1%S1, %0");
-#line 531 "rx-decode.opc"
+#line 552 "rx-decode.opc"
ID(sbb); SPm(sp, rsrc, mx); DR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -799,13 +799,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_8:
{
/** 0000 0110 mx10 00ss 0000 0100 rsrc rdst max %1%S1, %0 */
-#line 560 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 560 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 560 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 560 "rx-decode.opc"
+#line 581 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -818,7 +818,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 560 "rx-decode.opc"
+#line 581 "rx-decode.opc"
ID(max); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -836,13 +836,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_9:
{
/** 0000 0110 mx10 00ss 0000 0101 rsrc rdst min %1%S1, %0 */
-#line 572 "rx-decode.opc"
+#line 593 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 572 "rx-decode.opc"
+#line 593 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 572 "rx-decode.opc"
+#line 593 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 572 "rx-decode.opc"
+#line 593 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -855,7 +855,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 572 "rx-decode.opc"
+#line 593 "rx-decode.opc"
ID(min); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -873,13 +873,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_10:
{
/** 0000 0110 mx10 00ss 0000 0110 rsrc rdst emul %1%S1, %0 */
-#line 602 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 602 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 602 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 602 "rx-decode.opc"
+#line 623 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -892,7 +892,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 602 "rx-decode.opc"
+#line 623 "rx-decode.opc"
ID(emul); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -910,13 +910,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_11:
{
/** 0000 0110 mx10 00ss 0000 0111 rsrc rdst emulu %1%S1, %0 */
-#line 614 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 614 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 614 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 614 "rx-decode.opc"
+#line 635 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -929,7 +929,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 614 "rx-decode.opc"
+#line 635 "rx-decode.opc"
ID(emulu); SPm(ss, rsrc, mx); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -947,13 +947,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_12:
{
/** 0000 0110 mx10 00ss 0000 1000 rsrc rdst div %1%S1, %0 */
-#line 626 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 626 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 626 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 626 "rx-decode.opc"
+#line 647 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -966,7 +966,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 626 "rx-decode.opc"
+#line 647 "rx-decode.opc"
ID(div); SPm(ss, rsrc, mx); DR(rdst); F_O___;
/*----------------------------------------------------------------------*/
@@ -984,13 +984,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_13:
{
/** 0000 0110 mx10 00ss 0000 1001 rsrc rdst divu %1%S1, %0 */
-#line 638 "rx-decode.opc"
+#line 659 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 638 "rx-decode.opc"
+#line 659 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 638 "rx-decode.opc"
+#line 659 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 638 "rx-decode.opc"
+#line 659 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1003,7 +1003,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 638 "rx-decode.opc"
+#line 659 "rx-decode.opc"
ID(divu); SPm(ss, rsrc, mx); DR(rdst); F_O___;
/*----------------------------------------------------------------------*/
@@ -1021,13 +1021,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_14:
{
/** 0000 0110 mx10 00ss 0000 1100 rsrc rdst tst %1%S1, %2 */
-#line 449 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 449 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 449 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 449 "rx-decode.opc"
+#line 470 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1040,7 +1040,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 449 "rx-decode.opc"
+#line 470 "rx-decode.opc"
ID(and); SPm(ss, rsrc, mx); S2R(rdst); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -1058,13 +1058,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_15:
{
/** 0000 0110 mx10 00ss 0000 1101 rsrc rdst xor %1%S1, %0 */
-#line 428 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 428 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 428 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 428 "rx-decode.opc"
+#line 449 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1077,7 +1077,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 428 "rx-decode.opc"
+#line 449 "rx-decode.opc"
ID(xor); SPm(ss, rsrc, mx); DR(rdst); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -1095,13 +1095,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_16:
{
/** 0000 0110 mx10 00ss 0001 0000 rsrc rdst xchg %1%S1, %0 */
-#line 362 "rx-decode.opc"
+#line 383 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 362 "rx-decode.opc"
+#line 383 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 362 "rx-decode.opc"
+#line 383 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 362 "rx-decode.opc"
+#line 383 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1114,7 +1114,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 362 "rx-decode.opc"
+#line 383 "rx-decode.opc"
ID(xchg); DR(rdst); SPm(ss, rsrc, mx);
/*----------------------------------------------------------------------*/
@@ -1132,13 +1132,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_17:
{
/** 0000 0110 mx10 00sd 0001 0001 rsrc rdst itof %1%S1, %0 */
-#line 867 "rx-decode.opc"
+#line 888 "rx-decode.opc"
int mx AU = (op[1] >> 6) & 0x03;
-#line 867 "rx-decode.opc"
+#line 888 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 867 "rx-decode.opc"
+#line 888 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 867 "rx-decode.opc"
+#line 888 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -1151,7 +1151,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 867 "rx-decode.opc"
+#line 888 "rx-decode.opc"
ID(itof); DR (rdst); SPm(sd, rsrc, mx); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -2359,11 +2359,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_18:
{
/** 0000 0110 1010 00ss 0000 0010 rsrc rdst adc %1%S1, %0 */
-#line 470 "rx-decode.opc"
+#line 491 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 470 "rx-decode.opc"
+#line 491 "rx-decode.opc"
int rsrc AU = (op[3] >> 4) & 0x0f;
-#line 470 "rx-decode.opc"
+#line 491 "rx-decode.opc"
int rdst AU = op[3] & 0x0f;
if (trace)
{
@@ -2375,7 +2375,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1%S1, %0");
-#line 470 "rx-decode.opc"
+#line 491 "rx-decode.opc"
ID(adc); SPm(ss, rsrc, 2); DR(rdst); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -3476,7 +3476,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x0f:
{
/** 0000 1dsp bra.s %a0 */
-#line 713 "rx-decode.opc"
+#line 734 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
@@ -3486,7 +3486,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("bra.s %a0");
-#line 713 "rx-decode.opc"
+#line 734 "rx-decode.opc"
ID(branch); DC(pc + dsp3map[dsp]);
}
@@ -3509,9 +3509,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x1f:
{
/** 0001 n dsp b%1.s %a0 */
-#line 703 "rx-decode.opc"
+#line 724 "rx-decode.opc"
int n AU = (op[0] >> 3) & 0x01;
-#line 703 "rx-decode.opc"
+#line 724 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
if (trace)
{
@@ -3522,7 +3522,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dsp = 0x%x\n", dsp);
}
SYNTAX("b%1.s %a0");
-#line 703 "rx-decode.opc"
+#line 724 "rx-decode.opc"
ID(branch); Scc(n); DC(pc + dsp3map[dsp]);
}
@@ -3544,7 +3544,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x2f:
{
/** 0010 cond b%1.b %a0 */
-#line 706 "rx-decode.opc"
+#line 727 "rx-decode.opc"
int cond AU = op[0] & 0x0f;
if (trace)
{
@@ -3554,7 +3554,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("b%1.b %a0");
-#line 706 "rx-decode.opc"
+#line 727 "rx-decode.opc"
ID(branch); Scc(cond); DC(pc + IMMex (1));
}
@@ -3569,7 +3569,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.b %a0");
-#line 716 "rx-decode.opc"
+#line 737 "rx-decode.opc"
ID(branch); DC(pc + IMMex(1));
}
@@ -3584,7 +3584,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bra.w %a0");
-#line 719 "rx-decode.opc"
+#line 740 "rx-decode.opc"
ID(branch); DC(pc + IMMex(2));
}
@@ -3599,7 +3599,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("bsr.w %a0");
-#line 735 "rx-decode.opc"
+#line 756 "rx-decode.opc"
ID(jsr); DC(pc + IMMex(2));
}
@@ -3608,7 +3608,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x3b:
{
/** 0011 101c b%1.w %a0 */
-#line 709 "rx-decode.opc"
+#line 730 "rx-decode.opc"
int c AU = op[0] & 0x01;
if (trace)
{
@@ -3618,7 +3618,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" c = 0x%x\n", c);
}
SYNTAX("b%1.w %a0");
-#line 709 "rx-decode.opc"
+#line 730 "rx-decode.opc"
ID(branch); Scc(c); DC(pc + IMMex (2));
@@ -3632,13 +3632,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_19:
{
/** 0011 11sz d dst sppp mov%s #%1, %0 */
-#line 283 "rx-decode.opc"
+#line 304 "rx-decode.opc"
int sz AU = op[0] & 0x03;
-#line 283 "rx-decode.opc"
+#line 304 "rx-decode.opc"
int d AU = (op[1] >> 7) & 0x01;
-#line 283 "rx-decode.opc"
+#line 304 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 283 "rx-decode.opc"
+#line 304 "rx-decode.opc"
int sppp AU = op[1] & 0x0f;
if (trace)
{
@@ -3651,7 +3651,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sppp = 0x%x\n", sppp);
}
SYNTAX("mov%s #%1, %0");
-#line 283 "rx-decode.opc"
+#line 304 "rx-decode.opc"
ID(mov); sBWL (sz); DIs(dst, d*16+sppp, sz); SC(IMM(1)); F_____;
}
@@ -3683,9 +3683,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0011 1111 rega regb rtsd #%1, %2-%0 */
-#line 380 "rx-decode.opc"
+#line 401 "rx-decode.opc"
int rega AU = (op[1] >> 4) & 0x0f;
-#line 380 "rx-decode.opc"
+#line 401 "rx-decode.opc"
int regb AU = op[1] & 0x0f;
if (trace)
{
@@ -3696,7 +3696,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" regb = 0x%x\n", regb);
}
SYNTAX("rtsd #%1, %2-%0");
-#line 380 "rx-decode.opc"
+#line 401 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4); S2R(rega); DR(regb);
/*----------------------------------------------------------------------*/
@@ -3714,11 +3714,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_20:
{
/** 0100 00ss rsrc rdst sub %2%S2, %1 */
-#line 515 "rx-decode.opc"
+#line 536 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 515 "rx-decode.opc"
+#line 536 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 515 "rx-decode.opc"
+#line 536 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3730,7 +3730,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub %2%S2, %1");
-#line 515 "rx-decode.opc"
+#line 536 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); DR(rdst); F_OSZC;
}
@@ -3772,11 +3772,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_21:
{
/** 0100 01ss rsrc rdst cmp %2%S2, %1 */
-#line 503 "rx-decode.opc"
+#line 524 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 503 "rx-decode.opc"
+#line 524 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 503 "rx-decode.opc"
+#line 524 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3788,7 +3788,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp %2%S2, %1");
-#line 503 "rx-decode.opc"
+#line 524 "rx-decode.opc"
ID(sub); S2P(ss, rsrc); SR(rdst); F_OSZC;
}
@@ -3830,11 +3830,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_22:
{
/** 0100 10ss rsrc rdst add %1%S1, %0 */
-#line 479 "rx-decode.opc"
+#line 500 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 479 "rx-decode.opc"
+#line 500 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 479 "rx-decode.opc"
+#line 500 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3846,7 +3846,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add %1%S1, %0");
-#line 479 "rx-decode.opc"
+#line 500 "rx-decode.opc"
ID(add); SP(ss, rsrc); DR(rdst); F_OSZC;
}
@@ -3888,11 +3888,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_23:
{
/** 0100 11ss rsrc rdst mul %1%S1, %0 */
-#line 584 "rx-decode.opc"
+#line 605 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 584 "rx-decode.opc"
+#line 605 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 584 "rx-decode.opc"
+#line 605 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3904,7 +3904,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul %1%S1, %0");
-#line 584 "rx-decode.opc"
+#line 605 "rx-decode.opc"
ID(mul); SP(ss, rsrc); DR(rdst); F_____;
}
@@ -3946,11 +3946,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_24:
{
/** 0101 00ss rsrc rdst and %1%S1, %0 */
-#line 392 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 392 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 392 "rx-decode.opc"
+#line 413 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -3962,7 +3962,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and %1%S1, %0");
-#line 392 "rx-decode.opc"
+#line 413 "rx-decode.opc"
ID(and); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -4004,11 +4004,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_25:
{
/** 0101 01ss rsrc rdst or %1%S1, %0 */
-#line 410 "rx-decode.opc"
+#line 431 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 410 "rx-decode.opc"
+#line 431 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 410 "rx-decode.opc"
+#line 431 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4020,7 +4020,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or %1%S1, %0");
-#line 410 "rx-decode.opc"
+#line 431 "rx-decode.opc"
ID(or); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -4062,13 +4062,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_26:
{
/** 0101 1 s ss rsrc rdst movu%s %1, %0 */
-#line 331 "rx-decode.opc"
+#line 352 "rx-decode.opc"
int s AU = (op[0] >> 2) & 0x01;
-#line 331 "rx-decode.opc"
+#line 352 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 331 "rx-decode.opc"
+#line 352 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 331 "rx-decode.opc"
+#line 352 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4081,7 +4081,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 331 "rx-decode.opc"
+#line 352 "rx-decode.opc"
ID(mov); uBWL(s); SD(ss, rsrc, s); DR(rdst); F_____;
}
@@ -4158,9 +4158,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0000 immm rdst sub #%2, %0 */
-#line 512 "rx-decode.opc"
+#line 533 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 512 "rx-decode.opc"
+#line 533 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4171,7 +4171,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sub #%2, %0");
-#line 512 "rx-decode.opc"
+#line 533 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); DR(rdst); F_OSZC;
}
@@ -4185,9 +4185,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0001 immm rdst cmp #%2, %1 */
-#line 494 "rx-decode.opc"
+#line 515 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 494 "rx-decode.opc"
+#line 515 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4198,7 +4198,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("cmp #%2, %1");
-#line 494 "rx-decode.opc"
+#line 515 "rx-decode.opc"
ID(sub); S2C(immm); SR(rdst); F_OSZC;
}
@@ -4212,9 +4212,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0010 immm rdst add #%1, %0 */
-#line 476 "rx-decode.opc"
+#line 497 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 476 "rx-decode.opc"
+#line 497 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4225,7 +4225,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %0");
-#line 476 "rx-decode.opc"
+#line 497 "rx-decode.opc"
ID(add); SC(immm); DR(rdst); F_OSZC;
}
@@ -4239,9 +4239,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0011 immm rdst mul #%1, %0 */
-#line 578 "rx-decode.opc"
+#line 599 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 578 "rx-decode.opc"
+#line 599 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4252,7 +4252,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 578 "rx-decode.opc"
+#line 599 "rx-decode.opc"
ID(mul); DR(rdst); SC(immm); F_____;
}
@@ -4266,9 +4266,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0100 immm rdst and #%1, %0 */
-#line 386 "rx-decode.opc"
+#line 407 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 386 "rx-decode.opc"
+#line 407 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4279,7 +4279,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 386 "rx-decode.opc"
+#line 407 "rx-decode.opc"
ID(and); SC(immm); DR(rdst); F__SZ_;
}
@@ -4293,9 +4293,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0101 immm rdst or #%1, %0 */
-#line 404 "rx-decode.opc"
+#line 425 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 404 "rx-decode.opc"
+#line 425 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4306,7 +4306,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 404 "rx-decode.opc"
+#line 425 "rx-decode.opc"
ID(or); SC(immm); DR(rdst); F__SZ_;
}
@@ -4320,9 +4320,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 0110 immm rdst mov%s #%1, %0 */
-#line 280 "rx-decode.opc"
+#line 301 "rx-decode.opc"
int immm AU = (op[1] >> 4) & 0x0f;
-#line 280 "rx-decode.opc"
+#line 301 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4333,7 +4333,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 280 "rx-decode.opc"
+#line 301 "rx-decode.opc"
ID(mov); DR(rdst); SC(immm); F_____;
}
@@ -4350,7 +4350,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0]);
}
SYNTAX("rtsd #%1");
-#line 377 "rx-decode.opc"
+#line 398 "rx-decode.opc"
ID(rtsd); SC(IMM(1) * 4);
}
@@ -4363,11 +4363,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_27:
{
/** 0110 100i mmmm rdst shlr #%2, %0 */
-#line 664 "rx-decode.opc"
+#line 685 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 664 "rx-decode.opc"
+#line 685 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 664 "rx-decode.opc"
+#line 685 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4379,7 +4379,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %0");
-#line 664 "rx-decode.opc"
+#line 685 "rx-decode.opc"
ID(shlr); S2C(i*16+mmmm); SR(rdst); DR(rdst); F__SZC;
}
@@ -4403,11 +4403,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_28:
{
/** 0110 101i mmmm rdst shar #%2, %0 */
-#line 654 "rx-decode.opc"
+#line 675 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 654 "rx-decode.opc"
+#line 675 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 654 "rx-decode.opc"
+#line 675 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4419,7 +4419,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %0");
-#line 654 "rx-decode.opc"
+#line 675 "rx-decode.opc"
ID(shar); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_0SZC;
}
@@ -4443,11 +4443,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_29:
{
/** 0110 110i mmmm rdst shll #%2, %0 */
-#line 644 "rx-decode.opc"
+#line 665 "rx-decode.opc"
int i AU = op[0] & 0x01;
-#line 644 "rx-decode.opc"
+#line 665 "rx-decode.opc"
int mmmm AU = (op[1] >> 4) & 0x0f;
-#line 644 "rx-decode.opc"
+#line 665 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4459,7 +4459,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %0");
-#line 644 "rx-decode.opc"
+#line 665 "rx-decode.opc"
ID(shll); S2C(i*16+mmmm); SR(rdst); DR(rdst); F_OSZC;
}
@@ -4482,9 +4482,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 1110 dsta dstb pushm %1-%2 */
-#line 344 "rx-decode.opc"
+#line 365 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 344 "rx-decode.opc"
+#line 365 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
@@ -4495,7 +4495,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("pushm %1-%2");
-#line 344 "rx-decode.opc"
+#line 365 "rx-decode.opc"
ID(pushm); SR(dsta); S2R(dstb); F_____;
}
@@ -4509,9 +4509,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0110 1111 dsta dstb popm %1-%2 */
-#line 341 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int dsta AU = (op[1] >> 4) & 0x0f;
-#line 341 "rx-decode.opc"
+#line 362 "rx-decode.opc"
int dstb AU = op[1] & 0x0f;
if (trace)
{
@@ -4522,7 +4522,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dstb = 0x%x\n", dstb);
}
SYNTAX("popm %1-%2");
-#line 341 "rx-decode.opc"
+#line 362 "rx-decode.opc"
ID(popm); SR(dsta); S2R(dstb); F_____;
}
@@ -4537,11 +4537,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_30:
{
/** 0111 00im rsrc rdst add #%1, %2, %0 */
-#line 485 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 485 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 485 "rx-decode.opc"
+#line 506 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4553,7 +4553,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("add #%1, %2, %0");
-#line 485 "rx-decode.opc"
+#line 506 "rx-decode.opc"
ID(add); SC(IMMex(im)); S2R(rsrc); DR(rdst); F_OSZC;
}
@@ -4595,9 +4595,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_31:
{
/** 0111 01im 0000 rsrc cmp #%2, %1%S1 */
-#line 497 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 497 "rx-decode.opc"
+#line 518 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -4608,7 +4608,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1%S1");
-#line 497 "rx-decode.opc"
+#line 518 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMMex(im)); F_OSZC;
}
@@ -4617,9 +4617,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_32:
{
/** 0111 01im 0001rdst mul #%1, %0 */
-#line 581 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 581 "rx-decode.opc"
+#line 602 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4630,7 +4630,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mul #%1, %0");
-#line 581 "rx-decode.opc"
+#line 602 "rx-decode.opc"
ID(mul); DR(rdst); SC(IMMex(im)); F_____;
}
@@ -4639,9 +4639,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_33:
{
/** 0111 01im 0010 rdst and #%1, %0 */
-#line 389 "rx-decode.opc"
+#line 410 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 389 "rx-decode.opc"
+#line 410 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4652,7 +4652,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("and #%1, %0");
-#line 389 "rx-decode.opc"
+#line 410 "rx-decode.opc"
ID(and); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -4661,9 +4661,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_34:
{
/** 0111 01im 0011 rdst or #%1, %0 */
-#line 407 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int im AU = op[0] & 0x03;
-#line 407 "rx-decode.opc"
+#line 428 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4674,7 +4674,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("or #%1, %0");
-#line 407 "rx-decode.opc"
+#line 428 "rx-decode.opc"
ID(or); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -4776,7 +4776,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x4f:
{
/** 0111 0101 0100 rdst mov%s #%1, %0 */
-#line 261 "rx-decode.opc"
+#line 282 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4786,7 +4786,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s #%1, %0");
-#line 261 "rx-decode.opc"
+#line 282 "rx-decode.opc"
ID(mov); DR(rdst); SC(IMM (1)); F_____;
}
@@ -4809,7 +4809,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x5f:
{
/** 0111 0101 0101 rsrc cmp #%2, %1 */
-#line 500 "rx-decode.opc"
+#line 521 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -4819,7 +4819,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("cmp #%2, %1");
-#line 500 "rx-decode.opc"
+#line 521 "rx-decode.opc"
ID(sub); SR(rsrc); S2C(IMM(1)); F_OSZC;
}
@@ -4834,7 +4834,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("int #%1");
-#line 961 "rx-decode.opc"
+#line 982 "rx-decode.opc"
ID(int); SC(IMM(1));
}
@@ -4846,7 +4846,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0111 0101 0111 0000 0000 immm mvtipl #%1 */
-#line 928 "rx-decode.opc"
+#line 949 "rx-decode.opc"
int immm AU = op[2] & 0x0f;
if (trace)
{
@@ -4856,7 +4856,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" immm = 0x%x\n", immm);
}
SYNTAX("mvtipl #%1");
-#line 928 "rx-decode.opc"
+#line 949 "rx-decode.opc"
ID(mvtipl); SC(immm);
}
@@ -4913,11 +4913,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_35:
{
/** 0111 100b ittt rdst bset #%1, %0 */
-#line 879 "rx-decode.opc"
+#line 900 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 879 "rx-decode.opc"
+#line 900 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 879 "rx-decode.opc"
+#line 900 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4929,7 +4929,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bset #%1, %0");
-#line 879 "rx-decode.opc"
+#line 900 "rx-decode.opc"
ID(bset); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
@@ -4954,11 +4954,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_36:
{
/** 0111 101b ittt rdst bclr #%1, %0 */
-#line 889 "rx-decode.opc"
+#line 910 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 889 "rx-decode.opc"
+#line 910 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 889 "rx-decode.opc"
+#line 910 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -4970,7 +4970,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bclr #%1, %0");
-#line 889 "rx-decode.opc"
+#line 910 "rx-decode.opc"
ID(bclr); BWL(LSIZE); SC(b*16+ittt); DR(rdst); F_____;
@@ -4995,11 +4995,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_37:
{
/** 0111 110b ittt rdst btst #%2, %1 */
-#line 899 "rx-decode.opc"
+#line 920 "rx-decode.opc"
int b AU = op[0] & 0x01;
-#line 899 "rx-decode.opc"
+#line 920 "rx-decode.opc"
int ittt AU = (op[1] >> 4) & 0x0f;
-#line 899 "rx-decode.opc"
+#line 920 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5011,7 +5011,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("btst #%2, %1");
-#line 899 "rx-decode.opc"
+#line 920 "rx-decode.opc"
ID(btst); BWL(LSIZE); S2C(b*16+ittt); SR(rdst); F___ZC;
@@ -5035,7 +5035,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 0111 1110 0000 rdst not %0 */
-#line 434 "rx-decode.opc"
+#line 455 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5045,7 +5045,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %0");
-#line 434 "rx-decode.opc"
+#line 455 "rx-decode.opc"
ID(xor); DR(rdst); SR(rdst); S2C(~0); F__SZ_;
}
@@ -5053,7 +5053,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 0111 1110 0001 rdst neg %0 */
-#line 455 "rx-decode.opc"
+#line 476 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5063,7 +5063,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %0");
-#line 455 "rx-decode.opc"
+#line 476 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rdst); F_OSZC;
}
@@ -5071,7 +5071,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 0111 1110 0010 rdst abs %0 */
-#line 537 "rx-decode.opc"
+#line 558 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5081,7 +5081,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %0");
-#line 537 "rx-decode.opc"
+#line 558 "rx-decode.opc"
ID(abs); DR(rdst); SR(rdst); F_OSZ_;
}
@@ -5089,7 +5089,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x30:
{
/** 0111 1110 0011 rdst sat %0 */
-#line 819 "rx-decode.opc"
+#line 840 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5099,7 +5099,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sat %0");
-#line 819 "rx-decode.opc"
+#line 840 "rx-decode.opc"
ID(sat); DR (rdst);
}
@@ -5107,7 +5107,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x40:
{
/** 0111 1110 0100 rdst rorc %0 */
-#line 679 "rx-decode.opc"
+#line 700 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5117,7 +5117,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rorc %0");
-#line 679 "rx-decode.opc"
+#line 700 "rx-decode.opc"
ID(rorc); DR(rdst); F__SZC;
}
@@ -5125,7 +5125,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x50:
{
/** 0111 1110 0101 rdst rolc %0 */
-#line 676 "rx-decode.opc"
+#line 697 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5135,7 +5135,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rolc %0");
-#line 676 "rx-decode.opc"
+#line 697 "rx-decode.opc"
ID(rolc); DR(rdst); F__SZC;
}
@@ -5145,9 +5145,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0xa0:
{
/** 0111 1110 10sz rsrc push%s %1 */
-#line 350 "rx-decode.opc"
+#line 371 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 350 "rx-decode.opc"
+#line 371 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5158,7 +5158,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("push%s %1");
-#line 350 "rx-decode.opc"
+#line 371 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SR(rsrc); F_____;
}
@@ -5166,7 +5166,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xb0:
{
/** 0111 1110 1011 rdst pop %0 */
-#line 347 "rx-decode.opc"
+#line 368 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5176,7 +5176,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("pop %0");
-#line 347 "rx-decode.opc"
+#line 368 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(rdst); F_____;
}
@@ -5185,7 +5185,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xd0:
{
/** 0111 1110 110 crsrc pushc %1 */
-#line 934 "rx-decode.opc"
+#line 955 "rx-decode.opc"
int crsrc AU = op[1] & 0x1f;
if (trace)
{
@@ -5195,7 +5195,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crsrc = 0x%x\n", crsrc);
}
SYNTAX("pushc %1");
-#line 934 "rx-decode.opc"
+#line 955 "rx-decode.opc"
ID(mov); OP(0, RX_Operand_Predec, 0, 0); SR(crsrc + 16);
}
@@ -5204,7 +5204,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xf0:
{
/** 0111 1110 111 crdst popc %0 */
-#line 931 "rx-decode.opc"
+#line 952 "rx-decode.opc"
int crdst AU = op[1] & 0x1f;
if (trace)
{
@@ -5214,7 +5214,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("popc %0");
-#line 931 "rx-decode.opc"
+#line 952 "rx-decode.opc"
ID(mov); OP(1, RX_Operand_Postinc, 0, 0); DR(crdst + 16);
}
@@ -5244,7 +5244,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x0f:
{
/** 0111 1111 0000 rsrc jmp %0 */
-#line 729 "rx-decode.opc"
+#line 750 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5254,7 +5254,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jmp %0");
-#line 729 "rx-decode.opc"
+#line 750 "rx-decode.opc"
ID(branch); DR(rsrc);
}
@@ -5277,7 +5277,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x1f:
{
/** 0111 1111 0001 rsrc jsr %0 */
-#line 732 "rx-decode.opc"
+#line 753 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5287,7 +5287,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("jsr %0");
-#line 732 "rx-decode.opc"
+#line 753 "rx-decode.opc"
ID(jsr); DR(rsrc);
}
@@ -5310,7 +5310,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x4f:
{
/** 0111 1111 0100 rsrc bra.l %0 */
-#line 725 "rx-decode.opc"
+#line 746 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5320,7 +5320,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bra.l %0");
-#line 725 "rx-decode.opc"
+#line 746 "rx-decode.opc"
ID(branchrel); DR(rsrc);
@@ -5344,7 +5344,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x5f:
{
/** 0111 1111 0101 rsrc bsr.l %0 */
-#line 741 "rx-decode.opc"
+#line 762 "rx-decode.opc"
int rsrc AU = op[1] & 0x0f;
if (trace)
{
@@ -5354,7 +5354,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bsr.l %0");
-#line 741 "rx-decode.opc"
+#line 762 "rx-decode.opc"
ID(jsrrel); DR(rsrc);
}
@@ -5364,7 +5364,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x82:
{
/** 0111 1111 1000 00sz suntil%s */
-#line 765 "rx-decode.opc"
+#line 786 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5374,7 +5374,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("suntil%s");
-#line 765 "rx-decode.opc"
+#line 786 "rx-decode.opc"
ID(suntil); BWL(sz); F___ZC;
}
@@ -5389,7 +5389,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("scmpu");
-#line 756 "rx-decode.opc"
+#line 777 "rx-decode.opc"
ID(scmpu); F___ZC;
}
@@ -5399,7 +5399,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x86:
{
/** 0111 1111 1000 01sz swhile%s */
-#line 768 "rx-decode.opc"
+#line 789 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5409,7 +5409,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("swhile%s");
-#line 768 "rx-decode.opc"
+#line 789 "rx-decode.opc"
ID(swhile); BWL(sz); F___ZC;
}
@@ -5424,7 +5424,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovu");
-#line 759 "rx-decode.opc"
+#line 780 "rx-decode.opc"
ID(smovu);
}
@@ -5434,7 +5434,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x8a:
{
/** 0111 1111 1000 10sz sstr%s */
-#line 774 "rx-decode.opc"
+#line 795 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5444,7 +5444,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("sstr%s");
-#line 774 "rx-decode.opc"
+#line 795 "rx-decode.opc"
ID(sstr); BWL(sz);
/*----------------------------------------------------------------------*/
@@ -5462,7 +5462,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovb");
-#line 762 "rx-decode.opc"
+#line 783 "rx-decode.opc"
ID(smovb);
}
@@ -5472,7 +5472,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x8e:
{
/** 0111 1111 1000 11sz rmpa%s */
-#line 780 "rx-decode.opc"
+#line 801 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -5482,7 +5482,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("rmpa%s");
-#line 780 "rx-decode.opc"
+#line 801 "rx-decode.opc"
ID(rmpa); BWL(sz); F_OS__;
/*----------------------------------------------------------------------*/
@@ -5500,7 +5500,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("smovf");
-#line 771 "rx-decode.opc"
+#line 792 "rx-decode.opc"
ID(smovf);
}
@@ -5515,7 +5515,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("satr");
-#line 822 "rx-decode.opc"
+#line 843 "rx-decode.opc"
ID(satr);
/*----------------------------------------------------------------------*/
@@ -5533,7 +5533,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rtfi");
-#line 949 "rx-decode.opc"
+#line 970 "rx-decode.opc"
ID(rtfi);
}
@@ -5548,7 +5548,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("rte");
-#line 952 "rx-decode.opc"
+#line 973 "rx-decode.opc"
ID(rte);
}
@@ -5563,7 +5563,7 @@ rx_decode_opcode (unsigned long pc AU,
op[0], op[1]);
}
SYNTAX("wait");
-#line 964 "rx-decode.opc"
+#line 985 "rx-decode.opc"
ID(wait);
/*----------------------------------------------------------------------*/
@@ -5589,7 +5589,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xaf:
{
/** 0111 1111 1010 rdst setpsw %0 */
-#line 925 "rx-decode.opc"
+#line 946 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5599,7 +5599,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("setpsw %0");
-#line 925 "rx-decode.opc"
+#line 946 "rx-decode.opc"
ID(setpsw); DF(rdst);
}
@@ -5622,7 +5622,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0xbf:
{
/** 0111 1111 1011 rdst clrpsw %0 */
-#line 922 "rx-decode.opc"
+#line 943 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -5632,7 +5632,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("clrpsw %0");
-#line 922 "rx-decode.opc"
+#line 943 "rx-decode.opc"
ID(clrpsw); DF(rdst);
}
@@ -5648,17 +5648,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_38:
{
/** 10sz 0dsp a dst b src mov%s %1, %0 */
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int dst AU = (op[1] >> 4) & 0x07;
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
int src AU = op[1] & 0x07;
if (trace)
{
@@ -5673,7 +5673,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" src = 0x%x\n", src);
}
SYNTAX("mov%s %1, %0");
-#line 308 "rx-decode.opc"
+#line 329 "rx-decode.opc"
ID(mov); sBWL(sz); DIs(dst, dsp*4+a*2+b, sz); SR(src); F_____;
}
@@ -5751,17 +5751,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_39:
{
/** 10sz 1dsp a src b dst mov%s %1, %0 */
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
@@ -5776,7 +5776,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dst = 0x%x\n", dst);
}
SYNTAX("mov%s %1, %0");
-#line 305 "rx-decode.opc"
+#line 326 "rx-decode.opc"
ID(mov); sBWL(sz); DR(dst); SIs(src, dsp*4+a*2+b, sz); F_____;
}
@@ -6142,17 +6142,17 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_40:
{
/** 1011 w dsp a src b dst movu%s %1, %0 */
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int w AU = (op[0] >> 3) & 0x01;
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int dsp AU = op[0] & 0x07;
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int a AU = (op[1] >> 7) & 0x01;
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int src AU = (op[1] >> 4) & 0x07;
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int b AU = (op[1] >> 3) & 0x01;
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
int dst AU = op[1] & 0x07;
if (trace)
{
@@ -6167,7 +6167,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" dst = 0x%x\n", dst);
}
SYNTAX("movu%s %1, %0");
-#line 328 "rx-decode.opc"
+#line 349 "rx-decode.opc"
ID(mov); uBWL(w); DR(dst); SIs(src, dsp*4+a*2+b, w); F_____;
}
@@ -6317,15 +6317,15 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_41:
{
/** 11sz sd ss rsrc rdst mov%s %1, %0 */
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
int sz AU = (op[0] >> 4) & 0x03;
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
int sd AU = (op[0] >> 2) & 0x03;
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
if (trace)
{
@@ -6339,7 +6339,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 286 "rx-decode.opc"
+#line 307 "rx-decode.opc"
if (ss == 3 && sz == 2 && rsrc == 0 && rdst == 0)
{
ID(nop2);
@@ -6793,11 +6793,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_42:
{
/** 1111 00sd rdst 0bit bset #%1, %0%S0 */
-#line 873 "rx-decode.opc"
+#line 894 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 873 "rx-decode.opc"
+#line 894 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 873 "rx-decode.opc"
+#line 894 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6809,7 +6809,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bset #%1, %0%S0");
-#line 873 "rx-decode.opc"
+#line 894 "rx-decode.opc"
ID(bset); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
}
@@ -6818,11 +6818,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_43:
{
/** 1111 00sd rdst 1bit bclr #%1, %0%S0 */
-#line 883 "rx-decode.opc"
+#line 904 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 883 "rx-decode.opc"
+#line 904 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 883 "rx-decode.opc"
+#line 904 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6834,7 +6834,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("bclr #%1, %0%S0");
-#line 883 "rx-decode.opc"
+#line 904 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE); F_____;
}
@@ -6886,11 +6886,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_44:
{
/** 1111 01sd rdst 0bit btst #%2, %1%S1 */
-#line 893 "rx-decode.opc"
+#line 914 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 893 "rx-decode.opc"
+#line 914 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 893 "rx-decode.opc"
+#line 914 "rx-decode.opc"
int bit AU = op[1] & 0x07;
if (trace)
{
@@ -6902,7 +6902,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" bit = 0x%x\n", bit);
}
SYNTAX("btst #%2, %1%S1");
-#line 893 "rx-decode.opc"
+#line 914 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2C(bit); SD(sd, rdst, BSIZE); F___ZC;
}
@@ -6911,11 +6911,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_45:
{
/** 1111 01ss rsrc 10sz push%s %1 */
-#line 353 "rx-decode.opc"
+#line 374 "rx-decode.opc"
int ss AU = op[0] & 0x03;
-#line 353 "rx-decode.opc"
+#line 374 "rx-decode.opc"
int rsrc AU = (op[1] >> 4) & 0x0f;
-#line 353 "rx-decode.opc"
+#line 374 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -6927,7 +6927,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("push%s %1");
-#line 353 "rx-decode.opc"
+#line 374 "rx-decode.opc"
ID(mov); BWL(sz); OP(0, RX_Operand_Predec, 0, 0); SD(ss, rsrc, sz); F_____;
/*----------------------------------------------------------------------*/
@@ -6988,13 +6988,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_46:
{
/** 1111 10sd rdst im sz mov%s #%1, %0 */
-#line 264 "rx-decode.opc"
+#line 285 "rx-decode.opc"
int sd AU = op[0] & 0x03;
-#line 264 "rx-decode.opc"
+#line 285 "rx-decode.opc"
int rdst AU = (op[1] >> 4) & 0x0f;
-#line 264 "rx-decode.opc"
+#line 285 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 264 "rx-decode.opc"
+#line 285 "rx-decode.opc"
int sz AU = op[1] & 0x03;
if (trace)
{
@@ -7007,7 +7007,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" sz = 0x%x\n", sz);
}
SYNTAX("mov%s #%1, %0");
-#line 264 "rx-decode.opc"
+#line 285 "rx-decode.opc"
ID(mov); DD(sd, rdst, sz);
if ((im == 1 && sz == 0)
|| (im == 2 && sz == 1)
@@ -7065,9 +7065,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 0011 rsrc rdst sbb %1, %0 */
-#line 527 "rx-decode.opc"
+#line 548 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 527 "rx-decode.opc"
+#line 548 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7078,7 +7078,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("sbb %1, %0");
-#line 527 "rx-decode.opc"
+#line 548 "rx-decode.opc"
ID(sbb); SR (rsrc); DR(rdst); F_OSZC;
/* FIXME: only supports .L */
@@ -7093,9 +7093,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 0111 rsrc rdst neg %2, %0 */
-#line 458 "rx-decode.opc"
+#line 479 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 458 "rx-decode.opc"
+#line 479 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7106,7 +7106,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("neg %2, %0");
-#line 458 "rx-decode.opc"
+#line 479 "rx-decode.opc"
ID(sub); DR(rdst); SC(0); S2R(rsrc); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -7123,9 +7123,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 1011 rsrc rdst adc %1, %0 */
-#line 467 "rx-decode.opc"
+#line 488 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 467 "rx-decode.opc"
+#line 488 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7136,7 +7136,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc %1, %0");
-#line 467 "rx-decode.opc"
+#line 488 "rx-decode.opc"
ID(adc); SR(rsrc); DR(rdst); F_OSZC;
}
@@ -7150,9 +7150,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0000 1111 rsrc rdst abs %1, %0 */
-#line 540 "rx-decode.opc"
+#line 561 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 540 "rx-decode.opc"
+#line 561 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7163,7 +7163,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("abs %1, %0");
-#line 540 "rx-decode.opc"
+#line 561 "rx-decode.opc"
ID(abs); DR(rdst); SR(rsrc); F_OSZ_;
/*----------------------------------------------------------------------*/
@@ -7181,11 +7181,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_47:
{
/** 1111 1100 0001 00ss rsrc rdst max %1%S1, %0 */
-#line 549 "rx-decode.opc"
+#line 570 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 549 "rx-decode.opc"
+#line 570 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 549 "rx-decode.opc"
+#line 570 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7197,7 +7197,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max %1%S1, %0");
-#line 549 "rx-decode.opc"
+#line 570 "rx-decode.opc"
if (ss == 3 && rsrc == 0 && rdst == 0)
{
ID(nop3);
@@ -7247,11 +7247,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_48:
{
/** 1111 1100 0001 01ss rsrc rdst min %1%S1, %0 */
-#line 569 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 569 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 569 "rx-decode.opc"
+#line 590 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7263,7 +7263,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min %1%S1, %0");
-#line 569 "rx-decode.opc"
+#line 590 "rx-decode.opc"
ID(min); SP(ss, rsrc); DR(rdst);
}
@@ -7305,11 +7305,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_49:
{
/** 1111 1100 0001 10ss rsrc rdst emul %1%S1, %0 */
-#line 599 "rx-decode.opc"
+#line 620 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 599 "rx-decode.opc"
+#line 620 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 599 "rx-decode.opc"
+#line 620 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7321,7 +7321,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul %1%S1, %0");
-#line 599 "rx-decode.opc"
+#line 620 "rx-decode.opc"
ID(emul); SP(ss, rsrc); DR(rdst);
}
@@ -7363,11 +7363,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_50:
{
/** 1111 1100 0001 11ss rsrc rdst emulu %1%S1, %0 */
-#line 611 "rx-decode.opc"
+#line 632 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 611 "rx-decode.opc"
+#line 632 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 611 "rx-decode.opc"
+#line 632 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7379,7 +7379,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu %1%S1, %0");
-#line 611 "rx-decode.opc"
+#line 632 "rx-decode.opc"
ID(emulu); SP(ss, rsrc); DR(rdst);
}
@@ -7421,11 +7421,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_51:
{
/** 1111 1100 0010 00ss rsrc rdst div %1%S1, %0 */
-#line 623 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 623 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 623 "rx-decode.opc"
+#line 644 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7437,7 +7437,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div %1%S1, %0");
-#line 623 "rx-decode.opc"
+#line 644 "rx-decode.opc"
ID(div); SP(ss, rsrc); DR(rdst); F_O___;
}
@@ -7479,11 +7479,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_52:
{
/** 1111 1100 0010 01ss rsrc rdst divu %1%S1, %0 */
-#line 635 "rx-decode.opc"
+#line 656 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 635 "rx-decode.opc"
+#line 656 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 635 "rx-decode.opc"
+#line 656 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7495,7 +7495,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu %1%S1, %0");
-#line 635 "rx-decode.opc"
+#line 656 "rx-decode.opc"
ID(divu); SP(ss, rsrc); DR(rdst); F_O___;
}
@@ -7537,11 +7537,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_53:
{
/** 1111 1100 0011 00ss rsrc rdst tst %1%S1, %2 */
-#line 446 "rx-decode.opc"
+#line 467 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 446 "rx-decode.opc"
+#line 467 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 446 "rx-decode.opc"
+#line 467 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7553,7 +7553,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst %1%S1, %2");
-#line 446 "rx-decode.opc"
+#line 467 "rx-decode.opc"
ID(and); SP(ss, rsrc); S2R(rdst); F__SZ_;
}
@@ -7595,11 +7595,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_54:
{
/** 1111 1100 0011 01ss rsrc rdst xor %1%S1, %0 */
-#line 425 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 425 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 425 "rx-decode.opc"
+#line 446 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7611,7 +7611,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor %1%S1, %0");
-#line 425 "rx-decode.opc"
+#line 446 "rx-decode.opc"
ID(xor); SP(ss, rsrc); DR(rdst); F__SZ_;
}
@@ -7652,9 +7652,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1100 0011 1011 rsrc rdst not %1, %0 */
-#line 437 "rx-decode.opc"
+#line 458 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 437 "rx-decode.opc"
+#line 458 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7665,7 +7665,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("not %1, %0");
-#line 437 "rx-decode.opc"
+#line 458 "rx-decode.opc"
ID(xor); DR(rdst); SR(rsrc); S2C(~0); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -7683,11 +7683,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_55:
{
/** 1111 1100 0100 00ss rsrc rdst xchg %1%S1, %0 */
-#line 359 "rx-decode.opc"
+#line 380 "rx-decode.opc"
int ss AU = op[1] & 0x03;
-#line 359 "rx-decode.opc"
+#line 380 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 359 "rx-decode.opc"
+#line 380 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7699,7 +7699,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xchg %1%S1, %0");
-#line 359 "rx-decode.opc"
+#line 380 "rx-decode.opc"
ID(xchg); DR(rdst); SP(ss, rsrc);
}
@@ -7741,11 +7741,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_56:
{
/** 1111 1100 0100 01sd rsrc rdst itof %1%S1, %0 */
-#line 864 "rx-decode.opc"
+#line 885 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 864 "rx-decode.opc"
+#line 885 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 864 "rx-decode.opc"
+#line 885 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -7757,7 +7757,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("itof %1%S1, %0");
-#line 864 "rx-decode.opc"
+#line 885 "rx-decode.opc"
ID(itof); DR (rdst); SP(sd, rsrc); F__SZ_;
}
@@ -7799,11 +7799,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_57:
{
/** 1111 1100 0110 00sd rdst rsrc bset %1, %0%S0 */
-#line 876 "rx-decode.opc"
+#line 897 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 876 "rx-decode.opc"
+#line 897 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 876 "rx-decode.opc"
+#line 897 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7815,7 +7815,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bset %1, %0%S0");
-#line 876 "rx-decode.opc"
+#line 897 "rx-decode.opc"
ID(bset); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
}
@@ -7857,11 +7857,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_58:
{
/** 1111 1100 0110 01sd rdst rsrc bclr %1, %0%S0 */
-#line 886 "rx-decode.opc"
+#line 907 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 886 "rx-decode.opc"
+#line 907 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 886 "rx-decode.opc"
+#line 907 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7873,7 +7873,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bclr %1, %0%S0");
-#line 886 "rx-decode.opc"
+#line 907 "rx-decode.opc"
ID(bclr); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE); F_____;
}
@@ -7915,11 +7915,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_59:
{
/** 1111 1100 0110 10sd rdst rsrc btst %2, %1%S1 */
-#line 896 "rx-decode.opc"
+#line 917 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 896 "rx-decode.opc"
+#line 917 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 896 "rx-decode.opc"
+#line 917 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7931,7 +7931,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("btst %2, %1%S1");
-#line 896 "rx-decode.opc"
+#line 917 "rx-decode.opc"
ID(btst); BWL(BSIZE); S2R(rsrc); SD(sd, rdst, BSIZE); F___ZC;
}
@@ -7973,11 +7973,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_60:
{
/** 1111 1100 0110 11sd rdst rsrc bnot %1, %0%S0 */
-#line 906 "rx-decode.opc"
+#line 927 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 906 "rx-decode.opc"
+#line 927 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 906 "rx-decode.opc"
+#line 927 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -7989,7 +7989,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("bnot %1, %0%S0");
-#line 906 "rx-decode.opc"
+#line 927 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SR(rsrc); DD(sd, rdst, BSIZE);
}
@@ -8031,11 +8031,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_61:
{
/** 1111 1100 1000 00sd rsrc rdst fsub %1%S1, %0 */
-#line 843 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 843 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 843 "rx-decode.opc"
+#line 864 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8047,7 +8047,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub %1%S1, %0");
-#line 843 "rx-decode.opc"
+#line 864 "rx-decode.opc"
ID(fsub); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8089,11 +8089,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_62:
{
/** 1111 1100 1000 01sd rsrc rdst fcmp %1%S1, %0 */
-#line 837 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 837 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 837 "rx-decode.opc"
+#line 858 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8105,7 +8105,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp %1%S1, %0");
-#line 837 "rx-decode.opc"
+#line 858 "rx-decode.opc"
ID(fcmp); DR(rdst); SD(sd, rsrc, LSIZE); F_OSZ_;
}
@@ -8147,11 +8147,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_63:
{
/** 1111 1100 1000 10sd rsrc rdst fadd %1%S1, %0 */
-#line 831 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 831 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 831 "rx-decode.opc"
+#line 852 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8163,7 +8163,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd %1%S1, %0");
-#line 831 "rx-decode.opc"
+#line 852 "rx-decode.opc"
ID(fadd); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8205,11 +8205,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_64:
{
/** 1111 1100 1000 11sd rsrc rdst fmul %1%S1, %0 */
-#line 852 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 852 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 852 "rx-decode.opc"
+#line 873 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8221,7 +8221,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul %1%S1, %0");
-#line 852 "rx-decode.opc"
+#line 873 "rx-decode.opc"
ID(fmul); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8263,11 +8263,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_65:
{
/** 1111 1100 1001 00sd rsrc rdst fdiv %1%S1, %0 */
-#line 858 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 858 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 858 "rx-decode.opc"
+#line 879 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8279,7 +8279,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv %1%S1, %0");
-#line 858 "rx-decode.opc"
+#line 879 "rx-decode.opc"
ID(fdiv); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8321,11 +8321,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_66:
{
/** 1111 1100 1001 01sd rsrc rdst ftoi %1%S1, %0 */
-#line 846 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 846 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 846 "rx-decode.opc"
+#line 867 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8337,7 +8337,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("ftoi %1%S1, %0");
-#line 846 "rx-decode.opc"
+#line 867 "rx-decode.opc"
ID(ftoi); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8379,11 +8379,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_67:
{
/** 1111 1100 1001 10sd rsrc rdst round %1%S1, %0 */
-#line 861 "rx-decode.opc"
+#line 882 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 861 "rx-decode.opc"
+#line 882 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 861 "rx-decode.opc"
+#line 882 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -8395,7 +8395,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("round %1%S1, %0");
-#line 861 "rx-decode.opc"
+#line 882 "rx-decode.opc"
ID(round); DR(rdst); SD(sd, rsrc, LSIZE); F__SZ_;
}
@@ -8437,13 +8437,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_68:
{
/** 1111 1100 1101 sz sd rdst cond sc%1%s %0 */
-#line 970 "rx-decode.opc"
+#line 991 "rx-decode.opc"
int sz AU = (op[1] >> 2) & 0x03;
-#line 970 "rx-decode.opc"
+#line 991 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 970 "rx-decode.opc"
+#line 991 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 970 "rx-decode.opc"
+#line 991 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
@@ -8456,7 +8456,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("sc%1%s %0");
-#line 970 "rx-decode.opc"
+#line 991 "rx-decode.opc"
ID(sccnd); BWL(sz); DD (sd, rdst, sz); Scc(cond);
}
@@ -8584,13 +8584,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_69:
{
/** 1111 1100 111bit sd rdst cond bm%2 #%1, %0%S0 */
-#line 913 "rx-decode.opc"
+#line 934 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 913 "rx-decode.opc"
+#line 934 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 913 "rx-decode.opc"
+#line 934 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 913 "rx-decode.opc"
+#line 934 "rx-decode.opc"
int cond AU = op[2] & 0x0f;
if (trace)
{
@@ -8603,7 +8603,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" cond = 0x%x\n", cond);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 913 "rx-decode.opc"
+#line 934 "rx-decode.opc"
ID(bmcc); BWL(BSIZE); S2cc(cond); SC(bit); DD(sd, rdst, BSIZE);
}
@@ -8612,11 +8612,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_70:
{
/** 1111 1100 111bit sd rdst 1111 bnot #%1, %0%S0 */
-#line 903 "rx-decode.opc"
+#line 924 "rx-decode.opc"
int bit AU = (op[1] >> 2) & 0x07;
-#line 903 "rx-decode.opc"
+#line 924 "rx-decode.opc"
int sd AU = op[1] & 0x03;
-#line 903 "rx-decode.opc"
+#line 924 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
if (trace)
{
@@ -8628,7 +8628,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0%S0");
-#line 903 "rx-decode.opc"
+#line 924 "rx-decode.opc"
ID(bnot); BWL(BSIZE); SC(bit); DD(sd, rdst, BSIZE);
}
@@ -9455,9 +9455,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0000 srca srcb mulhi %1, %2 */
-#line 786 "rx-decode.opc"
+#line 807 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 786 "rx-decode.opc"
+#line 807 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9468,7 +9468,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mulhi %1, %2");
-#line 786 "rx-decode.opc"
+#line 807 "rx-decode.opc"
ID(mulhi); SR(srca); S2R(srcb); F_____;
}
@@ -9482,9 +9482,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0001 srca srcb mullo %1, %2 */
-#line 789 "rx-decode.opc"
+#line 810 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 789 "rx-decode.opc"
+#line 810 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9495,7 +9495,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mullo %1, %2");
-#line 789 "rx-decode.opc"
+#line 810 "rx-decode.opc"
ID(mullo); SR(srca); S2R(srcb); F_____;
}
@@ -9509,9 +9509,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0100 srca srcb machi %1, %2 */
-#line 792 "rx-decode.opc"
+#line 813 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 792 "rx-decode.opc"
+#line 813 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9522,7 +9522,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("machi %1, %2");
-#line 792 "rx-decode.opc"
+#line 813 "rx-decode.opc"
ID(machi); SR(srca); S2R(srcb); F_____;
}
@@ -9536,9 +9536,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0000 0101 srca srcb maclo %1, %2 */
-#line 795 "rx-decode.opc"
+#line 816 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 795 "rx-decode.opc"
+#line 816 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -9549,7 +9549,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("maclo %1, %2");
-#line 795 "rx-decode.opc"
+#line 816 "rx-decode.opc"
ID(maclo); SR(srca); S2R(srcb); F_____;
}
@@ -9563,7 +9563,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 0111 0000 rsrc mvtachi %1 */
-#line 798 "rx-decode.opc"
+#line 819 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9573,7 +9573,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtachi %1");
-#line 798 "rx-decode.opc"
+#line 819 "rx-decode.opc"
ID(mvtachi); SR(rsrc); F_____;
}
@@ -9581,7 +9581,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0001 0111 0001 rsrc mvtaclo %1 */
-#line 801 "rx-decode.opc"
+#line 822 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9591,7 +9591,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mvtaclo %1");
-#line 801 "rx-decode.opc"
+#line 822 "rx-decode.opc"
ID(mvtaclo); SR(rsrc); F_____;
}
@@ -9606,7 +9606,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 1000 000i 0000 racw #%1 */
-#line 813 "rx-decode.opc"
+#line 834 "rx-decode.opc"
int i AU = (op[2] >> 4) & 0x01;
if (trace)
{
@@ -9616,7 +9616,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" i = 0x%x\n", i);
}
SYNTAX("racw #%1");
-#line 813 "rx-decode.opc"
+#line 834 "rx-decode.opc"
ID(racw); SC(i+1); F_____;
/*----------------------------------------------------------------------*/
@@ -9634,7 +9634,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0001 1111 0000 rdst mvfachi %0 */
-#line 804 "rx-decode.opc"
+#line 825 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9644,7 +9644,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfachi %0");
-#line 804 "rx-decode.opc"
+#line 825 "rx-decode.opc"
ID(mvfachi); DR(rdst); F_____;
}
@@ -9652,7 +9652,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0001 1111 0001 rdst mvfaclo %0 */
-#line 810 "rx-decode.opc"
+#line 831 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9662,7 +9662,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfaclo %0");
-#line 810 "rx-decode.opc"
+#line 831 "rx-decode.opc"
ID(mvfaclo); DR(rdst); F_____;
}
@@ -9670,7 +9670,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 1111 1101 0001 1111 0010 rdst mvfacmi %0 */
-#line 807 "rx-decode.opc"
+#line 828 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9680,7 +9680,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfacmi %0");
-#line 807 "rx-decode.opc"
+#line 828 "rx-decode.opc"
ID(mvfacmi); DR(rdst); F_____;
}
@@ -9696,13 +9696,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_71:
{
/** 1111 1101 0010 0p sz rdst rsrc mov%s %1, %0 */
-#line 320 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 320 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 320 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int rdst AU = (op[2] >> 4) & 0x0f;
-#line 320 "rx-decode.opc"
+#line 341 "rx-decode.opc"
int rsrc AU = op[2] & 0x0f;
if (trace)
{
@@ -9715,7 +9715,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rsrc = 0x%x\n", rsrc);
}
SYNTAX("mov%s %1, %0");
-#line 320 "rx-decode.opc"
+#line 341 "rx-decode.opc"
ID(mov); sBWL (sz); SR(rsrc); F_____;
OP(0, p ? RX_Operand_Predec : RX_Operand_Postinc, rdst, 0);
@@ -9776,13 +9776,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_72:
{
/** 1111 1101 0010 1p sz rsrc rdst mov%s %1, %0 */
-#line 324 "rx-decode.opc"
+#line 345 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 324 "rx-decode.opc"
+#line 345 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 324 "rx-decode.opc"
+#line 345 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 324 "rx-decode.opc"
+#line 345 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9795,7 +9795,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %1, %0");
-#line 324 "rx-decode.opc"
+#line 345 "rx-decode.opc"
ID(mov); sBWL (sz); DR(rdst); F_____;
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
@@ -9856,13 +9856,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_73:
{
/** 1111 1101 0011 1p sz rsrc rdst movu%s %1, %0 */
-#line 334 "rx-decode.opc"
+#line 355 "rx-decode.opc"
int p AU = (op[1] >> 2) & 0x01;
-#line 334 "rx-decode.opc"
+#line 355 "rx-decode.opc"
int sz AU = op[1] & 0x03;
-#line 334 "rx-decode.opc"
+#line 355 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 334 "rx-decode.opc"
+#line 355 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9875,7 +9875,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s %1, %0");
-#line 334 "rx-decode.opc"
+#line 355 "rx-decode.opc"
ID(mov); uBWL (sz); DR(rdst); F_____;
OP(1, p ? RX_Operand_Predec : RX_Operand_Postinc, rsrc, 0);
@@ -9938,9 +9938,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0000 rsrc rdst shlr %2, %0 */
-#line 667 "rx-decode.opc"
+#line 688 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 667 "rx-decode.opc"
+#line 688 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9951,7 +9951,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr %2, %0");
-#line 667 "rx-decode.opc"
+#line 688 "rx-decode.opc"
ID(shlr); S2R(rsrc); SR(rdst); DR(rdst); F__SZC;
}
@@ -9965,9 +9965,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0001 rsrc rdst shar %2, %0 */
-#line 657 "rx-decode.opc"
+#line 678 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 657 "rx-decode.opc"
+#line 678 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -9978,7 +9978,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar %2, %0");
-#line 657 "rx-decode.opc"
+#line 678 "rx-decode.opc"
ID(shar); S2R(rsrc); SR(rdst); DR(rdst); F_0SZC;
}
@@ -9992,9 +9992,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0010 rsrc rdst shll %2, %0 */
-#line 647 "rx-decode.opc"
+#line 668 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 647 "rx-decode.opc"
+#line 668 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10005,7 +10005,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll %2, %0");
-#line 647 "rx-decode.opc"
+#line 668 "rx-decode.opc"
ID(shll); S2R(rsrc); SR(rdst); DR(rdst); F_OSZC;
}
@@ -10019,9 +10019,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0100 rsrc rdst rotr %1, %0 */
-#line 691 "rx-decode.opc"
+#line 712 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 691 "rx-decode.opc"
+#line 712 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10032,7 +10032,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr %1, %0");
-#line 691 "rx-decode.opc"
+#line 712 "rx-decode.opc"
ID(rotr); SR(rsrc); DR(rdst); F__SZC;
}
@@ -10046,9 +10046,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0101 rsrc rdst revw %1, %0 */
-#line 694 "rx-decode.opc"
+#line 715 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 694 "rx-decode.opc"
+#line 715 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10059,7 +10059,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revw %1, %0");
-#line 694 "rx-decode.opc"
+#line 715 "rx-decode.opc"
ID(revw); SR(rsrc); DR(rdst);
}
@@ -10073,9 +10073,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0110 rsrc rdst rotl %1, %0 */
-#line 685 "rx-decode.opc"
+#line 706 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 685 "rx-decode.opc"
+#line 706 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10086,7 +10086,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl %1, %0");
-#line 685 "rx-decode.opc"
+#line 706 "rx-decode.opc"
ID(rotl); SR(rsrc); DR(rdst); F__SZC;
}
@@ -10100,9 +10100,9 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0110 0111 rsrc rdst revl %1, %0 */
-#line 697 "rx-decode.opc"
+#line 718 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 697 "rx-decode.opc"
+#line 718 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10113,7 +10113,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("revl %1, %0");
-#line 697 "rx-decode.opc"
+#line 718 "rx-decode.opc"
ID(revl); SR(rsrc); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -10131,11 +10131,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_74:
{
/** 1111 1101 0110 100c rsrc rdst mvtc %1, %0 */
-#line 940 "rx-decode.opc"
+#line 961 "rx-decode.opc"
int c AU = op[1] & 0x01;
-#line 940 "rx-decode.opc"
+#line 961 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 940 "rx-decode.opc"
+#line 961 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10147,7 +10147,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvtc %1, %0");
-#line 940 "rx-decode.opc"
+#line 961 "rx-decode.opc"
ID(mov); SR(rsrc); DR(c*16+rdst + 16);
}
@@ -10171,11 +10171,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_75:
{
/** 1111 1101 0110 101s rsrc rdst mvfc %1, %0 */
-#line 943 "rx-decode.opc"
+#line 964 "rx-decode.opc"
int s AU = op[1] & 0x01;
-#line 943 "rx-decode.opc"
+#line 964 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 943 "rx-decode.opc"
+#line 964 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10187,7 +10187,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mvfc %1, %0");
-#line 943 "rx-decode.opc"
+#line 964 "rx-decode.opc"
ID(mov); SR((s*16+rsrc) + 16); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -10214,11 +10214,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_76:
{
/** 1111 1101 0110 110i mmmm rdst rotr #%1, %0 */
-#line 688 "rx-decode.opc"
+#line 709 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 688 "rx-decode.opc"
+#line 709 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 688 "rx-decode.opc"
+#line 709 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10230,7 +10230,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotr #%1, %0");
-#line 688 "rx-decode.opc"
+#line 709 "rx-decode.opc"
ID(rotr); SC(i*16+mmmm); DR(rdst); F__SZC;
}
@@ -10254,11 +10254,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_77:
{
/** 1111 1101 0110 111i mmmm rdst rotl #%1, %0 */
-#line 682 "rx-decode.opc"
+#line 703 "rx-decode.opc"
int i AU = op[1] & 0x01;
-#line 682 "rx-decode.opc"
+#line 703 "rx-decode.opc"
int mmmm AU = (op[2] >> 4) & 0x0f;
-#line 682 "rx-decode.opc"
+#line 703 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10270,7 +10270,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("rotl #%1, %0");
-#line 682 "rx-decode.opc"
+#line 703 "rx-decode.opc"
ID(rotl); SC(i*16+mmmm); DR(rdst); F__SZC;
}
@@ -10294,9 +10294,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_78:
{
/** 1111 1101 0111 im00 0010rdst adc #%1, %0 */
-#line 464 "rx-decode.opc"
+#line 485 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 464 "rx-decode.opc"
+#line 485 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10307,7 +10307,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("adc #%1, %0");
-#line 464 "rx-decode.opc"
+#line 485 "rx-decode.opc"
ID(adc); SC(IMMex(im)); DR(rdst); F_OSZC;
}
@@ -10316,9 +10316,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_79:
{
/** 1111 1101 0111 im00 0100rdst max #%1, %0 */
-#line 546 "rx-decode.opc"
+#line 567 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 546 "rx-decode.opc"
+#line 567 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10329,7 +10329,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("max #%1, %0");
-#line 546 "rx-decode.opc"
+#line 567 "rx-decode.opc"
ID(max); DR(rdst); SC(IMMex(im));
}
@@ -10338,9 +10338,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_80:
{
/** 1111 1101 0111 im00 0101rdst min #%1, %0 */
-#line 566 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 566 "rx-decode.opc"
+#line 587 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10351,7 +10351,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("min #%1, %0");
-#line 566 "rx-decode.opc"
+#line 587 "rx-decode.opc"
ID(min); DR(rdst); SC(IMMex(im));
}
@@ -10360,9 +10360,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_81:
{
/** 1111 1101 0111 im00 0110rdst emul #%1, %0 */
-#line 596 "rx-decode.opc"
+#line 617 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 596 "rx-decode.opc"
+#line 617 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10373,7 +10373,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emul #%1, %0");
-#line 596 "rx-decode.opc"
+#line 617 "rx-decode.opc"
ID(emul); DR(rdst); SC(IMMex(im));
}
@@ -10382,9 +10382,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_82:
{
/** 1111 1101 0111 im00 0111rdst emulu #%1, %0 */
-#line 608 "rx-decode.opc"
+#line 629 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 608 "rx-decode.opc"
+#line 629 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10395,7 +10395,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("emulu #%1, %0");
-#line 608 "rx-decode.opc"
+#line 629 "rx-decode.opc"
ID(emulu); DR(rdst); SC(IMMex(im));
}
@@ -10404,9 +10404,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_83:
{
/** 1111 1101 0111 im00 1000rdst div #%1, %0 */
-#line 620 "rx-decode.opc"
+#line 641 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 620 "rx-decode.opc"
+#line 641 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10417,7 +10417,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("div #%1, %0");
-#line 620 "rx-decode.opc"
+#line 641 "rx-decode.opc"
ID(div); DR(rdst); SC(IMMex(im)); F_O___;
}
@@ -10426,9 +10426,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_84:
{
/** 1111 1101 0111 im00 1001rdst divu #%1, %0 */
-#line 632 "rx-decode.opc"
+#line 653 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 632 "rx-decode.opc"
+#line 653 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10439,7 +10439,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("divu #%1, %0");
-#line 632 "rx-decode.opc"
+#line 653 "rx-decode.opc"
ID(divu); DR(rdst); SC(IMMex(im)); F_O___;
}
@@ -10448,9 +10448,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_85:
{
/** 1111 1101 0111 im00 1100rdst tst #%1, %2 */
-#line 443 "rx-decode.opc"
+#line 464 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 443 "rx-decode.opc"
+#line 464 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10461,7 +10461,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("tst #%1, %2");
-#line 443 "rx-decode.opc"
+#line 464 "rx-decode.opc"
ID(and); SC(IMMex(im)); S2R(rdst); F__SZ_;
}
@@ -10470,9 +10470,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_86:
{
/** 1111 1101 0111 im00 1101rdst xor #%1, %0 */
-#line 422 "rx-decode.opc"
+#line 443 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 422 "rx-decode.opc"
+#line 443 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10483,7 +10483,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("xor #%1, %0");
-#line 422 "rx-decode.opc"
+#line 443 "rx-decode.opc"
ID(xor); SC(IMMex(im)); DR(rdst); F__SZ_;
}
@@ -10492,9 +10492,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_87:
{
/** 1111 1101 0111 im00 1110rdst stz #%1, %0 */
-#line 368 "rx-decode.opc"
+#line 389 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 368 "rx-decode.opc"
+#line 389 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10505,7 +10505,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stz #%1, %0");
-#line 368 "rx-decode.opc"
+#line 389 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_z);
}
@@ -10514,9 +10514,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_88:
{
/** 1111 1101 0111 im00 1111rdst stnz #%1, %0 */
-#line 371 "rx-decode.opc"
+#line 392 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 371 "rx-decode.opc"
+#line 392 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10527,7 +10527,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("stnz #%1, %0");
-#line 371 "rx-decode.opc"
+#line 392 "rx-decode.opc"
ID(stcc); SC(IMMex(im)); DR(rdst); S2cc(RXC_nz);
/*----------------------------------------------------------------------*/
@@ -10545,7 +10545,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x00:
{
/** 1111 1101 0111 0010 0000 rdst fsub #%1, %0 */
-#line 840 "rx-decode.opc"
+#line 861 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10555,7 +10555,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fsub #%1, %0");
-#line 840 "rx-decode.opc"
+#line 861 "rx-decode.opc"
ID(fsub); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10563,7 +10563,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x10:
{
/** 1111 1101 0111 0010 0001 rdst fcmp #%1, %0 */
-#line 834 "rx-decode.opc"
+#line 855 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10573,7 +10573,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fcmp #%1, %0");
-#line 834 "rx-decode.opc"
+#line 855 "rx-decode.opc"
ID(fcmp); DR(rdst); SC(IMM(0)); F_OSZ_;
}
@@ -10581,7 +10581,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x20:
{
/** 1111 1101 0111 0010 0010 rdst fadd #%1, %0 */
-#line 828 "rx-decode.opc"
+#line 849 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10591,7 +10591,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fadd #%1, %0");
-#line 828 "rx-decode.opc"
+#line 849 "rx-decode.opc"
ID(fadd); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10599,7 +10599,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x30:
{
/** 1111 1101 0111 0010 0011 rdst fmul #%1, %0 */
-#line 849 "rx-decode.opc"
+#line 870 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10609,7 +10609,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fmul #%1, %0");
-#line 849 "rx-decode.opc"
+#line 870 "rx-decode.opc"
ID(fmul); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10617,7 +10617,7 @@ rx_decode_opcode (unsigned long pc AU,
case 0x40:
{
/** 1111 1101 0111 0010 0100 rdst fdiv #%1, %0 */
-#line 855 "rx-decode.opc"
+#line 876 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10627,7 +10627,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("fdiv #%1, %0");
-#line 855 "rx-decode.opc"
+#line 876 "rx-decode.opc"
ID(fdiv); DR(rdst); SC(IMM(0)); F__SZ_;
}
@@ -10643,9 +10643,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_89:
{
/** 1111 1101 0111 im11 000crdst mvtc #%1, %0 */
-#line 937 "rx-decode.opc"
+#line 958 "rx-decode.opc"
int im AU = (op[1] >> 2) & 0x03;
-#line 937 "rx-decode.opc"
+#line 958 "rx-decode.opc"
int crdst AU = op[2] & 0x1f;
if (trace)
{
@@ -10656,7 +10656,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" crdst = 0x%x\n", crdst);
}
SYNTAX("mvtc #%1, %0");
-#line 937 "rx-decode.opc"
+#line 958 "rx-decode.opc"
ID(mov); SC(IMMex(im)); DR(crdst + 16);
}
@@ -10822,11 +10822,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_90:
{
/** 1111 1101 100immmm rsrc rdst shlr #%2, %1, %0 */
-#line 670 "rx-decode.opc"
+#line 691 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 670 "rx-decode.opc"
+#line 691 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 670 "rx-decode.opc"
+#line 691 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -10838,7 +10838,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shlr #%2, %1, %0");
-#line 670 "rx-decode.opc"
+#line 691 "rx-decode.opc"
ID(shlr); S2C(immmm); SR(rsrc); DR(rdst); F__SZC;
/*----------------------------------------------------------------------*/
@@ -11135,11 +11135,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_91:
{
/** 1111 1101 101immmm rsrc rdst shar #%2, %1, %0 */
-#line 660 "rx-decode.opc"
+#line 681 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 660 "rx-decode.opc"
+#line 681 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 660 "rx-decode.opc"
+#line 681 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11151,7 +11151,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shar #%2, %1, %0");
-#line 660 "rx-decode.opc"
+#line 681 "rx-decode.opc"
ID(shar); S2C(immmm); SR(rsrc); DR(rdst); F_0SZC;
@@ -11446,11 +11446,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_92:
{
/** 1111 1101 110immmm rsrc rdst shll #%2, %1, %0 */
-#line 650 "rx-decode.opc"
+#line 671 "rx-decode.opc"
int immmm AU = op[1] & 0x1f;
-#line 650 "rx-decode.opc"
+#line 671 "rx-decode.opc"
int rsrc AU = (op[2] >> 4) & 0x0f;
-#line 650 "rx-decode.opc"
+#line 671 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11462,7 +11462,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("shll #%2, %1, %0");
-#line 650 "rx-decode.opc"
+#line 671 "rx-decode.opc"
ID(shll); S2C(immmm); SR(rsrc); DR(rdst); F_OSZC;
@@ -11771,11 +11771,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_93:
{
/** 1111 1101 111 bittt cond rdst bm%2 #%1, %0%S0 */
-#line 916 "rx-decode.opc"
+#line 937 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 916 "rx-decode.opc"
+#line 937 "rx-decode.opc"
int cond AU = (op[2] >> 4) & 0x0f;
-#line 916 "rx-decode.opc"
+#line 937 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11787,7 +11787,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bm%2 #%1, %0%S0");
-#line 916 "rx-decode.opc"
+#line 937 "rx-decode.opc"
ID(bmcc); BWL(LSIZE); S2cc(cond); SC(bittt); DR(rdst);
/*----------------------------------------------------------------------*/
@@ -11799,9 +11799,9 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_94:
{
/** 1111 1101 111bittt 1111 rdst bnot #%1, %0 */
-#line 909 "rx-decode.opc"
+#line 930 "rx-decode.opc"
int bittt AU = op[1] & 0x1f;
-#line 909 "rx-decode.opc"
+#line 930 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -11812,7 +11812,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("bnot #%1, %0");
-#line 909 "rx-decode.opc"
+#line 930 "rx-decode.opc"
ID(bnot); BWL(LSIZE); SC(bittt); DR(rdst);
@@ -12641,13 +12641,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_95:
{
/** 1111 1110 00sz isrc bsrc rdst mov%s %0, [%1, %2] */
-#line 314 "rx-decode.opc"
+#line 335 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 314 "rx-decode.opc"
+#line 335 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 314 "rx-decode.opc"
+#line 335 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 314 "rx-decode.opc"
+#line 335 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -12660,7 +12660,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s %0, [%1, %2]");
-#line 314 "rx-decode.opc"
+#line 335 "rx-decode.opc"
ID(movbir); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -13098,13 +13098,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_96:
{
/** 1111 1110 01sz isrc bsrc rdst mov%s [%1, %2], %0 */
-#line 311 "rx-decode.opc"
+#line 332 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 311 "rx-decode.opc"
+#line 332 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 311 "rx-decode.opc"
+#line 332 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 311 "rx-decode.opc"
+#line 332 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -13117,7 +13117,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("mov%s [%1, %2], %0");
-#line 311 "rx-decode.opc"
+#line 332 "rx-decode.opc"
ID(movbi); sBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -13555,13 +13555,13 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_97:
{
/** 1111 1110 11sz isrc bsrc rdst movu%s [%1, %2], %0 */
-#line 317 "rx-decode.opc"
+#line 338 "rx-decode.opc"
int sz AU = (op[1] >> 4) & 0x03;
-#line 317 "rx-decode.opc"
+#line 338 "rx-decode.opc"
int isrc AU = op[1] & 0x0f;
-#line 317 "rx-decode.opc"
+#line 338 "rx-decode.opc"
int bsrc AU = (op[2] >> 4) & 0x0f;
-#line 317 "rx-decode.opc"
+#line 338 "rx-decode.opc"
int rdst AU = op[2] & 0x0f;
if (trace)
{
@@ -13574,7 +13574,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" rdst = 0x%x\n", rdst);
}
SYNTAX("movu%s [%1, %2], %0");
-#line 317 "rx-decode.opc"
+#line 338 "rx-decode.opc"
ID(movbi); uBWL(sz); DR(rdst); SRR(isrc); S2R(bsrc); F_____;
}
@@ -14019,11 +14019,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_98:
{
/** 1111 1111 0000 rdst srca srcb sub %2, %1, %0 */
-#line 521 "rx-decode.opc"
+#line 542 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 521 "rx-decode.opc"
+#line 542 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 521 "rx-decode.opc"
+#line 542 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14035,7 +14035,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("sub %2, %1, %0");
-#line 521 "rx-decode.opc"
+#line 542 "rx-decode.opc"
ID(sub); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -14188,11 +14188,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_99:
{
/** 1111 1111 0010 rdst srca srcb add %2, %1, %0 */
-#line 488 "rx-decode.opc"
+#line 509 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 488 "rx-decode.opc"
+#line 509 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 488 "rx-decode.opc"
+#line 509 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14204,7 +14204,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("add %2, %1, %0");
-#line 488 "rx-decode.opc"
+#line 509 "rx-decode.opc"
ID(add); DR(rdst); SR(srcb); S2R(srca); F_OSZC;
/*----------------------------------------------------------------------*/
@@ -14357,11 +14357,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_100:
{
/** 1111 1111 0011 rdst srca srcb mul %2, %1, %0 */
-#line 590 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 590 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 590 "rx-decode.opc"
+#line 611 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14373,7 +14373,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("mul %2, %1, %0");
-#line 590 "rx-decode.opc"
+#line 611 "rx-decode.opc"
ID(mul); DR(rdst); SR(srcb); S2R(srca); F_____;
/*----------------------------------------------------------------------*/
@@ -14526,11 +14526,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_101:
{
/** 1111 1111 0100 rdst srca srcb and %2, %1, %0 */
-#line 398 "rx-decode.opc"
+#line 419 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 398 "rx-decode.opc"
+#line 419 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 398 "rx-decode.opc"
+#line 419 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14542,7 +14542,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("and %2, %1, %0");
-#line 398 "rx-decode.opc"
+#line 419 "rx-decode.opc"
ID(and); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -14695,11 +14695,11 @@ rx_decode_opcode (unsigned long pc AU,
op_semantics_102:
{
/** 1111 1111 0101 rdst srca srcb or %2, %1, %0 */
-#line 416 "rx-decode.opc"
+#line 437 "rx-decode.opc"
int rdst AU = op[1] & 0x0f;
-#line 416 "rx-decode.opc"
+#line 437 "rx-decode.opc"
int srca AU = (op[2] >> 4) & 0x0f;
-#line 416 "rx-decode.opc"
+#line 437 "rx-decode.opc"
int srcb AU = op[2] & 0x0f;
if (trace)
{
@@ -14711,7 +14711,7 @@ rx_decode_opcode (unsigned long pc AU,
printf (" srcb = 0x%x\n", srcb);
}
SYNTAX("or %2, %1, %0");
-#line 416 "rx-decode.opc"
+#line 437 "rx-decode.opc"
ID(or); DR(rdst); SR(srcb); S2R(srca); F__SZ_;
/*----------------------------------------------------------------------*/
@@ -14861,7 +14861,7 @@ rx_decode_opcode (unsigned long pc AU,
break;
default: UNSUPPORTED(); break;
}
-#line 973 "rx-decode.opc"
+#line 994 "rx-decode.opc"
return rx->n_bytes;
}