summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-11-11 10:43:30 -0500
committer Nathan Woods <npwoods@mess.org>2016-11-11 10:43:30 -0500
commit4920af3c2188bc562574bb9e2cd911419787335a (patch)
treec3b8f5ed17b49da3c1ccd6c5504321f4c07c0159 /src
parenta9d260cf145b5f0912d6b489a8b1605d45b59d63 (diff)
Changed the arcompact disassembler to use 'std::ostream &' internally
Also added arcompact to unidasm
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/arcompact/arcompactdasm.cpp15
-rw-r--r--src/devices/cpu/arcompact/arcompactdasm_dispatch.h6
-rw-r--r--src/devices/cpu/arcompact/arcompactdasm_ops.cpp1231
-rw-r--r--src/devices/cpu/arcompact/arcompactdasm_ops.h6
-rw-r--r--src/tools/unidasm.cpp2
5 files changed, 628 insertions, 632 deletions
diff --git a/src/devices/cpu/arcompact/arcompactdasm.cpp b/src/devices/cpu/arcompact/arcompactdasm.cpp
index cc77f73c585..8103797deea 100644
--- a/src/devices/cpu/arcompact/arcompactdasm.cpp
+++ b/src/devices/cpu/arcompact/arcompactdasm.cpp
@@ -22,14 +22,11 @@
#define ARCOMPACT_OPERATION ((op & 0xf800) >> 11)
-extern char *output;
-
-CPU_DISASSEMBLE(arcompact)
+static offs_t internal_disasm_arcompact(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
{
int size;
uint32_t op = oprom[0] | (oprom[1] << 8);
- output = buffer;
uint8_t instruction = ARCOMPACT_OPERATION;
@@ -90,3 +87,13 @@ CPU_DISASSEMBLE(arcompact)
return size | DASMFLAG_SUPPORTED;
}
+
+
+CPU_DISASSEMBLE(arcompact)
+{
+ std::ostringstream stream;
+ offs_t result = internal_disasm_arcompact(device, stream, pc, oprom, opram, options);
+ std::string stream_str = stream.str();
+ strcpy(buffer, stream_str.c_str());
+ return result;
+}
diff --git a/src/devices/cpu/arcompact/arcompactdasm_dispatch.h b/src/devices/cpu/arcompact/arcompactdasm_dispatch.h
index 1642871e1cf..519f4b7ae4e 100644
--- a/src/devices/cpu/arcompact/arcompactdasm_dispatch.h
+++ b/src/devices/cpu/arcompact/arcompactdasm_dispatch.h
@@ -6,9 +6,9 @@
\*********************************/
-#define DASM_OPS_16 char *output, offs_t pc, uint16_t op, const uint8_t* oprom
-#define DASM_OPS_32 char *output, offs_t pc, uint32_t op, const uint8_t* oprom
-#define DASM_PARAMS output, pc, op, oprom
+#define DASM_OPS_16 std::ostream &stream, offs_t pc, uint16_t op, const uint8_t* oprom
+#define DASM_OPS_32 std::ostream &stream, offs_t pc, uint32_t op, const uint8_t* oprom
+#define DASM_PARAMS stream, pc, op, oprom
#define LIMM_REG 62
diff --git a/src/devices/cpu/arcompact/arcompactdasm_ops.cpp b/src/devices/cpu/arcompact/arcompactdasm_ops.cpp
index d8498069682..50b77d5c330 100644
--- a/src/devices/cpu/arcompact/arcompactdasm_ops.cpp
+++ b/src/devices/cpu/arcompact/arcompactdasm_ops.cpp
@@ -11,19 +11,6 @@
#include "arcompactdasm_ops.h"
-char *output;
-
-static void ATTR_PRINTF(1,2) print(const char *fmt, ...)
-{
- va_list vl;
-
- va_start(vl, fmt);
- vsprintf(output, fmt, vl);
- va_end(vl);
-}
-
-
-
#define GET_01_01_01_BRANCH_ADDR \
int32_t address = (op & 0x00fe0000) >> 17; \
address |= ((op & 0x00008000) >> 15) << 7; \
@@ -116,7 +103,7 @@ int arcompact_handle00_00_dasm(DASM_OPS_32)
int n = (op & 0x00000020) >> 5; op &= ~0x00000020;
COMMON32_GET_CONDITION
- output += sprintf( output, "B%s(%s) %08x", delaybit[n], conditions[condition], PC_ALIGNED32 + (address * 2));
+ util::stream_format(stream, "B%s(%s) %08x", delaybit[n], conditions[condition], PC_ALIGNED32 + (address * 2));
return size;
}
@@ -132,8 +119,8 @@ int arcompact_handle00_01_dasm(DASM_OPS_32)
int n = (op & 0x00000020) >> 5; op &= ~0x00000020;
int res = (op & 0x00000010) >> 4; op &= ~0x00000010;
- output += sprintf( output, "B%s %08x", delaybit[n], PC_ALIGNED32 + (address * 2) );
- if (res) output += sprintf(output, "(reserved bit set)");
+ util::stream_format(stream, "B%s %08x", delaybit[n], PC_ALIGNED32 + (address * 2));
+ if (res) util::stream_format(stream, "(reserved bit set)");
return size;
}
@@ -151,7 +138,7 @@ int arcompact_handle01_00_00dasm(DASM_OPS_32)
COMMON32_GET_CONDITION
- output += sprintf( output, "BL%s(%s) %08x", delaybit[n], conditions[condition], PC_ALIGNED32 + (address *2) );
+ util::stream_format(stream, "BL%s(%s) %08x", delaybit[n], conditions[condition], PC_ALIGNED32 + (address *2));
return size;
}
@@ -167,8 +154,8 @@ int arcompact_handle01_00_01dasm(DASM_OPS_32)
int n = (op & 0x00000020) >> 5; op &= ~0x00000020;
int res = (op & 0x00000010) >> 4; op &= ~0x00000010;
- output += sprintf( output, "BL%s %08x", delaybit[n], PC_ALIGNED32 + (address *2) );
- if (res) output += sprintf(output, "(reserved bit set)");
+ util::stream_format(stream, "BL%s %08x", delaybit[n], PC_ALIGNED32 + (address *2));
+ if (res) util::stream_format(stream, "(reserved bit set)");
return size;
}
@@ -192,7 +179,7 @@ int arcompact_01_01_00_helper(DASM_OPS_32, const char* optext)
if ((breg != LIMM_REG) && (creg != LIMM_REG))
{
- print("%s%s %s, %s to 0x%08x", optext, delaybit[n], regnames[breg], regnames[creg], PC_ALIGNED32 + (address * 2) );
+ util::stream_format( stream, "%s%s %s, %s to 0x%08x", optext, delaybit[n], regnames[breg], regnames[creg], PC_ALIGNED32 + (address * 2) );
}
else
{
@@ -202,16 +189,16 @@ int arcompact_01_01_00_helper(DASM_OPS_32, const char* optext)
if ((breg == LIMM_REG) && (creg != LIMM_REG))
{
- print("%s%s 0x%08x, %s to 0x%08x", optext, delaybit[n], limm, regnames[creg], PC_ALIGNED32 + (address * 2) );
+ util::stream_format( stream, "%s%s 0x%08x, %s to 0x%08x", optext, delaybit[n], limm, regnames[creg], PC_ALIGNED32 + (address * 2) );
}
else if ((creg == LIMM_REG) && (breg != LIMM_REG))
{
- print("%s%s %s, 0x%08x to 0x%08x", optext, delaybit[n], regnames[breg], limm, PC_ALIGNED32 + (address * 2) );
+ util::stream_format( stream, "%s%s %s, 0x%08x to 0x%08x", optext, delaybit[n], regnames[breg], limm, PC_ALIGNED32 + (address * 2) );
}
else
{
// b and c are LIMM? invalid??
- print("%s%s 0x%08x, 0x%08x (illegal?) to 0x%08x", optext, delaybit[n], limm, limm, PC_ALIGNED32 + (address * 2) );
+ util::stream_format( stream, "%s%s 0x%08x, 0x%08x (illegal?) to 0x%08x", optext, delaybit[n], limm, limm, PC_ALIGNED32 + (address * 2) );
}
}
@@ -247,7 +234,7 @@ int arcompact_01_01_01_helper(DASM_OPS_32, const char* optext)
op &= ~0x07007fe0;
- print("%s%s %s, 0x%02x %08x (%08x)", optext, delaybit[n], regnames[breg], u, PC_ALIGNED32 + (address * 2), op & ~0xf8fe800f);
+ util::stream_format( stream, "%s%s %s, 0x%02x %08x (%08x)", optext, delaybit[n], regnames[breg], u, PC_ALIGNED32 + (address * 2), op & ~0xf8fe800f);
return size;
}
@@ -290,18 +277,18 @@ int arcompact_handle02_dasm(DASM_OPS_32)
size = 8;
}
- output += sprintf( output, "LD");
- output += sprintf( output, "%s", datasize[Z]);
- output += sprintf( output, "%s", dataextend[X]);
- output += sprintf( output, "%s", addressmode[a]);
- output += sprintf( output, "%s", cachebit[D]);
- output += sprintf( output, " ");
- output += sprintf( output, "%s <- ", regnames[areg]);
- output += sprintf( output, "[");
- if (breg == LIMM_REG) output += sprintf( output, "(%08x), ", limm);
- else output += sprintf( output, "%s, ", regnames[breg]);
- output += sprintf( output, "%03x", sdat);
- output += sprintf( output, "]");
+ util::stream_format(stream, "LD");
+ util::stream_format(stream, "%s", datasize[Z]);
+ util::stream_format(stream, "%s", dataextend[X]);
+ util::stream_format(stream, "%s", addressmode[a]);
+ util::stream_format(stream, "%s", cachebit[D]);
+ util::stream_format(stream, " ");
+ util::stream_format(stream, "%s <- ", regnames[areg]);
+ util::stream_format(stream, "[");
+ if (breg == LIMM_REG) util::stream_format(stream, "(%08x), ", limm);
+ else util::stream_format(stream, "%s, ", regnames[breg]);
+ util::stream_format(stream, "%03x", sdat);
+ util::stream_format(stream, "]");
return size;
}
@@ -336,17 +323,17 @@ int arcompact_handle03_dasm(DASM_OPS_32)
}
- output += sprintf( output, "ST");
- output += sprintf( output, "%s", datasize[Z]);
- output += sprintf( output, "%s", addressmode[a]);
- output += sprintf( output, "%s", cachebit[D]);
- output += sprintf( output, " ");
+ util::stream_format(stream, "ST");
+ util::stream_format(stream, "%s", datasize[Z]);
+ util::stream_format(stream, "%s", addressmode[a]);
+ util::stream_format(stream, "%s", cachebit[D]);
+ util::stream_format(stream, " ");
- output += sprintf( output, "[");
- if (breg == LIMM_REG) output += sprintf( output, "(%08x), ", limm);
- else output += sprintf( output, "%s, ", regnames[breg]);
- output += sprintf( output, "%03x", sdat);
- output += sprintf( output, "] <- ");
+ util::stream_format(stream, "[");
+ if (breg == LIMM_REG) util::stream_format(stream, "(%08x), ", limm);
+ else util::stream_format(stream, "%s, ", regnames[breg]);
+ util::stream_format(stream, "%03x", sdat);
+ util::stream_format(stream, "] <- ");
if (creg == LIMM_REG)
{
@@ -355,15 +342,15 @@ int arcompact_handle03_dasm(DASM_OPS_32)
GET_LIMM_32;
size = 8;
}
- output += sprintf(output, "(%08x)", limm);
+ util::stream_format(stream, "(%08x)", limm);
}
else
{
- output += sprintf(output, "%s", regnames[creg]);
+ util::stream_format(stream, "%s", regnames[creg]);
}
- if (R) output += sprintf( output, "(reserved bit set)");
+ if (R) util::stream_format(stream, "(reserved bit set)");
return size;
@@ -382,9 +369,9 @@ int arcompact_handle04_p00_helper_dasm(DASM_OPS_32, const char* optext, int igno
COMMON32_GET_creg
COMMON32_GET_areg
- output += sprintf(output, "%s", optext);
- output += sprintf(output, "%s", flagbit[F]);
- // output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+ // util::stream_format(stream, " p(%d)", p);
if ((!b_reserved) && (breg == LIMM_REG))
@@ -407,35 +394,35 @@ int arcompact_handle04_p00_helper_dasm(DASM_OPS_32, const char* optext, int igno
if (ignore_dst == 0)
{
- if (areg != LIMM_REG) output += sprintf(output, " %s <-", regnames[areg]);
- else output += sprintf(output, " <no dst> <-");
+ if (areg != LIMM_REG) util::stream_format(stream, " %s <-", regnames[areg]);
+ else util::stream_format(stream, " <no dst> <-");
}
else if (ignore_dst == 1) // certain opcode types ignore the 'a' field entirely, it should be set to 0.
{
- if (areg) output += sprintf(output, " <reserved %d> <-", areg);
+ if (areg) util::stream_format(stream, " <reserved %d> <-", areg);
}
else if (ignore_dst == 2) // for multiply operations areg should always be set to LIMM
{
- if (areg != LIMM_REG) output += sprintf(output, " <invalid %d> <-", areg);
- else output += sprintf(output, " <mulres> <-");
+ if (areg != LIMM_REG) util::stream_format(stream, " <invalid %d> <-", areg);
+ else util::stream_format(stream, " <mulres> <-");
}
if (!b_reserved)
{
if (breg == LIMM_REG)
- output += sprintf(output, " 0x%08x,", limm);
+ util::stream_format(stream, " 0x%08x,", limm);
else
- output += sprintf(output, " %s,", regnames[breg]);
+ util::stream_format(stream, " %s,", regnames[breg]);
}
else
{
- if (breg) output += sprintf(output, "<reserved %d>,", breg);
+ if (breg) util::stream_format(stream, "<reserved %d>,", breg);
}
if (creg == LIMM_REG)
- output += sprintf(output, " 0x%08x", limm);
+ util::stream_format(stream, " 0x%08x", limm);
else
- output += sprintf(output, " %s", regnames[creg]);
+ util::stream_format(stream, " %s", regnames[creg]);
return size;
}
@@ -454,9 +441,9 @@ int arcompact_handle04_p01_helper_dasm(DASM_OPS_32, const char* optext, int igno
COMMON32_GET_u6
COMMON32_GET_areg
- output += sprintf(output, "%s", optext);
- output += sprintf(output, "%s", flagbit[F]);
- // output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+ // util::stream_format(stream, " p(%d)", p);
if ((!b_reserved) && (breg == LIMM_REG))
@@ -470,32 +457,32 @@ int arcompact_handle04_p01_helper_dasm(DASM_OPS_32, const char* optext, int igno
if (ignore_dst == 0)
{
- if (areg != LIMM_REG) output += sprintf(output, " %s <-", regnames[areg]);
- else output += sprintf(output, " <no dst> <-");
+ if (areg != LIMM_REG) util::stream_format(stream, " %s <-", regnames[areg]);
+ else util::stream_format(stream, " <no dst> <-");
}
else if (ignore_dst == 1) // certain opcode types ignore the 'a' field entirely, it should be set to 0.
{
- if (areg) output += sprintf(output, " <reserved %d> <-", areg);
+ if (areg) util::stream_format(stream, " <reserved %d> <-", areg);
}
else if (ignore_dst == 2) // for multiply operations areg should always be set to LIMM
{
- if (areg != LIMM_REG) output += sprintf(output, " <invalid %d> <-", areg);
- else output += sprintf(output, " <mulres> <-");
+ if (areg != LIMM_REG) util::stream_format(stream, " <invalid %d> <-", areg);
+ else util::stream_format(stream, " <mulres> <-");
}
if (!b_reserved)
{
if (breg == LIMM_REG)
- output += sprintf(output, " 0x%08x,", limm);
+ util::stream_format(stream, " 0x%08x,", limm);
else
- output += sprintf(output, " %s,", regnames[breg]);
+ util::stream_format(stream, " %s,", regnames[breg]);
}
else
{
- if (breg) output += sprintf(output, "<reserved %d>,", breg);
+ if (breg) util::stream_format(stream, "<reserved %d>,", breg);
}
- output += sprintf(output, " 0x%02x", u);
+ util::stream_format(stream, " 0x%02x", u);
return size;
}
@@ -511,9 +498,9 @@ int arcompact_handle04_p10_helper_dasm(DASM_OPS_32, const char* optext, int b_re
COMMON32_GET_F
COMMON32_GET_s12;
- output += sprintf(output, "%s", optext);
- output += sprintf(output, "%s", flagbit[F]);
- // output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+ // util::stream_format(stream, " p(%d)", p);
if (!b_reserved)
@@ -523,20 +510,20 @@ int arcompact_handle04_p10_helper_dasm(DASM_OPS_32, const char* optext, int b_re
GET_LIMM_32;
size = 8;
//got_limm = 1;
- output += sprintf(output, " 0x%08x ", limm);
+ util::stream_format(stream, " 0x%08x ", limm);
}
else
{
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
}
}
else
{
- if (breg) output += sprintf(output, "reserved(%s), ", regnames[breg]);
+ if (breg) util::stream_format(stream, "reserved(%s), ", regnames[breg]);
}
- output += sprintf(output, "S(%02x)", S);
+ util::stream_format(stream, "S(%02x)", S);
return size;
}
@@ -551,9 +538,9 @@ int arcompact_handle04_p11_m0_helper_dasm(DASM_OPS_32, const char* optext, int b
COMMON32_GET_CONDITION;
COMMON32_GET_creg
- output += sprintf(output, "%s", optext);
- output += sprintf(output, "%s", flagbit[F]);
- // output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+ // util::stream_format(stream, " p(%d)", p);
if (!b_reserved)
{
@@ -562,21 +549,21 @@ int arcompact_handle04_p11_m0_helper_dasm(DASM_OPS_32, const char* optext, int b
GET_LIMM_32;
size = 8;
got_limm = 1;
- output += sprintf(output, " 0x%08x ", limm);
+ util::stream_format(stream, " 0x%08x ", limm);
}
else
{
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
}
}
else
{
- if (breg) output += sprintf(output, "reserved(%s), ", regnames[breg]);
+ if (breg) util::stream_format(stream, "reserved(%s), ", regnames[breg]);
}
- output += sprintf(output, " Cond<%s> ", conditions[condition]);
+ util::stream_format(stream, " Cond<%s> ", conditions[condition]);
if (creg == LIMM_REG)
@@ -586,11 +573,11 @@ int arcompact_handle04_p11_m0_helper_dasm(DASM_OPS_32, const char* optext, int b
GET_LIMM_32;
size = 8;
}
- output += sprintf(output, " 0x%08x ", limm);
+ util::stream_format(stream, " 0x%08x ", limm);
}
else
{
- output += sprintf(output, "C(%s)", regnames[creg]);
+ util::stream_format(stream, "C(%s)", regnames[creg]);
}
return size;
@@ -607,9 +594,9 @@ int arcompact_handle04_p11_m1_helper_dasm(DASM_OPS_32, const char* optext, int b
COMMON32_GET_CONDITION;
COMMON32_GET_u6
- output += sprintf(output, "%s", optext);
- output += sprintf(output, "%s", flagbit[F]);
- // output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+ // util::stream_format(stream, " p(%d)", p);
if (!b_reserved)
{
@@ -618,24 +605,24 @@ int arcompact_handle04_p11_m1_helper_dasm(DASM_OPS_32, const char* optext, int b
GET_LIMM_32;
size = 8;
//got_limm = 1;
- output += sprintf(output, " 0x%08x ", limm);
+ util::stream_format(stream, " 0x%08x ", limm);
}
else
{
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
}
}
else
{
- if (breg) output += sprintf(output, "reserved(%s), ", regnames[breg]);
+ if (breg) util::stream_format(stream, "reserved(%s), ", regnames[breg]);
}
- output += sprintf(output, " Cond<%s> ", conditions[condition]);
+ util::stream_format(stream, " Cond<%s> ", conditions[condition]);
- output += sprintf(output, "U(%02x)", u);
+ util::stream_format(stream, "U(%02x)", u);
return size;
}
@@ -853,31 +840,31 @@ int arcompact_handle04_28_dasm(DASM_OPS_32) // LPcc (loop setup)
if (p == 0x00)
{
- print("<illegal LPcc, p = 0x00)");
+ util::stream_format( stream, "<illegal LPcc, p = 0x00)");
}
else if (p == 0x01)
{
- print("<illegal LPcc, p = 0x01)");
+ util::stream_format( stream, "<illegal LPcc, p = 0x01)");
}
else if (p == 0x02) // Loop unconditional
{ // 0010 0RRR 1010 1000 0RRR ssss ssSS SSSS
COMMON32_GET_s12
if (S & 0x800) S = -0x800 + (S&0x7ff);
- output += sprintf(output, "LP (start %08x, end %08x)", pc + 4, pc + S*2);
+ util::stream_format(stream, "LP (start %08x, end %08x)", pc + 4, pc + S*2);
}
else if (p == 0x03) // Loop conditional
{ // 0010 0RRR 1110 1000 0RRR uuuu uu1Q QQQQ
COMMON32_GET_u6
COMMON32_GET_CONDITION
- output += sprintf(output, "LP<%s> (start %08x, end %08x)", conditions[condition], pc + 4, PC_ALIGNED32 + u*2);
+ util::stream_format(stream, "LP<%s> (start %08x, end %08x)", conditions[condition], pc + 4, PC_ALIGNED32 + u*2);
int unused = (op & 0x00000020)>>5;
- if (unused==0) output += sprintf(output, "(unused bit not set)");
+ if (unused==0) util::stream_format(stream, "(unused bit not set)");
}
- if (breg) output += sprintf(output, "(reseved B bits set %02x)", breg);
+ if (breg) util::stream_format(stream, "(reseved B bits set %02x)", breg);
return 4;
}
@@ -886,12 +873,12 @@ int arcompact_handle04_28_dasm(DASM_OPS_32) // LPcc (loop setup)
if ((auxreg >= 0) && (auxreg < 0x420)) \
{ \
if (strcmp(auxregnames[auxreg],"unusedreg")) \
- output += sprintf(output, "[%s]", auxregnames[auxreg]); \
+ util::stream_format(stream, "[%s]", auxregnames[auxreg]); \
else \
- output += sprintf( output, "[%03x]", auxreg); \
+ util::stream_format(stream, "[%03x]", auxreg); \
} \
else \
- output += sprintf( output, "[%03x]", auxreg);
+ util::stream_format(stream, "[%03x]", auxreg);
int arcompact_handle04_2a_dasm(DASM_OPS_32) // Load FROM Auxiliary register TO register
{
// pp F
@@ -909,19 +896,19 @@ int arcompact_handle04_2a_dasm(DASM_OPS_32) // Load FROM Auxiliary register TO
COMMON32_GET_breg;
COMMON32_GET_F
- output += sprintf( output, "LR");
- if (F) output += sprintf( output, ".<F set, illegal>");
-// output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "LR");
+ if (F) util::stream_format(stream, ".<F set, illegal>");
+// util::stream_format(stream, " p(%d)", p);
if (breg == LIMM_REG)
{
- output += sprintf( output, "<no dest>" ); // illegal encoding?
+ util::stream_format(stream, "<no dest>"); // illegal encoding?
}
else
{
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
}
@@ -939,15 +926,15 @@ int arcompact_handle04_2a_dasm(DASM_OPS_32) // Load FROM Auxiliary register TO
size = 8;
}
- output += sprintf( output, "(%08x) ", limm );
+ util::stream_format(stream, "(%08x) ", limm);
}
else
{
- output += sprintf( output, "C(%s) ", regnames[creg]);
+ util::stream_format(stream, "C(%s) ", regnames[creg]);
}
- if (ares) output += sprintf( output, "reserved(%02x) ", ares );
+ if (ares) util::stream_format(stream, "reserved(%02x) ", ares);
}
else if (p == 1)
{
@@ -957,7 +944,7 @@ int arcompact_handle04_2a_dasm(DASM_OPS_32) // Load FROM Auxiliary register TO
int auxreg = u;
PRINT_AUX_REGNAME
- if (ares) output += sprintf( output, "reserved(%02x) ", ares );
+ if (ares) util::stream_format(stream, "reserved(%02x) ", ares);
}
else if (p == 2)
{
@@ -969,7 +956,7 @@ int arcompact_handle04_2a_dasm(DASM_OPS_32) // Load FROM Auxiliary register TO
}
else if (p == 3)
{
- output += sprintf( output, " <mode 3, illegal>");
+ util::stream_format(stream, " <mode 3, illegal>");
}
return size;
@@ -988,9 +975,9 @@ int arcompact_handle04_2b_dasm(DASM_OPS_32) // Store TO Auxiliary register FROM
COMMON32_GET_breg;
COMMON32_GET_F
- output += sprintf( output, "SR");
- if (F) output += sprintf( output, ".<F set, illegal>");
-// output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "SR");
+ if (F) util::stream_format(stream, ".<F set, illegal>");
+// util::stream_format(stream, " p(%d)", p);
@@ -999,12 +986,12 @@ int arcompact_handle04_2b_dasm(DASM_OPS_32) // Store TO Auxiliary register FROM
GET_LIMM_32;
size = 8;
got_limm = 1;
- output += sprintf( output, " %08x -> ", limm );
+ util::stream_format(stream, " %08x -> ", limm);
}
else
{
- output += sprintf(output, " %s -> ", regnames[breg]);
+ util::stream_format(stream, " %s -> ", regnames[breg]);
}
@@ -1022,17 +1009,17 @@ int arcompact_handle04_2b_dasm(DASM_OPS_32) // Store TO Auxiliary register FROM
size = 8;
}
- output += sprintf( output, "[%08x]", limm );
+ util::stream_format(stream, "[%08x]", limm);
}
else
{
- output += sprintf( output, "[%s]", regnames[creg]);
+ util::stream_format(stream, "[%s]", regnames[creg]);
}
- if (ares) output += sprintf( output, " (reserved %02x) ", ares );
+ if (ares) util::stream_format(stream, " (reserved %02x) ", ares);
}
@@ -1044,7 +1031,7 @@ int arcompact_handle04_2b_dasm(DASM_OPS_32) // Store TO Auxiliary register FROM
int auxreg = u;
PRINT_AUX_REGNAME
- if (ares) output += sprintf( output, " (reserved %02x) ", ares );
+ if (ares) util::stream_format(stream, " (reserved %02x) ", ares);
}
@@ -1059,7 +1046,7 @@ int arcompact_handle04_2b_dasm(DASM_OPS_32) // Store TO Auxiliary register FROM
}
else if (p == 3)
{
- output += sprintf( output, " <mode 3, illegal>");
+ util::stream_format(stream, " <mode 3, illegal>");
}
return size;}
@@ -1082,18 +1069,18 @@ int arcompact_handle04_2f_helper_dasm(DASM_OPS_32, const char* optext)
COMMON32_GET_breg;
COMMON32_GET_F
- output += sprintf( output, "%s", optext);
- output += sprintf( output, "%s", flagbit[F]);
-// output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+// util::stream_format(stream, " p(%d)", p);
if (breg == LIMM_REG)
{
- output += sprintf(output, " <no dst>, ");
+ util::stream_format(stream, " <no dst>, ");
// if using the 'EX' opcode this is illegal
}
else
{
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
}
if (p == 0)
@@ -1105,27 +1092,27 @@ int arcompact_handle04_2f_helper_dasm(DASM_OPS_32, const char* optext)
uint32_t limm;
GET_LIMM_32;
size = 8;
- output += sprintf( output, "(%08x) ", limm );
+ util::stream_format(stream, "(%08x) ", limm);
}
else
{
- output += sprintf( output, "C(%s) ", regnames[creg]);
+ util::stream_format(stream, "C(%s) ", regnames[creg]);
}
}
else if (p == 1)
{
COMMON32_GET_u6
- output += sprintf( output, "U(0x%02x) ", u);
+ util::stream_format(stream, "U(0x%02x) ", u);
}
else if (p == 2)
{
- output += sprintf( output, "<04_2f illegal p=10>");
+ util::stream_format(stream, "<04_2f illegal p=10>");
}
else if (p == 3)
{
- output += sprintf( output, "<04_2f illegal p=11>");
+ util::stream_format(stream, "<04_2f illegal p=11>");
}
return size;
@@ -1150,11 +1137,11 @@ int arcompact_handle04_2f_0b_dasm(DASM_OPS_32) { return arcompact_handle04_2f_h
int arcompact_handle04_2f_0c_dasm(DASM_OPS_32) { return arcompact_handle04_2f_helper_dasm(DASM_PARAMS, "EX"); } // EX
-int arcompact_handle04_2f_3f_01_dasm(DASM_OPS_32) { print("SLEEP (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_02_dasm(DASM_OPS_32) { print("SWI / TRAP0 (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_03_dasm(DASM_OPS_32) { print("SYNC (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_04_dasm(DASM_OPS_32) { print("RTIE (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_05_dasm(DASM_OPS_32) { print("BRK (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_01_dasm(DASM_OPS_32) { util::stream_format( stream, "SLEEP (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_02_dasm(DASM_OPS_32) { util::stream_format( stream, "SWI / TRAP0 (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_03_dasm(DASM_OPS_32) { util::stream_format( stream, "SYNC (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_04_dasm(DASM_OPS_32) { util::stream_format( stream, "RTIE (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_05_dasm(DASM_OPS_32) { util::stream_format( stream, "BRK (%08x)", op); return 4;}
@@ -1170,9 +1157,9 @@ int arcompact_handle04_3x_helper_dasm(DASM_OPS_32, int dsize, int extend)
uint32_t limm=0;
int got_limm = 0;
- output += sprintf(output, "LD");
- output += sprintf(output, "%s", datasize[dsize]);
- output += sprintf(output, "%s", dataextend[extend]);
+ util::stream_format(stream, "LD");
+ util::stream_format(stream, "%s", datasize[dsize]);
+ util::stream_format(stream, "%s", dataextend[extend]);
int mode = (op & 0x00c00000) >> 22; op &= ~0x00c00000;
COMMON32_GET_breg;
@@ -1180,22 +1167,22 @@ int arcompact_handle04_3x_helper_dasm(DASM_OPS_32, int dsize, int extend)
COMMON32_GET_creg
COMMON32_GET_areg
- output += sprintf(output, "%s", addressmode[mode]);
- output += sprintf(output, "%s", cachebit[D]);
+ util::stream_format(stream, "%s", addressmode[mode]);
+ util::stream_format(stream, "%s", cachebit[D]);
- output += sprintf( output, " %s. ", regnames[areg]);
+ util::stream_format(stream, " %s. ", regnames[areg]);
if (breg == LIMM_REG)
{
GET_LIMM_32;
size = 8;
got_limm = 1;
- output += sprintf( output, "[%08x, ", limm );
+ util::stream_format(stream, "[%08x, ", limm);
}
else
{
- output += sprintf(output, "[%s, ", regnames[breg]);
+ util::stream_format(stream, "[%s, ", regnames[breg]);
}
if (creg == LIMM_REG)
@@ -1205,12 +1192,12 @@ int arcompact_handle04_3x_helper_dasm(DASM_OPS_32, int dsize, int extend)
GET_LIMM_32;
size = 8;
}
- output += sprintf( output, "(%08x)]", limm );
+ util::stream_format(stream, "(%08x)]", limm);
}
else
{
- output += sprintf( output, "%s]", regnames[creg]);
+ util::stream_format(stream, "%s]", regnames[creg]);
}
@@ -1270,12 +1257,12 @@ int arcompact_handle05_2f_0x_helper_dasm(DASM_OPS_32, const char* optext)
COMMON32_GET_breg;
COMMON32_GET_F
- output += sprintf( output, "%s", optext);
- output += sprintf( output, "%s", flagbit[F]);
-// output += sprintf( output, " p(%d)", p);
+ util::stream_format(stream, "%s", optext);
+ util::stream_format(stream, "%s", flagbit[F]);
+// util::stream_format(stream, " p(%d)", p);
- output += sprintf(output, " %s, ", regnames[breg]);
+ util::stream_format(stream, " %s, ", regnames[breg]);
if (p == 0)
{
@@ -1286,26 +1273,26 @@ int arcompact_handle05_2f_0x_helper_dasm(DASM_OPS_32, const char* optext)
uint32_t limm;
GET_LIMM_32;
size = 8;
- output += sprintf( output, "(%08x) ", limm );
+ util::stream_format(stream, "(%08x) ", limm);
}
else
{
- output += sprintf( output, "C(%s) ", regnames[creg]);
+ util::stream_format(stream, "C(%s) ", regnames[creg]);
}
}
else if (p == 1)
{
COMMON32_GET_u6
- output += sprintf( output, "U(0x%02x) ", u);
+ util::stream_format(stream, "U(0x%02x) ", u);
}
else if (p == 2)
{
- output += sprintf( output, "<05_2f illegal p=10>");
+ util::stream_format(stream, "<05_2f illegal p=10>");
}
else if (p == 3)
{
- output += sprintf( output, "<05_2f illegal p=11>");
+ util::stream_format(stream, "<05_2f illegal p=11>");
}
return size;
@@ -1325,37 +1312,37 @@ int arcompact_handle05_2f_08_dasm(DASM_OPS_32) { return arcompact_handle05_2f_0
int arcompact_handle06_dasm(DASM_OPS_32)
{
- print("op a,b,c (06 ARC ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (06 ARC ext) (%08x)", op );
return 4;
}
int arcompact_handle07_dasm(DASM_OPS_32)
{
- print("op a,b,c (07 User ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (07 User ext) (%08x)", op );
return 4;
}
int arcompact_handle08_dasm(DASM_OPS_32)
{
- print("op a,b,c (08 User ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (08 User ext) (%08x)", op );
return 4;
}
int arcompact_handle09_dasm(DASM_OPS_32)
{
- print("op a,b,c (09 Market ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (09 Market ext) (%08x)", op );
return 4;
}
int arcompact_handle0a_dasm(DASM_OPS_32)
{
- print("op a,b,c (0a Market ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (0a Market ext) (%08x)", op );
return 4;
}
int arcompact_handle0b_dasm(DASM_OPS_32)
{
- print("op a,b,c (0b Market ext) (%08x)", op );
+ util::stream_format( stream, "op a,b,c (0b Market ext) (%08x)", op );
return 4;
}
@@ -1374,8 +1361,8 @@ int arcompact_handle0c_helper_dasm(DASM_OPS_16, const char* optext, int format)
REG_16BIT_RANGE(creg);
- if (format==0) print("%s %s <- [%s, %s]", optext, regnames[areg], regnames[breg], regnames[creg]);
- else print("%s %s <- %s, %s", optext, regnames[areg], regnames[breg], regnames[creg]);
+ if (format==0) util::stream_format( stream, "%s %s <- [%s, %s]", optext, regnames[areg], regnames[breg], regnames[creg]);
+ else util::stream_format( stream, "%s %s <- %s, %s", optext, regnames[areg], regnames[breg], regnames[creg]);
return 2;
}
@@ -1413,7 +1400,7 @@ int arcompact_handle0d_helper_dasm(DASM_OPS_16, const char* optext)
REG_16BIT_RANGE(breg);
REG_16BIT_RANGE(creg);
- print("%s %s <- [%s, 0x%02x]", optext, regnames[creg], regnames[breg], u);
+ util::stream_format( stream, "%s %s <- [%s, 0x%02x]", optext, regnames[creg], regnames[breg], u);
return 2;
}
@@ -1454,13 +1441,13 @@ int arcompact_handle0e_0x_helper_dasm(DASM_OPS_16, const char* optext, int revop
uint32_t limm;
GET_LIMM;
size = 6;
- if (!revop) print("%s %s <- 0x%08x", optext, regnames[breg], limm);
- else print("%s 0x%08x <- %s", optext, limm, regnames[breg]);
+ if (!revop) util::stream_format( stream, "%s %s <- 0x%08x", optext, regnames[breg], limm);
+ else util::stream_format( stream, "%s 0x%08x <- %s", optext, limm, regnames[breg]);
}
else
{
- if (!revop) print("%s %s <- %s", optext, regnames[breg], regnames[h]);
- else print("%s %s <- %s", optext, regnames[h], regnames[breg]);
+ if (!revop) util::stream_format( stream, "%s %s <- %s", optext, regnames[breg], regnames[h]);
+ else util::stream_format( stream, "%s %s <- %s", optext, regnames[h], regnames[breg]);
}
@@ -1497,7 +1484,7 @@ int arcompact_handle0f_00_0x_helper_dasm(DASM_OPS_16, const char* optext)
COMMON16_GET_breg;
REG_16BIT_RANGE(breg);
- print("%s %s", optext, regnames[breg]);
+ util::stream_format( stream, "%s %s", optext, regnames[breg]);
return 2;
@@ -1515,12 +1502,12 @@ int arcompact_handle0f_00_06_dasm(DASM_OPS_16) { return arcompact_handle0f_00_0
// Zero parameters (ZOP)
-int arcompact_handle0f_00_07_00_dasm(DASM_OPS_16) { print("NOP_S"); return 2;}
-int arcompact_handle0f_00_07_01_dasm(DASM_OPS_16) { print("UNIMP_S"); return 2;} // Unimplemented Instruction, same as illegal, but recommended to fill blank space
-int arcompact_handle0f_00_07_04_dasm(DASM_OPS_16) { print("JEQ_S [blink]"); return 2;}
-int arcompact_handle0f_00_07_05_dasm(DASM_OPS_16) { print("JNE_S [blink]"); return 2;}
-int arcompact_handle0f_00_07_06_dasm(DASM_OPS_16) { print("J_S [blink]"); return 2;}
-int arcompact_handle0f_00_07_07_dasm(DASM_OPS_16) { print("J_S.D [blink]"); return 2;}
+int arcompact_handle0f_00_07_00_dasm(DASM_OPS_16) { util::stream_format( stream, "NOP_S"); return 2;}
+int arcompact_handle0f_00_07_01_dasm(DASM_OPS_16) { util::stream_format( stream, "UNIMP_S"); return 2;} // Unimplemented Instruction, same as illegal, but recommended to fill blank space
+int arcompact_handle0f_00_07_04_dasm(DASM_OPS_16) { util::stream_format( stream, "JEQ_S [blink]"); return 2;}
+int arcompact_handle0f_00_07_05_dasm(DASM_OPS_16) { util::stream_format( stream, "JNE_S [blink]"); return 2;}
+int arcompact_handle0f_00_07_06_dasm(DASM_OPS_16) { util::stream_format( stream, "J_S [blink]"); return 2;}
+int arcompact_handle0f_00_07_07_dasm(DASM_OPS_16) { util::stream_format( stream, "J_S.D [blink]"); return 2;}
@@ -1536,9 +1523,9 @@ int arcompact_handle0f_0x_helper_dasm(DASM_OPS_16, const char* optext, int nodst
REG_16BIT_RANGE(breg);
REG_16BIT_RANGE(creg);
- if (nodst==0) print("%s %s <- %s", optext, regnames[breg], regnames[creg]);
- else if (nodst==1) print("%s <no dst>, %s, %s", optext, regnames[breg], regnames[creg]);
- else if (nodst==2) print("%s <mulres>, %s, %s", optext, regnames[breg], regnames[creg]);
+ if (nodst==0) util::stream_format( stream, "%s %s <- %s", optext, regnames[breg], regnames[creg]);
+ else if (nodst==1) util::stream_format( stream, "%s <no dst>, %s, %s", optext, regnames[breg], regnames[creg]);
+ else if (nodst==2) util::stream_format( stream, "%s <mulres>, %s, %s", optext, regnames[breg], regnames[creg]);
return 2;
}
@@ -1571,7 +1558,7 @@ int arcompact_handle0f_1d_dasm(DASM_OPS_16) { return arcompact_handle0f_0x_help
int arcompact_handle0f_1e_dasm(DASM_OPS_16) // special
{ // 0111 1uuu uuu1 1110
int u = (op & 0x07e0)>>5;
- print("TRAP_S %02x",u);
+ util::stream_format( stream, "TRAP_S %02x",u);
return 2;
}
@@ -1581,11 +1568,11 @@ int arcompact_handle0f_1f_dasm(DASM_OPS_16) // special
if (u == 0x003f)
{
- print("BRK_S");
+ util::stream_format( stream, "BRK_S");
}
else
{
- print("<illegal BRK_S %02x>",u);
+ util::stream_format( stream, "<illegal BRK_S %02x>",u);
}
return 2;
}
@@ -1604,8 +1591,8 @@ int arcompact_handle_ld_helper_dasm(DASM_OPS_16, const char* optext, int shift,
u <<= shift;
- if (!swap) print("%s %s, [%s, 0x%02x] (%04x)", optext, regnames[creg], regnames[breg], u, op);
- else print("%s [%s, 0x%02x], %s (%04x)", optext, regnames[breg], u, regnames[creg], op);
+ if (!swap) util::stream_format( stream, "%s %s, [%s, 0x%02x] (%04x)", optext, regnames[creg], regnames[breg], u, op);
+ else util::stream_format( stream, "%s [%s, 0x%02x], %s (%04x)", optext, regnames[breg], u, regnames[creg], op);
return 2;
}
@@ -1656,7 +1643,7 @@ int arcompact_handle_l7_0x_helper_dasm(DASM_OPS_16, const char* optext)
REG_16BIT_RANGE(breg);
- print("%s %s, 0x%02x", optext, regnames[breg], u);
+ util::stream_format( stream, "%s %s, 0x%02x", optext, regnames[breg], u);
return 2;
@@ -1714,12 +1701,12 @@ int arcompact_handle18_0x_helper_dasm(DASM_OPS_16, const char* optext, int st, i
REG_16BIT_RANGE(breg);
- output += sprintf( output, "%s %s ", optext, regnames[breg]);
- if (st==1) output += sprintf( output, "-> ");
- else output += sprintf( output, "<- ");
+ util::stream_format(stream, "%s %s ", optext, regnames[breg]);
+ if (st==1) util::stream_format(stream, "-> ");
+ else util::stream_format(stream, "<- ");
- if (format==0) output += sprintf( output, "[SP, 0x%02x]", u*4);
- else output += sprintf( output, "SP, 0x%02x", u*4);
+ if (format==0) util::stream_format(stream, "[SP, 0x%02x]", u*4);
+ else util::stream_format(stream, "SP, 0x%02x", u*4);
return 2;
@@ -1756,7 +1743,7 @@ int arcompact_handle18_05_00_dasm(DASM_OPS_16)
int u;
COMMON16_GET_u5;
- print("ADD_S SP, SP, 0x%02x", u*4);
+ util::stream_format( stream, "ADD_S SP, SP, 0x%02x", u*4);
return 2;
}
@@ -1766,7 +1753,7 @@ int arcompact_handle18_05_01_dasm(DASM_OPS_16)
int u;
COMMON16_GET_u5;
- print("SUB_S SP, SP, 0x%02x", u*4);
+ util::stream_format( stream, "SUB_S SP, SP, 0x%02x", u*4);
return 2;
}
@@ -1777,7 +1764,7 @@ int arcompact_handle18_06_01_dasm(DASM_OPS_16)
COMMON16_GET_breg
REG_16BIT_RANGE(breg)
- print("POP_S %s", regnames[breg]);
+ util::stream_format( stream, "POP_S %s", regnames[breg]);
return 2;
}
@@ -1788,9 +1775,9 @@ int arcompact_handle18_06_11_dasm(DASM_OPS_16)
op &= ~0x0700; // all bits now used
if (res)
- print("POP_S [BLINK] (Reserved Bits set %04x)", op);
+ util::stream_format( stream, "POP_S [BLINK] (Reserved Bits set %04x)", op);
else
- print("POP_S [BLINK]");
+ util::stream_format( stream, "POP_S [BLINK]");
return 2;
}
@@ -1802,7 +1789,7 @@ int arcompact_handle18_07_01_dasm(DASM_OPS_16)
COMMON16_GET_breg
REG_16BIT_RANGE(breg)
- print("PUSH_S %s", regnames[breg]);
+ util::stream_format( stream, "PUSH_S %s", regnames[breg]);
return 2;
}
@@ -1814,9 +1801,9 @@ int arcompact_handle18_07_11_dasm(DASM_OPS_16)
op &= ~0x0700; // all bits now used
if (res)
- print("PUSH_S [BLINK] (Reserved Bits set %04x)", op);
+ util::stream_format( stream, "PUSH_S [BLINK] (Reserved Bits set %04x)", op);
else
- print("PUSH_S [BLINK]");
+ util::stream_format( stream, "PUSH_S [BLINK]");
return 2;
}
@@ -1831,14 +1818,14 @@ int arcompact_handle19_0x_helper_dasm(DASM_OPS_16, const char* optext, int shift
s <<= shift;
- output += sprintf( output, "%s %s, ", optext, regnames[0]);
+ util::stream_format(stream, "%s %s, ", optext, regnames[0]);
if (format == 0)
{
- output += sprintf( output, "[GP, %03x]", s);
+ util::stream_format(stream, "[GP, %03x]", s);
}
else
{
- output += sprintf( output, "GP, %03x", s);
+ util::stream_format(stream, "GP, %03x", s);
}
return 2;
@@ -1856,7 +1843,7 @@ int arcompact_handle1a_dasm(DASM_OPS_16)
COMMON16_GET_u8;
REG_16BIT_RANGE(breg);
- print("MOV_S %s, [PCL, %03x]", regnames[breg], u*4);
+ util::stream_format( stream, "MOV_S %s, [PCL, %03x]", regnames[breg], u*4);
return 2;
}
@@ -1868,7 +1855,7 @@ int arcompact_handle1b_dasm(DASM_OPS_16)
COMMON16_GET_u8;
REG_16BIT_RANGE(breg);
- print("MOV_S %s <- 0x%02x", regnames[breg], u);
+ util::stream_format( stream, "MOV_S %s <- 0x%02x", regnames[breg], u);
return 2;
}
@@ -1879,7 +1866,7 @@ int arcompact_handle1c_00_dasm(DASM_OPS_16)
COMMON16_GET_u7;
REG_16BIT_RANGE(breg);
- print("ADD_S %s <- %s, %02x", regnames[breg], regnames[breg], u);
+ util::stream_format( stream, "ADD_S %s <- %s, %02x", regnames[breg], regnames[breg], u);
return 2;
}
@@ -1890,7 +1877,7 @@ int arcompact_handle1c_01_dasm(DASM_OPS_16)
COMMON16_GET_u7;
REG_16BIT_RANGE(breg);
- print("CMP_S %s, %02x", regnames[breg], u);
+ util::stream_format( stream, "CMP_S %s, %02x", regnames[breg], u);
return 2;
}
@@ -1903,7 +1890,7 @@ int arcompact_handle1d_helper_dasm(DASM_OPS_16, const char* optext)
int s = (op & 0x007f) >> 0; op &= ~0x007f;
if (s & 0x40) s = -0x40 + (s & 0x3f);
- print("%s %s, 0 to 0x%08x", optext, regnames[breg], PC_ALIGNED32 + s*2);
+ util::stream_format( stream, "%s %s, 0 to 0x%08x", optext, regnames[breg], PC_ALIGNED32 + s*2);
return 2;
}
@@ -1917,7 +1904,7 @@ int arcompact_handle1e_0x_helper_dasm(DASM_OPS_16, const char* optext)
int s = (op & 0x01ff) >> 0; op &= ~0x01ff;
if (s & 0x100) s = -0x100 + (s & 0xff);
- print("%s %08x", optext, PC_ALIGNED32 + s*2);
+ util::stream_format( stream, "%s %08x", optext, PC_ALIGNED32 + s*2);
return 2;
}
@@ -1932,7 +1919,7 @@ int arcompact_handle1e_03_0x_helper_dasm(DASM_OPS_16, const char* optext)
int s = (op & 0x003f) >> 0; op &= ~0x003f;
if (s & 0x020) s = -0x20 + (s & 0x1f);
- print("%s %08x", optext, PC_ALIGNED32 + s*2);
+ util::stream_format( stream, "%s %08x", optext, PC_ALIGNED32 + s*2);
return 2;
}
@@ -1950,7 +1937,7 @@ int arcompact_handle1f_dasm(DASM_OPS_16)
int s = (op & 0x07ff) >> 0; op &= ~0x07ff;
if (s & 0x400) s = -0x400 + (s & 0x3ff);
- print("BL_S %08x", PC_ALIGNED32 + (s*4));
+ util::stream_format( stream, "BL_S %08x", PC_ALIGNED32 + (s*4));
return 2;
}
@@ -1960,411 +1947,411 @@ int arcompact_handle1f_dasm(DASM_OPS_16)
* *
************************************************************************************************************************************/
-int arcompact_handle01_01_00_06_dasm(DASM_OPS_32) { print("<illegal 01_01_00_06> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_07_dasm(DASM_OPS_32) { print("<illegal 01_01_00_07> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_08_dasm(DASM_OPS_32) { print("<illegal 01_01_00_08> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_09_dasm(DASM_OPS_32) { print("<illegal 01_01_00_09> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_0a_dasm(DASM_OPS_32) { print("<illegal 01_01_00_0a> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_0b_dasm(DASM_OPS_32) { print("<illegal 01_01_00_0b> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_0c_dasm(DASM_OPS_32) { print("<illegal 01_01_00_0c> (%08x)", op); return 4; }
-int arcompact_handle01_01_00_0d_dasm(DASM_OPS_32) { print("<illegal 01_01_00_0d> (%08x)", op); return 4; }
-
-int arcompact_handle01_01_01_06_dasm(DASM_OPS_32) { print("<illegal 01_01_01_06> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_07_dasm(DASM_OPS_32) { print("<illegal 01_01_01_07> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_08_dasm(DASM_OPS_32) { print("<illegal 01_01_01_08> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_09_dasm(DASM_OPS_32) { print("<illegal 01_01_01_09> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_0a_dasm(DASM_OPS_32) { print("<illegal 01_01_01_0a> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_0b_dasm(DASM_OPS_32) { print("<illegal 01_01_01_0b> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_0c_dasm(DASM_OPS_32) { print("<illegal 01_01_01_0c> (%08x)", op); return 4; }
-int arcompact_handle01_01_01_0d_dasm(DASM_OPS_32) { print("<illegal 01_01_01_0d> (%08x)", op); return 4; }
-
-
-int arcompact_handle04_1e_dasm(DASM_OPS_32) { print("<illegal 0x04_1e> (%08x)", op); return 4;}
-int arcompact_handle04_1f_dasm(DASM_OPS_32) { print("<illegal 0x04_1f> (%08x)", op); return 4;}
-
-int arcompact_handle04_24_dasm(DASM_OPS_32) { print("<illegal 0x04_24> (%08x)", op); return 4;}
-int arcompact_handle04_25_dasm(DASM_OPS_32) { print("<illegal 0x04_25> (%08x)", op); return 4;}
-int arcompact_handle04_26_dasm(DASM_OPS_32) { print("<illegal 0x04_26> (%08x)", op); return 4;}
-int arcompact_handle04_27_dasm(DASM_OPS_32) { print("<illegal 0x04_27> (%08x)", op); return 4;}
-
-int arcompact_handle04_2c_dasm(DASM_OPS_32) { print("<illegal 0x04_2c> (%08x)", op); return 4;}
-int arcompact_handle04_2d_dasm(DASM_OPS_32) { print("<illegal 0x04_2d> (%08x)", op); return 4;}
-int arcompact_handle04_2e_dasm(DASM_OPS_32) { print("<illegal 0x04_2e> (%08x)", op); return 4;}
-
-int arcompact_handle04_2f_0d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_0d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_0e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_0e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_0f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_0f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_10_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_10> (%08x)", op); return 4;}
-int arcompact_handle04_2f_11_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_11> (%08x)", op); return 4;}
-int arcompact_handle04_2f_12_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_12> (%08x)", op); return 4;}
-int arcompact_handle04_2f_13_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_13> (%08x)", op); return 4;}
-int arcompact_handle04_2f_14_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_14> (%08x)", op); return 4;}
-int arcompact_handle04_2f_15_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_15> (%08x)", op); return 4;}
-int arcompact_handle04_2f_16_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_16> (%08x)", op); return 4;}
-int arcompact_handle04_2f_17_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_17> (%08x)", op); return 4;}
-int arcompact_handle04_2f_18_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_18> (%08x)", op); return 4;}
-int arcompact_handle04_2f_19_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_19> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_1f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_1f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_20_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_20> (%08x)", op); return 4;}
-int arcompact_handle04_2f_21_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_21> (%08x)", op); return 4;}
-int arcompact_handle04_2f_22_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_22> (%08x)", op); return 4;}
-int arcompact_handle04_2f_23_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_23> (%08x)", op); return 4;}
-int arcompact_handle04_2f_24_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_24> (%08x)", op); return 4;}
-int arcompact_handle04_2f_25_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_25> (%08x)", op); return 4;}
-int arcompact_handle04_2f_26_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_26> (%08x)", op); return 4;}
-int arcompact_handle04_2f_27_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_27> (%08x)", op); return 4;}
-int arcompact_handle04_2f_28_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_28> (%08x)", op); return 4;}
-int arcompact_handle04_2f_29_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_29> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_2f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_2f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_30_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_30> (%08x)", op); return 4;}
-int arcompact_handle04_2f_31_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_31> (%08x)", op); return 4;}
-int arcompact_handle04_2f_32_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_32> (%08x)", op); return 4;}
-int arcompact_handle04_2f_33_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_33> (%08x)", op); return 4;}
-int arcompact_handle04_2f_34_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_34> (%08x)", op); return 4;}
-int arcompact_handle04_2f_35_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_35> (%08x)", op); return 4;}
-int arcompact_handle04_2f_36_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_36> (%08x)", op); return 4;}
-int arcompact_handle04_2f_37_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_37> (%08x)", op); return 4;}
-int arcompact_handle04_2f_38_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_38> (%08x)", op); return 4;}
-int arcompact_handle04_2f_39_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_39> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3e> (%08x)", op); return 4;}
-
-
-
-int arcompact_handle05_2f_09_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_09> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_0f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_0f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_10_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_10> (%08x)", op); return 4;}
-int arcompact_handle05_2f_11_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_11> (%08x)", op); return 4;}
-int arcompact_handle05_2f_12_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_12> (%08x)", op); return 4;}
-int arcompact_handle05_2f_13_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_13> (%08x)", op); return 4;}
-int arcompact_handle05_2f_14_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_14> (%08x)", op); return 4;}
-int arcompact_handle05_2f_15_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_15> (%08x)", op); return 4;}
-int arcompact_handle05_2f_16_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_16> (%08x)", op); return 4;}
-int arcompact_handle05_2f_17_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_17> (%08x)", op); return 4;}
-int arcompact_handle05_2f_18_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_18> (%08x)", op); return 4;}
-int arcompact_handle05_2f_19_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_19> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_1f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_1f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_20_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_20> (%08x)", op); return 4;}
-int arcompact_handle05_2f_21_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_21> (%08x)", op); return 4;}
-int arcompact_handle05_2f_22_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_22> (%08x)", op); return 4;}
-int arcompact_handle05_2f_23_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_23> (%08x)", op); return 4;}
-int arcompact_handle05_2f_24_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_24> (%08x)", op); return 4;}
-int arcompact_handle05_2f_25_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_25> (%08x)", op); return 4;}
-int arcompact_handle05_2f_26_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_26> (%08x)", op); return 4;}
-int arcompact_handle05_2f_27_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_27> (%08x)", op); return 4;}
-int arcompact_handle05_2f_28_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_28> (%08x)", op); return 4;}
-int arcompact_handle05_2f_29_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_29> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_2f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_2f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_30_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_30> (%08x)", op); return 4;}
-int arcompact_handle05_2f_31_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_31> (%08x)", op); return 4;}
-int arcompact_handle05_2f_32_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_32> (%08x)", op); return 4;}
-int arcompact_handle05_2f_33_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_33> (%08x)", op); return 4;}
-int arcompact_handle05_2f_34_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_34> (%08x)", op); return 4;}
-int arcompact_handle05_2f_35_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_35> (%08x)", op); return 4;}
-int arcompact_handle05_2f_36_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_36> (%08x)", op); return 4;}
-int arcompact_handle05_2f_37_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_37> (%08x)", op); return 4;}
-int arcompact_handle05_2f_38_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_38> (%08x)", op); return 4;}
-int arcompact_handle05_2f_39_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_39> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3e> (%08x)", op); return 4;}
-
-
-int arcompact_handle04_2f_3f_00_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_00> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_06_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_06> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_07_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_07> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_08_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_08> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_09_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_09> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_0f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_0f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_10_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_10> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_11_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_11> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_12_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_12> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_13_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_13> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_14_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_14> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_15_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_15> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_16_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_16> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_17_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_17> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_18_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_18> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_19_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_19> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_1f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_1f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_20_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_20> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_21_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_21> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_22_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_22> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_23_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_23> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_24_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_24> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_25_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_25> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_26_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_26> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_27_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_27> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_28_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_28> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_29_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_29> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_2f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_2f> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_30_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_30> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_31_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_31> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_32_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_32> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_33_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_33> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_34_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_34> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_35_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_35> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_36_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_36> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_37_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_37> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_38_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_38> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_39_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_39> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3a_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3a> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3b_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3b> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3c_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3c> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3d_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3d> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3e_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3e> (%08x)", op); return 4;}
-int arcompact_handle04_2f_3f_3f_dasm(DASM_OPS_32) { print("<illegal 0x04_2f_3f_3f> (%08x)", op); return 4;}
-
-int arcompact_handle05_2f_3f_00_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_00> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_01_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_01> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_02_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_02> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_03_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_03> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_04_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_04> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_05_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_05> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_06_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_06> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_07_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_07> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_08_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_08> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_09_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_09> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_0f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_0f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_10_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_10> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_11_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_11> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_12_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_12> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_13_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_13> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_14_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_14> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_15_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_15> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_16_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_16> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_17_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_17> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_18_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_18> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_19_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_19> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_1f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_1f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_20_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_20> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_21_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_21> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_22_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_22> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_23_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_23> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_24_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_24> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_25_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_25> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_26_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_26> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_27_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_27> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_28_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_28> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_29_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_29> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_2f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_2f> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_30_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_30> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_31_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_31> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_32_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_32> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_33_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_33> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_34_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_34> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_35_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_35> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_36_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_36> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_37_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_37> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_38_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_38> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_39_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_39> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3a_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3a> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3b_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3b> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3c_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3c> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3d_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3d> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3e_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3e> (%08x)", op); return 4;}
-int arcompact_handle05_2f_3f_3f_dasm(DASM_OPS_32) { print("<illegal 0x05_2f_3f_3f> (%08x)", op); return 4;}
-
-
-
-
-int arcompact_handle04_38_dasm(DASM_OPS_32) { print("<illegal 0x04_38> (%08x)", op); return 4;}
-int arcompact_handle04_39_dasm(DASM_OPS_32) { print("<illegal 0x04_39> (%08x)", op); return 4;}
-int arcompact_handle04_3a_dasm(DASM_OPS_32) { print("<illegal 0x04_3a> (%08x)", op); return 4;}
-int arcompact_handle04_3b_dasm(DASM_OPS_32) { print("<illegal 0x04_3b> (%08x)", op); return 4;}
-int arcompact_handle04_3c_dasm(DASM_OPS_32) { print("<illegal 0x04_3c> (%08x)", op); return 4;}
-int arcompact_handle04_3d_dasm(DASM_OPS_32) { print("<illegal 0x04_3d> (%08x)", op); return 4;}
-int arcompact_handle04_3e_dasm(DASM_OPS_32) { print("<illegal 0x04_3e> (%08x)", op); return 4;}
-int arcompact_handle04_3f_dasm(DASM_OPS_32) { print("<illegal 0x04_3f> (%08x)", op); return 4;}
-
-
-int arcompact_handle05_09_dasm(DASM_OPS_32) { print("<illegal 0x05_09> (%08x)", op); return 4;}
-int arcompact_handle05_0c_dasm(DASM_OPS_32) { print("<illegal 0x05_0c> (%08x)", op); return 4;}
-int arcompact_handle05_0d_dasm(DASM_OPS_32) { print("<illegal 0x05_0d> (%08x)", op); return 4;}
-int arcompact_handle05_0e_dasm(DASM_OPS_32) { print("<illegal 0x05_0e> (%08x)", op); return 4;}
-int arcompact_handle05_0f_dasm(DASM_OPS_32) { print("<illegal 0x05_0f> (%08x)", op); return 4;}
-int arcompact_handle05_10_dasm(DASM_OPS_32) { print("<illegal 0x05_10> (%08x)", op); return 4;}
-int arcompact_handle05_11_dasm(DASM_OPS_32) { print("<illegal 0x05_11> (%08x)", op); return 4;}
-int arcompact_handle05_12_dasm(DASM_OPS_32) { print("<illegal 0x05_12> (%08x)", op); return 4;}
-int arcompact_handle05_13_dasm(DASM_OPS_32) { print("<illegal 0x05_13> (%08x)", op); return 4;}
-int arcompact_handle05_14_dasm(DASM_OPS_32) { print("<illegal 0x05_14> (%08x)", op); return 4;}
-int arcompact_handle05_15_dasm(DASM_OPS_32) { print("<illegal 0x05_15> (%08x)", op); return 4;}
-int arcompact_handle05_16_dasm(DASM_OPS_32) { print("<illegal 0x05_16> (%08x)", op); return 4;}
-int arcompact_handle05_17_dasm(DASM_OPS_32) { print("<illegal 0x05_17> (%08x)", op); return 4;}
-int arcompact_handle05_18_dasm(DASM_OPS_32) { print("<illegal 0x05_18> (%08x)", op); return 4;}
-int arcompact_handle05_19_dasm(DASM_OPS_32) { print("<illegal 0x05_19> (%08x)", op); return 4;}
-int arcompact_handle05_1a_dasm(DASM_OPS_32) { print("<illegal 0x05_1a> (%08x)", op); return 4;}
-int arcompact_handle05_1b_dasm(DASM_OPS_32) { print("<illegal 0x05_1b> (%08x)", op); return 4;}
-int arcompact_handle05_1c_dasm(DASM_OPS_32) { print("<illegal 0x05_1c> (%08x)", op); return 4;}
-int arcompact_handle05_1d_dasm(DASM_OPS_32) { print("<illegal 0x05_1d> (%08x)", op); return 4;}
-int arcompact_handle05_1e_dasm(DASM_OPS_32) { print("<illegal 0x05_1e> (%08x)", op); return 4;}
-int arcompact_handle05_1f_dasm(DASM_OPS_32) { print("<illegal 0x05_1f> (%08x)", op); return 4;}
-int arcompact_handle05_20_dasm(DASM_OPS_32) { print("<illegal 0x05_20> (%08x)", op); return 4;}
-int arcompact_handle05_21_dasm(DASM_OPS_32) { print("<illegal 0x05_21> (%08x)", op); return 4;}
-int arcompact_handle05_22_dasm(DASM_OPS_32) { print("<illegal 0x05_22> (%08x)", op); return 4;}
-int arcompact_handle05_23_dasm(DASM_OPS_32) { print("<illegal 0x05_23> (%08x)", op); return 4;}
-int arcompact_handle05_24_dasm(DASM_OPS_32) { print("<illegal 0x05_24> (%08x)", op); return 4;}
-int arcompact_handle05_25_dasm(DASM_OPS_32) { print("<illegal 0x05_25> (%08x)", op); return 4;}
-int arcompact_handle05_26_dasm(DASM_OPS_32) { print("<illegal 0x05_26> (%08x)", op); return 4;}
-int arcompact_handle05_27_dasm(DASM_OPS_32) { print("<illegal 0x05_27> (%08x)", op); return 4;}
-
-int arcompact_handle05_2a_dasm(DASM_OPS_32) { print("<illegal 0x05_2a> (%08x)", op); return 4;}
-int arcompact_handle05_2b_dasm(DASM_OPS_32) { print("<illegal 0x05_2b> (%08x)", op); return 4;}
-int arcompact_handle05_2c_dasm(DASM_OPS_32) { print("<illegal 0x05_2c> (%08x)", op); return 4;}
-int arcompact_handle05_2d_dasm(DASM_OPS_32) { print("<illegal 0x05_2d> (%08x)", op); return 4;}
-int arcompact_handle05_2e_dasm(DASM_OPS_32) { print("<illegal 0x05_2e> (%08x)", op); return 4;}
-
-int arcompact_handle05_30_dasm(DASM_OPS_32) { print("<illegal 0x05_30> (%08x)", op); return 4;}
-int arcompact_handle05_31_dasm(DASM_OPS_32) { print("<illegal 0x05_31> (%08x)", op); return 4;}
-int arcompact_handle05_32_dasm(DASM_OPS_32) { print("<illegal 0x05_32> (%08x)", op); return 4;}
-int arcompact_handle05_33_dasm(DASM_OPS_32) { print("<illegal 0x05_33> (%08x)", op); return 4;}
-int arcompact_handle05_34_dasm(DASM_OPS_32) { print("<illegal 0x05_34> (%08x)", op); return 4;}
-int arcompact_handle05_35_dasm(DASM_OPS_32) { print("<illegal 0x05_35> (%08x)", op); return 4;}
-int arcompact_handle05_36_dasm(DASM_OPS_32) { print("<illegal 0x05_36> (%08x)", op); return 4;}
-int arcompact_handle05_37_dasm(DASM_OPS_32) { print("<illegal 0x05_37> (%08x)", op); return 4;}
-int arcompact_handle05_38_dasm(DASM_OPS_32) { print("<illegal 0x05_38> (%08x)", op); return 4;}
-int arcompact_handle05_39_dasm(DASM_OPS_32) { print("<illegal 0x05_39> (%08x)", op); return 4;}
-int arcompact_handle05_3a_dasm(DASM_OPS_32) { print("<illegal 0x05_3a> (%08x)", op); return 4;}
-int arcompact_handle05_3b_dasm(DASM_OPS_32) { print("<illegal 0x05_3b> (%08x)", op); return 4;}
-int arcompact_handle05_3c_dasm(DASM_OPS_32) { print("<illegal 0x05_3c> (%08x)", op); return 4;}
-int arcompact_handle05_3d_dasm(DASM_OPS_32) { print("<illegal 0x05_3d> (%08x)", op); return 4;}
-int arcompact_handle05_3e_dasm(DASM_OPS_32) { print("<illegal 0x05_3e> (%08x)", op); return 4;}
-int arcompact_handle05_3f_dasm(DASM_OPS_32) { print("<illegal 0x05_3f> (%08x)", op); return 4;}
-
-int arcompact_handle0f_00_04_dasm(DASM_OPS_16) { print("<illegal 0x0f_00_00> (%08x)", op); return 2;}
-int arcompact_handle0f_00_05_dasm(DASM_OPS_16) { print("<illegal 0x0f_00_00> (%08x)", op); return 2;}
-int arcompact_handle0f_00_07_02_dasm(DASM_OPS_16) { print("<illegal 0x0f_00_07_02> (%08x)", op); return 2;}
-int arcompact_handle0f_00_07_03_dasm(DASM_OPS_16) { print("<illegal 0x0f_00_07_03> (%08x)", op); return 2;}
-int arcompact_handle0f_01_dasm(DASM_OPS_16) { print("<illegal 0x0f_01> (%08x)", op); return 2;}
-int arcompact_handle0f_03_dasm(DASM_OPS_16) { print("<illegal 0x0f_03> (%08x)", op); return 2;}
-int arcompact_handle0f_08_dasm(DASM_OPS_16) { print("<illegal 0x0f_08> (%08x)", op); return 2;}
-int arcompact_handle0f_09_dasm(DASM_OPS_16) { print("<illegal 0x0f_09> (%08x)", op); return 2;}
-int arcompact_handle0f_0a_dasm(DASM_OPS_16) { print("<illegal 0x0f_0a> (%08x)", op); return 2;}
-int arcompact_handle0f_17_dasm(DASM_OPS_16) { print("<illegal 0x0f_17> (%08x)", op); return 2;}
-
-int arcompact_handle18_05_02_dasm(DASM_OPS_16) { print("<illegal 0x18_05_02> (%04x)", op); return 2;}
-int arcompact_handle18_05_03_dasm(DASM_OPS_16) { print("<illegal 0x18_05_03> (%04x)", op); return 2;}
-int arcompact_handle18_05_04_dasm(DASM_OPS_16) { print("<illegal 0x18_05_04> (%04x)", op); return 2;}
-int arcompact_handle18_05_05_dasm(DASM_OPS_16) { print("<illegal 0x18_05_05> (%04x)", op); return 2;}
-int arcompact_handle18_05_06_dasm(DASM_OPS_16) { print("<illegal 0x18_05_06> (%04x)", op); return 2;}
-int arcompact_handle18_05_07_dasm(DASM_OPS_16) { print("<illegal 0x18_05_07> (%04x)", op); return 2;}
-int arcompact_handle18_06_00_dasm(DASM_OPS_16) { print("<illegal 0x18_06_00> (%04x)", op); return 2;}
-int arcompact_handle18_06_02_dasm(DASM_OPS_16) { print("<illegal 0x18_06_02> (%04x)", op); return 2;}
-int arcompact_handle18_06_03_dasm(DASM_OPS_16) { print("<illegal 0x18_06_03> (%04x)", op); return 2;}
-int arcompact_handle18_06_04_dasm(DASM_OPS_16) { print("<illegal 0x18_06_04> (%04x)", op); return 2;}
-int arcompact_handle18_06_05_dasm(DASM_OPS_16) { print("<illegal 0x18_06_05> (%04x)", op); return 2;}
-int arcompact_handle18_06_06_dasm(DASM_OPS_16) { print("<illegal 0x18_06_06> (%04x)", op); return 2;}
-int arcompact_handle18_06_07_dasm(DASM_OPS_16) { print("<illegal 0x18_06_07> (%04x)", op); return 2;}
-int arcompact_handle18_06_08_dasm(DASM_OPS_16) { print("<illegal 0x18_06_08> (%04x)", op); return 2;}
-int arcompact_handle18_06_09_dasm(DASM_OPS_16) { print("<illegal 0x18_06_09> (%04x)", op); return 2;}
-int arcompact_handle18_06_0a_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0a> (%04x)", op); return 2;}
-int arcompact_handle18_06_0b_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0b> (%04x)", op); return 2;}
-int arcompact_handle18_06_0c_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0c> (%04x)", op); return 2;}
-int arcompact_handle18_06_0d_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0d> (%04x)", op); return 2;}
-int arcompact_handle18_06_0e_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0e> (%04x)", op); return 2;}
-int arcompact_handle18_06_0f_dasm(DASM_OPS_16) { print("<illegal 0x18_06_0f> (%04x)", op); return 2;}
-int arcompact_handle18_06_10_dasm(DASM_OPS_16) { print("<illegal 0x18_06_10> (%04x)", op); return 2;}
-int arcompact_handle18_06_12_dasm(DASM_OPS_16) { print("<illegal 0x18_06_12> (%04x)", op); return 2;}
-int arcompact_handle18_06_13_dasm(DASM_OPS_16) { print("<illegal 0x18_06_13> (%04x)", op); return 2;}
-int arcompact_handle18_06_14_dasm(DASM_OPS_16) { print("<illegal 0x18_06_14> (%04x)", op); return 2;}
-int arcompact_handle18_06_15_dasm(DASM_OPS_16) { print("<illegal 0x18_06_15> (%04x)", op); return 2;}
-int arcompact_handle18_06_16_dasm(DASM_OPS_16) { print("<illegal 0x18_06_16> (%04x)", op); return 2;}
-int arcompact_handle18_06_17_dasm(DASM_OPS_16) { print("<illegal 0x18_06_17> (%04x)", op); return 2;}
-int arcompact_handle18_06_18_dasm(DASM_OPS_16) { print("<illegal 0x18_06_18> (%04x)", op); return 2;}
-int arcompact_handle18_06_19_dasm(DASM_OPS_16) { print("<illegal 0x18_06_19> (%04x)", op); return 2;}
-int arcompact_handle18_06_1a_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1a> (%04x)", op); return 2;}
-int arcompact_handle18_06_1b_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1b> (%04x)", op); return 2;}
-int arcompact_handle18_06_1c_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1c> (%04x)", op); return 2;}
-int arcompact_handle18_06_1d_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1d> (%04x)", op); return 2;}
-int arcompact_handle18_06_1e_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1e> (%04x)", op); return 2;}
-int arcompact_handle18_06_1f_dasm(DASM_OPS_16) { print("<illegal 0x18_06_1f> (%04x)", op); return 2;}
-int arcompact_handle18_07_00_dasm(DASM_OPS_16) { print("<illegal 0x18_07_00> (%04x)", op); return 2;}
-int arcompact_handle18_07_02_dasm(DASM_OPS_16) { print("<illegal 0x18_07_02> (%04x)", op); return 2;}
-int arcompact_handle18_07_03_dasm(DASM_OPS_16) { print("<illegal 0x18_07_03> (%04x)", op); return 2;}
-int arcompact_handle18_07_04_dasm(DASM_OPS_16) { print("<illegal 0x18_07_04> (%04x)", op); return 2;}
-int arcompact_handle18_07_05_dasm(DASM_OPS_16) { print("<illegal 0x18_07_05> (%04x)", op); return 2;}
-int arcompact_handle18_07_06_dasm(DASM_OPS_16) { print("<illegal 0x18_07_06> (%04x)", op); return 2;}
-int arcompact_handle18_07_07_dasm(DASM_OPS_16) { print("<illegal 0x18_07_07> (%04x)", op); return 2;}
-int arcompact_handle18_07_08_dasm(DASM_OPS_16) { print("<illegal 0x18_07_08> (%04x)", op); return 2;}
-int arcompact_handle18_07_09_dasm(DASM_OPS_16) { print("<illegal 0x18_07_09> (%04x)", op); return 2;}
-int arcompact_handle18_07_0a_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0a> (%04x)", op); return 2;}
-int arcompact_handle18_07_0b_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0b> (%04x)", op); return 2;}
-int arcompact_handle18_07_0c_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0c> (%04x)", op); return 2;}
-int arcompact_handle18_07_0d_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0d> (%04x)", op); return 2;}
-int arcompact_handle18_07_0e_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0e> (%04x)", op); return 2;}
-int arcompact_handle18_07_0f_dasm(DASM_OPS_16) { print("<illegal 0x18_07_0f> (%04x)", op); return 2;}
-int arcompact_handle18_07_10_dasm(DASM_OPS_16) { print("<illegal 0x18_07_10> (%04x)", op); return 2;}
-int arcompact_handle18_07_12_dasm(DASM_OPS_16) { print("<illegal 0x18_07_12> (%04x)", op); return 2;}
-int arcompact_handle18_07_13_dasm(DASM_OPS_16) { print("<illegal 0x18_07_13> (%04x)", op); return 2;}
-int arcompact_handle18_07_14_dasm(DASM_OPS_16) { print("<illegal 0x18_07_14> (%04x)", op); return 2;}
-int arcompact_handle18_07_15_dasm(DASM_OPS_16) { print("<illegal 0x18_07_15> (%04x)", op); return 2;}
-int arcompact_handle18_07_16_dasm(DASM_OPS_16) { print("<illegal 0x18_07_16> (%04x)", op); return 2;}
-int arcompact_handle18_07_17_dasm(DASM_OPS_16) { print("<illegal 0x18_07_17> (%04x)", op); return 2;}
-int arcompact_handle18_07_18_dasm(DASM_OPS_16) { print("<illegal 0x18_07_18> (%04x)", op); return 2;}
-int arcompact_handle18_07_19_dasm(DASM_OPS_16) { print("<illegal 0x18_07_19> (%04x)", op); return 2;}
-int arcompact_handle18_07_1a_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1a> (%04x)", op); return 2;}
-int arcompact_handle18_07_1b_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1b> (%04x)", op); return 2;}
-int arcompact_handle18_07_1c_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1c> (%04x)", op); return 2;}
-int arcompact_handle18_07_1d_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1d> (%04x)", op); return 2;}
-int arcompact_handle18_07_1e_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1e> (%04x)", op); return 2;}
-int arcompact_handle18_07_1f_dasm(DASM_OPS_16) { print("<illegal 0x18_07_1f> (%04x)", op); return 2;}
+int arcompact_handle01_01_00_06_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_06> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_07_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_07> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_08_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_08> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_09> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_0a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_0a> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_0b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_0b> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_0c> (%08x)", op); return 4; }
+int arcompact_handle01_01_00_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_00_0d> (%08x)", op); return 4; }
+
+int arcompact_handle01_01_01_06_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_06> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_07_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_07> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_08_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_08> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_09> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_0a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_0a> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_0b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_0b> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_0c> (%08x)", op); return 4; }
+int arcompact_handle01_01_01_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 01_01_01_0d> (%08x)", op); return 4; }
+
+
+int arcompact_handle04_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_1e> (%08x)", op); return 4;}
+int arcompact_handle04_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_1f> (%08x)", op); return 4;}
+
+int arcompact_handle04_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_24> (%08x)", op); return 4;}
+int arcompact_handle04_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_25> (%08x)", op); return 4;}
+int arcompact_handle04_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_26> (%08x)", op); return 4;}
+int arcompact_handle04_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_27> (%08x)", op); return 4;}
+
+int arcompact_handle04_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2c> (%08x)", op); return 4;}
+int arcompact_handle04_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2d> (%08x)", op); return 4;}
+int arcompact_handle04_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2e> (%08x)", op); return 4;}
+
+int arcompact_handle04_2f_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_0d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_0e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_0e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_0f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_0f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_10_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_10> (%08x)", op); return 4;}
+int arcompact_handle04_2f_11_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_11> (%08x)", op); return 4;}
+int arcompact_handle04_2f_12_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_12> (%08x)", op); return 4;}
+int arcompact_handle04_2f_13_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_13> (%08x)", op); return 4;}
+int arcompact_handle04_2f_14_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_14> (%08x)", op); return 4;}
+int arcompact_handle04_2f_15_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_15> (%08x)", op); return 4;}
+int arcompact_handle04_2f_16_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_16> (%08x)", op); return 4;}
+int arcompact_handle04_2f_17_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_17> (%08x)", op); return 4;}
+int arcompact_handle04_2f_18_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_18> (%08x)", op); return 4;}
+int arcompact_handle04_2f_19_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_19> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_1f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_20_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_20> (%08x)", op); return 4;}
+int arcompact_handle04_2f_21_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_21> (%08x)", op); return 4;}
+int arcompact_handle04_2f_22_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_22> (%08x)", op); return 4;}
+int arcompact_handle04_2f_23_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_23> (%08x)", op); return 4;}
+int arcompact_handle04_2f_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_24> (%08x)", op); return 4;}
+int arcompact_handle04_2f_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_25> (%08x)", op); return 4;}
+int arcompact_handle04_2f_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_26> (%08x)", op); return 4;}
+int arcompact_handle04_2f_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_27> (%08x)", op); return 4;}
+int arcompact_handle04_2f_28_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_28> (%08x)", op); return 4;}
+int arcompact_handle04_2f_29_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_29> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_2f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_2f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_30_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_30> (%08x)", op); return 4;}
+int arcompact_handle04_2f_31_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_31> (%08x)", op); return 4;}
+int arcompact_handle04_2f_32_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_32> (%08x)", op); return 4;}
+int arcompact_handle04_2f_33_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_33> (%08x)", op); return 4;}
+int arcompact_handle04_2f_34_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_34> (%08x)", op); return 4;}
+int arcompact_handle04_2f_35_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_35> (%08x)", op); return 4;}
+int arcompact_handle04_2f_36_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_36> (%08x)", op); return 4;}
+int arcompact_handle04_2f_37_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_37> (%08x)", op); return 4;}
+int arcompact_handle04_2f_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_38> (%08x)", op); return 4;}
+int arcompact_handle04_2f_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_39> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3e> (%08x)", op); return 4;}
+
+
+
+int arcompact_handle05_2f_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_09> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_0f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_0f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_10_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_10> (%08x)", op); return 4;}
+int arcompact_handle05_2f_11_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_11> (%08x)", op); return 4;}
+int arcompact_handle05_2f_12_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_12> (%08x)", op); return 4;}
+int arcompact_handle05_2f_13_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_13> (%08x)", op); return 4;}
+int arcompact_handle05_2f_14_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_14> (%08x)", op); return 4;}
+int arcompact_handle05_2f_15_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_15> (%08x)", op); return 4;}
+int arcompact_handle05_2f_16_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_16> (%08x)", op); return 4;}
+int arcompact_handle05_2f_17_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_17> (%08x)", op); return 4;}
+int arcompact_handle05_2f_18_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_18> (%08x)", op); return 4;}
+int arcompact_handle05_2f_19_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_19> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_1f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_20_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_20> (%08x)", op); return 4;}
+int arcompact_handle05_2f_21_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_21> (%08x)", op); return 4;}
+int arcompact_handle05_2f_22_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_22> (%08x)", op); return 4;}
+int arcompact_handle05_2f_23_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_23> (%08x)", op); return 4;}
+int arcompact_handle05_2f_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_24> (%08x)", op); return 4;}
+int arcompact_handle05_2f_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_25> (%08x)", op); return 4;}
+int arcompact_handle05_2f_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_26> (%08x)", op); return 4;}
+int arcompact_handle05_2f_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_27> (%08x)", op); return 4;}
+int arcompact_handle05_2f_28_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_28> (%08x)", op); return 4;}
+int arcompact_handle05_2f_29_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_29> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_2f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_2f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_30_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_30> (%08x)", op); return 4;}
+int arcompact_handle05_2f_31_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_31> (%08x)", op); return 4;}
+int arcompact_handle05_2f_32_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_32> (%08x)", op); return 4;}
+int arcompact_handle05_2f_33_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_33> (%08x)", op); return 4;}
+int arcompact_handle05_2f_34_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_34> (%08x)", op); return 4;}
+int arcompact_handle05_2f_35_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_35> (%08x)", op); return 4;}
+int arcompact_handle05_2f_36_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_36> (%08x)", op); return 4;}
+int arcompact_handle05_2f_37_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_37> (%08x)", op); return 4;}
+int arcompact_handle05_2f_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_38> (%08x)", op); return 4;}
+int arcompact_handle05_2f_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_39> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3e> (%08x)", op); return 4;}
+
+
+int arcompact_handle04_2f_3f_00_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_00> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_06_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_06> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_07_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_07> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_08_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_08> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_09> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_0f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_0f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_10_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_10> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_11_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_11> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_12_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_12> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_13_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_13> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_14_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_14> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_15_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_15> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_16_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_16> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_17_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_17> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_18_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_18> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_19_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_19> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_1f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_20_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_20> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_21_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_21> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_22_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_22> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_23_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_23> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_24> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_25> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_26> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_27> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_28_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_28> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_29_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_29> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_2f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_2f> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_30_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_30> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_31_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_31> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_32_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_32> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_33_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_33> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_34_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_34> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_35_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_35> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_36_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_36> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_37_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_37> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_38> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_39> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3a> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3b> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3c> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3d> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3e> (%08x)", op); return 4;}
+int arcompact_handle04_2f_3f_3f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_2f_3f_3f> (%08x)", op); return 4;}
+
+int arcompact_handle05_2f_3f_00_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_00> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_01_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_01> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_02_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_02> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_03_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_03> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_04_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_04> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_05_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_05> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_06_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_06> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_07_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_07> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_08_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_08> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_09> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_0f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_0f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_10_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_10> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_11_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_11> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_12_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_12> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_13_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_13> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_14_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_14> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_15_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_15> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_16_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_16> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_17_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_17> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_18_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_18> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_19_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_19> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_1f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_20_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_20> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_21_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_21> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_22_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_22> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_23_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_23> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_24> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_25> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_26> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_27> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_28_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_28> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_29_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_29> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_2f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_2f> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_30_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_30> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_31_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_31> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_32_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_32> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_33_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_33> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_34_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_34> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_35_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_35> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_36_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_36> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_37_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_37> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_38> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_39> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3a> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3b> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3c> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3d> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3e> (%08x)", op); return 4;}
+int arcompact_handle05_2f_3f_3f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2f_3f_3f> (%08x)", op); return 4;}
+
+
+
+
+int arcompact_handle04_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_38> (%08x)", op); return 4;}
+int arcompact_handle04_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_39> (%08x)", op); return 4;}
+int arcompact_handle04_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3a> (%08x)", op); return 4;}
+int arcompact_handle04_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3b> (%08x)", op); return 4;}
+int arcompact_handle04_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3c> (%08x)", op); return 4;}
+int arcompact_handle04_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3d> (%08x)", op); return 4;}
+int arcompact_handle04_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3e> (%08x)", op); return 4;}
+int arcompact_handle04_3f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x04_3f> (%08x)", op); return 4;}
+
+
+int arcompact_handle05_09_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_09> (%08x)", op); return 4;}
+int arcompact_handle05_0c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_0c> (%08x)", op); return 4;}
+int arcompact_handle05_0d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_0d> (%08x)", op); return 4;}
+int arcompact_handle05_0e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_0e> (%08x)", op); return 4;}
+int arcompact_handle05_0f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_0f> (%08x)", op); return 4;}
+int arcompact_handle05_10_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_10> (%08x)", op); return 4;}
+int arcompact_handle05_11_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_11> (%08x)", op); return 4;}
+int arcompact_handle05_12_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_12> (%08x)", op); return 4;}
+int arcompact_handle05_13_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_13> (%08x)", op); return 4;}
+int arcompact_handle05_14_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_14> (%08x)", op); return 4;}
+int arcompact_handle05_15_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_15> (%08x)", op); return 4;}
+int arcompact_handle05_16_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_16> (%08x)", op); return 4;}
+int arcompact_handle05_17_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_17> (%08x)", op); return 4;}
+int arcompact_handle05_18_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_18> (%08x)", op); return 4;}
+int arcompact_handle05_19_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_19> (%08x)", op); return 4;}
+int arcompact_handle05_1a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1a> (%08x)", op); return 4;}
+int arcompact_handle05_1b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1b> (%08x)", op); return 4;}
+int arcompact_handle05_1c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1c> (%08x)", op); return 4;}
+int arcompact_handle05_1d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1d> (%08x)", op); return 4;}
+int arcompact_handle05_1e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1e> (%08x)", op); return 4;}
+int arcompact_handle05_1f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_1f> (%08x)", op); return 4;}
+int arcompact_handle05_20_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_20> (%08x)", op); return 4;}
+int arcompact_handle05_21_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_21> (%08x)", op); return 4;}
+int arcompact_handle05_22_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_22> (%08x)", op); return 4;}
+int arcompact_handle05_23_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_23> (%08x)", op); return 4;}
+int arcompact_handle05_24_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_24> (%08x)", op); return 4;}
+int arcompact_handle05_25_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_25> (%08x)", op); return 4;}
+int arcompact_handle05_26_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_26> (%08x)", op); return 4;}
+int arcompact_handle05_27_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_27> (%08x)", op); return 4;}
+
+int arcompact_handle05_2a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2a> (%08x)", op); return 4;}
+int arcompact_handle05_2b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2b> (%08x)", op); return 4;}
+int arcompact_handle05_2c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2c> (%08x)", op); return 4;}
+int arcompact_handle05_2d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2d> (%08x)", op); return 4;}
+int arcompact_handle05_2e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_2e> (%08x)", op); return 4;}
+
+int arcompact_handle05_30_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_30> (%08x)", op); return 4;}
+int arcompact_handle05_31_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_31> (%08x)", op); return 4;}
+int arcompact_handle05_32_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_32> (%08x)", op); return 4;}
+int arcompact_handle05_33_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_33> (%08x)", op); return 4;}
+int arcompact_handle05_34_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_34> (%08x)", op); return 4;}
+int arcompact_handle05_35_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_35> (%08x)", op); return 4;}
+int arcompact_handle05_36_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_36> (%08x)", op); return 4;}
+int arcompact_handle05_37_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_37> (%08x)", op); return 4;}
+int arcompact_handle05_38_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_38> (%08x)", op); return 4;}
+int arcompact_handle05_39_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_39> (%08x)", op); return 4;}
+int arcompact_handle05_3a_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3a> (%08x)", op); return 4;}
+int arcompact_handle05_3b_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3b> (%08x)", op); return 4;}
+int arcompact_handle05_3c_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3c> (%08x)", op); return 4;}
+int arcompact_handle05_3d_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3d> (%08x)", op); return 4;}
+int arcompact_handle05_3e_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3e> (%08x)", op); return 4;}
+int arcompact_handle05_3f_dasm(DASM_OPS_32) { util::stream_format( stream, "<illegal 0x05_3f> (%08x)", op); return 4;}
+
+int arcompact_handle0f_00_04_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_00_00> (%08x)", op); return 2;}
+int arcompact_handle0f_00_05_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_00_00> (%08x)", op); return 2;}
+int arcompact_handle0f_00_07_02_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_00_07_02> (%08x)", op); return 2;}
+int arcompact_handle0f_00_07_03_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_00_07_03> (%08x)", op); return 2;}
+int arcompact_handle0f_01_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_01> (%08x)", op); return 2;}
+int arcompact_handle0f_03_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_03> (%08x)", op); return 2;}
+int arcompact_handle0f_08_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_08> (%08x)", op); return 2;}
+int arcompact_handle0f_09_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_09> (%08x)", op); return 2;}
+int arcompact_handle0f_0a_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_0a> (%08x)", op); return 2;}
+int arcompact_handle0f_17_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x0f_17> (%08x)", op); return 2;}
+
+int arcompact_handle18_05_02_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_02> (%04x)", op); return 2;}
+int arcompact_handle18_05_03_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_03> (%04x)", op); return 2;}
+int arcompact_handle18_05_04_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_04> (%04x)", op); return 2;}
+int arcompact_handle18_05_05_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_05> (%04x)", op); return 2;}
+int arcompact_handle18_05_06_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_06> (%04x)", op); return 2;}
+int arcompact_handle18_05_07_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_05_07> (%04x)", op); return 2;}
+int arcompact_handle18_06_00_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_00> (%04x)", op); return 2;}
+int arcompact_handle18_06_02_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_02> (%04x)", op); return 2;}
+int arcompact_handle18_06_03_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_03> (%04x)", op); return 2;}
+int arcompact_handle18_06_04_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_04> (%04x)", op); return 2;}
+int arcompact_handle18_06_05_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_05> (%04x)", op); return 2;}
+int arcompact_handle18_06_06_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_06> (%04x)", op); return 2;}
+int arcompact_handle18_06_07_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_07> (%04x)", op); return 2;}
+int arcompact_handle18_06_08_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_08> (%04x)", op); return 2;}
+int arcompact_handle18_06_09_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_09> (%04x)", op); return 2;}
+int arcompact_handle18_06_0a_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0a> (%04x)", op); return 2;}
+int arcompact_handle18_06_0b_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0b> (%04x)", op); return 2;}
+int arcompact_handle18_06_0c_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0c> (%04x)", op); return 2;}
+int arcompact_handle18_06_0d_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0d> (%04x)", op); return 2;}
+int arcompact_handle18_06_0e_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0e> (%04x)", op); return 2;}
+int arcompact_handle18_06_0f_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_0f> (%04x)", op); return 2;}
+int arcompact_handle18_06_10_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_10> (%04x)", op); return 2;}
+int arcompact_handle18_06_12_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_12> (%04x)", op); return 2;}
+int arcompact_handle18_06_13_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_13> (%04x)", op); return 2;}
+int arcompact_handle18_06_14_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_14> (%04x)", op); return 2;}
+int arcompact_handle18_06_15_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_15> (%04x)", op); return 2;}
+int arcompact_handle18_06_16_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_16> (%04x)", op); return 2;}
+int arcompact_handle18_06_17_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_17> (%04x)", op); return 2;}
+int arcompact_handle18_06_18_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_18> (%04x)", op); return 2;}
+int arcompact_handle18_06_19_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_19> (%04x)", op); return 2;}
+int arcompact_handle18_06_1a_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1a> (%04x)", op); return 2;}
+int arcompact_handle18_06_1b_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1b> (%04x)", op); return 2;}
+int arcompact_handle18_06_1c_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1c> (%04x)", op); return 2;}
+int arcompact_handle18_06_1d_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1d> (%04x)", op); return 2;}
+int arcompact_handle18_06_1e_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1e> (%04x)", op); return 2;}
+int arcompact_handle18_06_1f_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_06_1f> (%04x)", op); return 2;}
+int arcompact_handle18_07_00_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_00> (%04x)", op); return 2;}
+int arcompact_handle18_07_02_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_02> (%04x)", op); return 2;}
+int arcompact_handle18_07_03_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_03> (%04x)", op); return 2;}
+int arcompact_handle18_07_04_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_04> (%04x)", op); return 2;}
+int arcompact_handle18_07_05_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_05> (%04x)", op); return 2;}
+int arcompact_handle18_07_06_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_06> (%04x)", op); return 2;}
+int arcompact_handle18_07_07_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_07> (%04x)", op); return 2;}
+int arcompact_handle18_07_08_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_08> (%04x)", op); return 2;}
+int arcompact_handle18_07_09_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_09> (%04x)", op); return 2;}
+int arcompact_handle18_07_0a_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0a> (%04x)", op); return 2;}
+int arcompact_handle18_07_0b_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0b> (%04x)", op); return 2;}
+int arcompact_handle18_07_0c_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0c> (%04x)", op); return 2;}
+int arcompact_handle18_07_0d_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0d> (%04x)", op); return 2;}
+int arcompact_handle18_07_0e_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0e> (%04x)", op); return 2;}
+int arcompact_handle18_07_0f_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_0f> (%04x)", op); return 2;}
+int arcompact_handle18_07_10_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_10> (%04x)", op); return 2;}
+int arcompact_handle18_07_12_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_12> (%04x)", op); return 2;}
+int arcompact_handle18_07_13_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_13> (%04x)", op); return 2;}
+int arcompact_handle18_07_14_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_14> (%04x)", op); return 2;}
+int arcompact_handle18_07_15_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_15> (%04x)", op); return 2;}
+int arcompact_handle18_07_16_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_16> (%04x)", op); return 2;}
+int arcompact_handle18_07_17_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_17> (%04x)", op); return 2;}
+int arcompact_handle18_07_18_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_18> (%04x)", op); return 2;}
+int arcompact_handle18_07_19_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_19> (%04x)", op); return 2;}
+int arcompact_handle18_07_1a_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1a> (%04x)", op); return 2;}
+int arcompact_handle18_07_1b_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1b> (%04x)", op); return 2;}
+int arcompact_handle18_07_1c_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1c> (%04x)", op); return 2;}
+int arcompact_handle18_07_1d_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1d> (%04x)", op); return 2;}
+int arcompact_handle18_07_1e_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1e> (%04x)", op); return 2;}
+int arcompact_handle18_07_1f_dasm(DASM_OPS_16) { util::stream_format( stream, "<illegal 0x18_07_1f> (%04x)", op); return 2;}
diff --git a/src/devices/cpu/arcompact/arcompactdasm_ops.h b/src/devices/cpu/arcompact/arcompactdasm_ops.h
index 338fc9976a0..84b79e6e1e7 100644
--- a/src/devices/cpu/arcompact/arcompactdasm_ops.h
+++ b/src/devices/cpu/arcompact/arcompactdasm_ops.h
@@ -9,9 +9,9 @@
#include "arcompact_common.h"
-#define DASM_OPS_16 char *output, offs_t pc, uint16_t op, const uint8_t* oprom
-#define DASM_OPS_32 char *output, offs_t pc, uint32_t op, const uint8_t* oprom
-#define DASM_PARAMS output, pc, op, oprom
+#define DASM_OPS_16 std::ostream &stream, offs_t pc, uint16_t op, const uint8_t* oprom
+#define DASM_OPS_32 std::ostream &stream, offs_t pc, uint32_t op, const uint8_t* oprom
+#define DASM_PARAMS stream, pc, op, oprom
#define LIMM_REG 62
diff --git a/src/tools/unidasm.cpp b/src/tools/unidasm.cpp
index f72a5734f23..d33bfa799b3 100644
--- a/src/tools/unidasm.cpp
+++ b/src/tools/unidasm.cpp
@@ -67,6 +67,7 @@ CPU_DISASSEMBLE( alpha8201 );
CPU_DISASSEMBLE( am29000 );
CPU_DISASSEMBLE( amis2000 );
CPU_DISASSEMBLE( apexc );
+CPU_DISASSEMBLE( arcompact );
CPU_DISASSEMBLE( arm );
CPU_DISASSEMBLE( arm_be );
CPU_DISASSEMBLE( arm7arm );
@@ -233,6 +234,7 @@ static const dasm_table_entry dasm_table[] =
{ "am29000", _32be, 0, CPU_DISASSEMBLE_NAME(am29000) },
{ "amis2000", _8bit, 0, CPU_DISASSEMBLE_NAME(amis2000) },
{ "apexc", _32be, 0, CPU_DISASSEMBLE_NAME(apexc) },
+ { "arcompact", _16le, 0, CPU_DISASSEMBLE_NAME(arcompact) },
{ "arm", _32le, 0, CPU_DISASSEMBLE_NAME(arm) },
{ "arm_be", _32be, 0, CPU_DISASSEMBLE_NAME(arm_be) },
{ "arm7", _32le, 0, CPU_DISASSEMBLE_NAME(arm7arm) },