summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu')
-rw-r--r--src/emu/cpu/adsp2100/adsp2100.h46
-rw-r--r--src/emu/cpu/drcbex64.c2
-rw-r--r--src/emu/cpu/dsp16/dsp16.c4
-rw-r--r--src/emu/cpu/dsp16/dsp16.h2
-rw-r--r--src/emu/cpu/dsp16/dsp16dis.c56
-rw-r--r--src/emu/cpu/dsp32/dsp32.c6
-rw-r--r--src/emu/cpu/dsp32/dsp32.h6
-rw-r--r--src/emu/cpu/dsp32/dsp32ops.c2
-rw-r--r--src/emu/cpu/tms32031/32031ops.c30
-rw-r--r--src/emu/cpu/tms32031/tms32031.c22
-rw-r--r--src/emu/cpu/tms32031/tms32031.h14
11 files changed, 95 insertions, 95 deletions
diff --git a/src/emu/cpu/adsp2100/adsp2100.h b/src/emu/cpu/adsp2100/adsp2100.h
index afbf67e9623..286fecb5379 100644
--- a/src/emu/cpu/adsp2100/adsp2100.h
+++ b/src/emu/cpu/adsp2100/adsp2100.h
@@ -118,32 +118,32 @@ const int ADSP2181_IRQL2 = 8; // IRQL2
enum
{
ADSP2100_PC,
- ADSP2100_AX0,
- ADSP2100_AX1,
- ADSP2100_AY0,
- ADSP2100_AY1,
- ADSP2100_AR,
+ ADSP2100_AX0,
+ ADSP2100_AX1,
+ ADSP2100_AY0,
+ ADSP2100_AY1,
+ ADSP2100_AR,
ADSP2100_AF,
- ADSP2100_MX0,
- ADSP2100_MX1,
- ADSP2100_MY0,
- ADSP2100_MY1,
- ADSP2100_MR0,
- ADSP2100_MR1,
- ADSP2100_MR2,
+ ADSP2100_MX0,
+ ADSP2100_MX1,
+ ADSP2100_MY0,
+ ADSP2100_MY1,
+ ADSP2100_MR0,
+ ADSP2100_MR1,
+ ADSP2100_MR2,
ADSP2100_MF,
- ADSP2100_SI,
- ADSP2100_SE,
- ADSP2100_SB,
- ADSP2100_SR0,
+ ADSP2100_SI,
+ ADSP2100_SE,
+ ADSP2100_SB,
+ ADSP2100_SR0,
ADSP2100_SR1,
- ADSP2100_I0,
- ADSP2100_I1,
- ADSP2100_I2,
- ADSP2100_I3,
- ADSP2100_I4,
- ADSP2100_I5,
- ADSP2100_I6,
+ ADSP2100_I0,
+ ADSP2100_I1,
+ ADSP2100_I2,
+ ADSP2100_I3,
+ ADSP2100_I4,
+ ADSP2100_I5,
+ ADSP2100_I6,
ADSP2100_I7,
ADSP2100_L0,
ADSP2100_L1,
diff --git a/src/emu/cpu/drcbex64.c b/src/emu/cpu/drcbex64.c
index 07f697335fd..54aa38f9526 100644
--- a/src/emu/cpu/drcbex64.c
+++ b/src/emu/cpu/drcbex64.c
@@ -1288,7 +1288,7 @@ void drcbe_x64::emit_or_m32_p32(x86code *&dst, x86_memref memref, const be_param
if (inst.flags() == 0 && (UINT32)param.immediate() == 0)
;// skip
else if (inst.flags() == 0 && (UINT32)param.immediate() == 0xffffffff)
- emit_mov_m32_imm(dst, memref, 0xffffffff); // mov [dest],-1
+ emit_mov_m32_imm(dst, memref, 0xffffffff); // mov [dest],-1
else
emit_or_m32_imm(dst, memref, param.immediate()); // or [dest],param
}
diff --git a/src/emu/cpu/dsp16/dsp16.c b/src/emu/cpu/dsp16/dsp16.c
index b5d3ad3bf8c..0c253b24621 100644
--- a/src/emu/cpu/dsp16/dsp16.c
+++ b/src/emu/cpu/dsp16/dsp16.c
@@ -173,7 +173,7 @@ void dsp16_device::device_reset()
void dsp16_device::state_import(const device_state_entry &entry)
{
-
+
}
@@ -243,7 +243,7 @@ void dsp16_device::execute_run()
// instruction fetch
//UINT16 op = opcode_read();
-
+
m_icount--;
} while (m_icount > 0);
}
diff --git a/src/emu/cpu/dsp16/dsp16.h b/src/emu/cpu/dsp16/dsp16.h
index e4292d52a15..ea99c06def1 100644
--- a/src/emu/cpu/dsp16/dsp16.h
+++ b/src/emu/cpu/dsp16/dsp16.h
@@ -17,7 +17,7 @@
//**************************************************************************
//#define MCFG_DSP16_CONFIG(_config)
-// dsp16_device_config::static_set_config(device, _config);
+// dsp16_device_config::static_set_config(device, _config);
diff --git a/src/emu/cpu/dsp16/dsp16dis.c b/src/emu/cpu/dsp16/dsp16dis.c
index 86995e0a00c..1c8ab0f0c7a 100644
--- a/src/emu/cpu/dsp16/dsp16dis.c
+++ b/src/emu/cpu/dsp16/dsp16dis.c
@@ -22,7 +22,7 @@ astring disasmF1Field(const UINT8& F1, const UINT8& D, const UINT8& S)
case 0x0d: ret.printf("a%d = a%d + y", D, S); break;
case 0x0e: ret.printf("a%d = a%d & y", D, S); break;
case 0x0f: ret.printf("a%d = a%d - y", D, S); break;
-
+
default: return "UNKNOWN";
}
return ret;
@@ -41,18 +41,18 @@ astring disasmYField(const UINT8& Y)
case 0x05: return "*r1++";
case 0x06: return "*r1--";
case 0x07: return "*r1++j";
-
+
case 0x08: return "*r2";
case 0x09: return "*r2++";
case 0x0a: return "*r2--";
case 0x0b: return "*r2++j";
-
+
case 0x0c: return "*r3";
case 0x0d: return "*r3++";
case 0x0e: return "*r3--";
case 0x0f: return "*r3++j";
- default: return "UNKNOWN";
+ default: return "UNKNOWN";
}
return "";
}
@@ -81,7 +81,7 @@ astring disasmZField(const UINT8& Z)
case 0x0e: return "*r3m2";
case 0x0f: return "*r3jk";
- default: return "UNKNOWN";
+ default: return "UNKNOWN";
}
return "";
}
@@ -136,7 +136,7 @@ astring disasmCONField(const UINT8& CON)
case 0x0f: return "false";
case 0x10: return "gt";
case 0x11: return "le";
-
+
default: return "RESERVED";
}
return "";
@@ -154,7 +154,7 @@ astring disasmBField(const UINT8& B)
case 0x05:
case 0x06:
case 0x07: return "RESERVED";
-
+
default: return "UNKNOWN";
}
return "";
@@ -172,7 +172,7 @@ astring disasmRImmediateField(const UINT8& R)
case 0x05: return "r1";
case 0x06: return "r2";
case 0x07: return "r3";
-
+
default: return "UNKNOWN";
}
return "";
@@ -224,7 +224,7 @@ astring disasmIField(const UINT8& I)
case 0x01: return "r1/k";
case 0x02: return "r2/rb";
case 0x03: return "r3/re";
-
+
default: return "UNKNOWN";
}
return "";
@@ -248,9 +248,9 @@ CPU_DISASSEMBLE( dsp16a )
UINT32 dasmflags = 0;
UINT16 op = oprom[0] | (oprom[1] << 8);
UINT16 op2 = oprom[2] | (oprom[3] << 8);
-
+
// TODO: Test for previous "if CON" instruction and tab the next instruction in?
-
+
const UINT8 opcode = (op >> 11) & 0x1f;
switch(opcode)
{
@@ -267,7 +267,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s, %s", fString.cstr(), yString.cstr());
break;
}
- case 0x04: case 0x1c:
+ case 0x04: case 0x1c:
{
// F1 Y=a0[1] | F1 Y=a1[1]
const UINT8 Y = (op & 0x000f);
@@ -334,7 +334,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s, y = %s, x = %s", fString.cstr(), aString.cstr(), xString.cstr());
if (Y != 0x00) sprintf(buffer, "UNKNOWN");
break;
- }
+ }
case 0x14:
{
// F1, Y = y[1]
@@ -411,9 +411,9 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s, %s <=> %s", fString.cstr(), zString.cstr(), atString.cstr());
break;
}
-
+
// Format 3: Special Functions
- case 0x12:
+ case 0x12:
case 0x13:
{
// if|ifc CON F2
@@ -427,7 +427,7 @@ CPU_DISASSEMBLE( dsp16a )
else sprintf(buffer, "ifc %s : %s", conString.cstr(), fString.cstr());
break;
}
-
+
// Format 4: Branch Direct Group
case 0x00: case 0x01:
case 0x10: case 0x11:
@@ -438,7 +438,7 @@ CPU_DISASSEMBLE( dsp16a )
else sprintf(buffer, "goto 0x%04x", JA);
break;
}
-
+
// Format 5: Branch Indirect Group
case 0x18:
{
@@ -448,7 +448,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s", bString.cstr());
break;
}
-
+
// Format 6: Contitional Branch Qualifier/Software Interrupt (icall)
case 0x1a:
{
@@ -461,7 +461,7 @@ CPU_DISASSEMBLE( dsp16a )
if (op == 0xd40e) sprintf(buffer, "icall");
break;
}
-
+
// Format 7: Data Move Group
case 0x09: case 0x0b:
{
@@ -472,7 +472,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s = %s", rString.cstr(), (S ? "a1" : "a0"));
break;
}
- case 0x08:
+ case 0x08:
{
// aT = R
const UINT8 R = (op & 0x03f0) >> 4;
@@ -492,7 +492,7 @@ CPU_DISASSEMBLE( dsp16a )
// TODO: Special case the R == [y, y1, or x] case
break;
}
- case 0x0c:
+ case 0x0c:
{
// Y = R
const UINT8 Y = (op & 0x000f);
@@ -502,7 +502,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s = %s", yString.cstr(), rString.cstr());
break;
}
- case 0x0d:
+ case 0x0d:
{
// Z : R
const UINT8 Z = (op & 0x000f);
@@ -512,7 +512,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s <=> %s", zString.cstr(), rString.cstr());
break;
}
-
+
// Format 8: Data Move (immediate operand - 2 words)
case 0x0a:
{
@@ -523,7 +523,7 @@ CPU_DISASSEMBLE( dsp16a )
opSize = 2;
break;
}
-
+
// Format 9: Short Immediate Group
case 0x02: case 0x03:
{
@@ -534,7 +534,7 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "%s = 0x%02x", rString.cstr(), M);
break;
}
-
+
// Format 10: do - redo
case 0x0e:
{
@@ -547,14 +547,14 @@ CPU_DISASSEMBLE( dsp16a )
sprintf(buffer, "redo %d\n", K);
break;
}
-
+
// RESERVED
case 0x1e:
{
sprintf(buffer, "RESERVED");
break;
}
-
+
// UNKNOWN
default:
{
@@ -562,6 +562,6 @@ CPU_DISASSEMBLE( dsp16a )
break;
}
}
-
+
return opSize | dasmflags | DASMFLAG_SUPPORTED;
}
diff --git a/src/emu/cpu/dsp32/dsp32.c b/src/emu/cpu/dsp32/dsp32.c
index df0984002d5..ed5e8595153 100644
--- a/src/emu/cpu/dsp32/dsp32.c
+++ b/src/emu/cpu/dsp32/dsp32.c
@@ -458,7 +458,7 @@ void dsp32c_device::state_import(const device_state_entry &entry)
{
case STATE_GENFLAGS:
break;
-
+
case DSP32_PCR:
update_pcr(m_iotemp);
break;
@@ -480,7 +480,7 @@ void dsp32c_device::state_export(const device_state_entry &entry)
{
case STATE_GENFLAGS:
// no actual flags register, so just make something up
- m_iotemp = ((zFLAG != 0) << 0) |
+ m_iotemp = ((zFLAG != 0) << 0) |
((nFLAG != 0) << 1) |
((cFLAG != 0) << 2) |
((vFLAG != 0) << 3) |
@@ -489,7 +489,7 @@ void dsp32c_device::state_export(const device_state_entry &entry)
((UFLAG != 0) << 6) |
((VFLAG != 0) << 7);
break;
-
+
case DSP32_PCR:
m_iotemp = m_pcr;
break;
diff --git a/src/emu/cpu/dsp32/dsp32.h b/src/emu/cpu/dsp32/dsp32.h
index 67dca61d3d1..97e7fd5b64e 100644
--- a/src/emu/cpu/dsp32/dsp32.h
+++ b/src/emu/cpu/dsp32/dsp32.h
@@ -146,7 +146,7 @@ struct dsp32_config
// ======================> dsp32c_device_config
-class dsp32c_device_config : public cpu_device_config,
+class dsp32c_device_config : public cpu_device_config,
public dsp32_config
{
friend class dsp32c_device;
@@ -449,7 +449,7 @@ protected:
void d5_ieee(UINT32 op);
void d5_dsp(UINT32 op);
void d5_seed(UINT32 op);
-
+
// dma helpers
void dma_increment();
void dma_load();
@@ -495,7 +495,7 @@ protected:
UINT32 m_isr;
UINT32 m_obuf;
UINT32 m_osr;
-
+
UINT32 m_iotemp;
// internal stuff
diff --git a/src/emu/cpu/dsp32/dsp32ops.c b/src/emu/cpu/dsp32/dsp32ops.c
index 439e1aea107..bf1fcf5213b 100644
--- a/src/emu/cpu/dsp32/dsp32ops.c
+++ b/src/emu/cpu/dsp32/dsp32ops.c
@@ -90,7 +90,7 @@
#if EMULATE_MEMORY_LATENCY
#define WWORD_DEFERRED(a,v) do { int bufidx = m_mbuf_index & 3; m_mbufaddr[bufidx] = -(a); m_mbufdata[bufidx] = (v); } while (0)
#define WLONG_DEFERRED(a,v) do { int bufidx = m_mbuf_index & 3; m_mbufaddr[bufidx] = (a); m_mbufdata[bufidx] = (v); } while (0)
-#define PROCESS_DEFERRED_MEMORY() \
+#define PROCESS_DEFERRED_MEMORY() \
if (m_mbufaddr[++m_mbuf_index & 3] != 1) \
{ \
int bufidx = m_mbuf_index & 3; \
diff --git a/src/emu/cpu/tms32031/32031ops.c b/src/emu/cpu/tms32031/32031ops.c
index 9616c675705..9fae72f13cd 100644
--- a/src/emu/cpu/tms32031/32031ops.c
+++ b/src/emu/cpu/tms32031/32031ops.c
@@ -1,9 +1,9 @@
/***************************************************************************
32031ops.c
-
+
TMS32031/2 emulator
-
+
****************************************************************************
Copyright Aaron Giles
@@ -84,8 +84,8 @@
#define OR_V_ADD(a,b,r) do { UINT32 temp = ((~((a) ^ (b)) & ((a) ^ (r))) >> 30) & VFLAG; IREG(TMR_ST) |= temp | (temp << 4); } while (0)
#define OR_C_SUB(a,b,r) do { IREG(TMR_ST) |= ((UINT32)(b) > (UINT32)(a)); } while (0)
#define OR_C_ADD(a,b,r) do { IREG(TMR_ST) |= ((UINT32)(~(a)) < (UINT32)(b)); } while (0)
-#define OR_NZCV_SUB(a,b,r) do { OR_V_SUB(a,b,r); OR_C_SUB(a,b,r); OR_NZ(r); } while (0)
-#define OR_NZCV_ADD(a,b,r) do { OR_V_ADD(a,b,r); OR_C_ADD(a,b,r); OR_NZ(r); } while (0)
+#define OR_NZCV_SUB(a,b,r) do { OR_V_SUB(a,b,r); OR_C_SUB(a,b,r); OR_NZ(r); } while (0)
+#define OR_NZCV_ADD(a,b,r) do { OR_V_ADD(a,b,r); OR_C_ADD(a,b,r); OR_NZ(r); } while (0)
#define OVM() (IREG(TMR_ST) & OVMFLAG)
@@ -6346,26 +6346,26 @@ void tms3203x_device::xor3sti(UINT32 op)
UINT32 (tms3203x_device::*const tms3203x_device::s_indirect_d[0x20])(UINT32, UINT8) =
{
- &tms3203x_device::mod00_d, &tms3203x_device::mod01_d, &tms3203x_device::mod02_d, &tms3203x_device::mod03_d,
+ &tms3203x_device::mod00_d, &tms3203x_device::mod01_d, &tms3203x_device::mod02_d, &tms3203x_device::mod03_d,
&tms3203x_device::mod04_d, &tms3203x_device::mod05_d, &tms3203x_device::mod06_d, &tms3203x_device::mod07_d,
- &tms3203x_device::mod08, &tms3203x_device::mod09, &tms3203x_device::mod0a, &tms3203x_device::mod0b,
+ &tms3203x_device::mod08, &tms3203x_device::mod09, &tms3203x_device::mod0a, &tms3203x_device::mod0b,
&tms3203x_device::mod0c, &tms3203x_device::mod0d, &tms3203x_device::mod0e, &tms3203x_device::mod0f,
- &tms3203x_device::mod10, &tms3203x_device::mod11, &tms3203x_device::mod12, &tms3203x_device::mod13,
+ &tms3203x_device::mod10, &tms3203x_device::mod11, &tms3203x_device::mod12, &tms3203x_device::mod13,
&tms3203x_device::mod14, &tms3203x_device::mod15, &tms3203x_device::mod16, &tms3203x_device::mod17,
- &tms3203x_device::mod18, &tms3203x_device::mod19, &tms3203x_device::modillegal, &tms3203x_device::modillegal,
+ &tms3203x_device::mod18, &tms3203x_device::mod19, &tms3203x_device::modillegal, &tms3203x_device::modillegal,
&tms3203x_device::modillegal, &tms3203x_device::modillegal, &tms3203x_device::modillegal, &tms3203x_device::modillegal
};
UINT32 (tms3203x_device::*const tms3203x_device::s_indirect_1[0x20])(UINT32, UINT8) =
{
- &tms3203x_device::mod00_1, &tms3203x_device::mod01_1, &tms3203x_device::mod02_1, &tms3203x_device::mod03_1,
+ &tms3203x_device::mod00_1, &tms3203x_device::mod01_1, &tms3203x_device::mod02_1, &tms3203x_device::mod03_1,
&tms3203x_device::mod04_1, &tms3203x_device::mod05_1, &tms3203x_device::mod06_1, &tms3203x_device::mod07_1,
- &tms3203x_device::mod08, &tms3203x_device::mod09, &tms3203x_device::mod0a, &tms3203x_device::mod0b,
+ &tms3203x_device::mod08, &tms3203x_device::mod09, &tms3203x_device::mod0a, &tms3203x_device::mod0b,
&tms3203x_device::mod0c, &tms3203x_device::mod0d, &tms3203x_device::mod0e, &tms3203x_device::mod0f,
- &tms3203x_device::mod10, &tms3203x_device::mod11, &tms3203x_device::mod12, &tms3203x_device::mod13,
+ &tms3203x_device::mod10, &tms3203x_device::mod11, &tms3203x_device::mod12, &tms3203x_device::mod13,
&tms3203x_device::mod14, &tms3203x_device::mod15, &tms3203x_device::mod16, &tms3203x_device::mod17,
- &tms3203x_device::mod18, &tms3203x_device::mod19, &tms3203x_device::modillegal, &tms3203x_device::modillegal,
+ &tms3203x_device::mod18, &tms3203x_device::mod19, &tms3203x_device::modillegal, &tms3203x_device::modillegal,
&tms3203x_device::modillegal, &tms3203x_device::modillegal, &tms3203x_device::modillegal, &tms3203x_device::modillegal
};
@@ -6374,11 +6374,11 @@ UINT32 (tms3203x_device::*const tms3203x_device::s_indirect_1_def[0x20])(UINT32,
{
&tms3203x_device::mod00_1_def, &tms3203x_device::mod01_1_def, &tms3203x_device::mod02_1_def, &tms3203x_device::mod03_1_def,
&tms3203x_device::mod04_1_def, &tms3203x_device::mod05_1_def, &tms3203x_device::mod06_1_def, &tms3203x_device::mod07_1_def,
- &tms3203x_device::mod08_def, &tms3203x_device::mod09_def, &tms3203x_device::mod0a_def, &tms3203x_device::mod0b_def,
+ &tms3203x_device::mod08_def, &tms3203x_device::mod09_def, &tms3203x_device::mod0a_def, &tms3203x_device::mod0b_def,
&tms3203x_device::mod0c_def, &tms3203x_device::mod0d_def, &tms3203x_device::mod0e_def, &tms3203x_device::mod0f_def,
- &tms3203x_device::mod10_def, &tms3203x_device::mod11_def, &tms3203x_device::mod12_def, &tms3203x_device::mod13_def,
+ &tms3203x_device::mod10_def, &tms3203x_device::mod11_def, &tms3203x_device::mod12_def, &tms3203x_device::mod13_def,
&tms3203x_device::mod14_def, &tms3203x_device::mod15_def, &tms3203x_device::mod16_def, &tms3203x_device::mod17_def,
- &tms3203x_device::mod18_def, &tms3203x_device::mod19_def, &tms3203x_device::modillegal_def,&tms3203x_device::modillegal_def,
+ &tms3203x_device::mod18_def, &tms3203x_device::mod19_def, &tms3203x_device::modillegal_def,&tms3203x_device::modillegal_def,
&tms3203x_device::modillegal_def,&tms3203x_device::modillegal_def,&tms3203x_device::modillegal_def,&tms3203x_device::modillegal_def
};
diff --git a/src/emu/cpu/tms32031/tms32031.c b/src/emu/cpu/tms32031/tms32031.c
index 21504cdd37f..618d978f675 100644
--- a/src/emu/cpu/tms32031/tms32031.c
+++ b/src/emu/cpu/tms32031/tms32031.c
@@ -1,9 +1,9 @@
/***************************************************************************
tms32031.c
-
+
TMS32031/2 emulator
-
+
****************************************************************************
Copyright Aaron Giles
@@ -291,7 +291,7 @@ float tms3203x_device::tmsreg::as_float() const
int exp = (exponent() + 127) << 23;
id.i[0] = exp + (mantissa() >> 8);
}
-
+
// handle negative numbers
else
{
@@ -299,7 +299,7 @@ float tms3203x_device::tmsreg::as_float() const
INT32 man = -mantissa();
id.i[0] = 0x80000000 + exp + ((man >> 8) & 0x00ffffff);
}
-
+
// return the converted float
return id.f[0];
}
@@ -326,7 +326,7 @@ double tms3203x_device::tmsreg::as_double() const
id.i[BYTE_XOR_BE(0)] = exp + (mantissa() >> 11);
id.i[BYTE_XOR_BE(1)] = (mantissa() << 21) & 0xffe00000;
}
-
+
// handle negative numbers
else
{
@@ -335,7 +335,7 @@ double tms3203x_device::tmsreg::as_double() const
id.i[BYTE_XOR_BE(0)] = 0x80000000 + exp + ((man >> 11) & 0x001fffff);
id.i[BYTE_XOR_BE(1)] = (man << 21) & 0xffe00000;
}
-
+
// return the converted double
return id.d;
}
@@ -360,7 +360,7 @@ void tms3203x_device::tmsreg::from_double(double val)
set_mantissa(0);
set_exponent(-128);
}
-
+
// if we're too large, map to the maximum value
else if (exponent > 127)
{
@@ -370,21 +370,21 @@ void tms3203x_device::tmsreg::from_double(double val)
set_mantissa(0x80000001);
set_exponent(127);
}
-
+
// if we're positive, map directly
else if ((INT32)id.i[BYTE_XOR_BE(0)] >= 0)
{
set_mantissa(mantissa);
set_exponent(exponent);
}
-
+
// if we're negative with a non-zero mantissa, remove the leading sign bit
else if (mantissa != 0)
{
set_mantissa(0x80000000 | -mantissa);
set_exponent(exponent);
}
-
+
// if we're negative with a zero mantissa, normalize
else
{
@@ -846,7 +846,7 @@ void tms3203x_device::execute_run()
execute_one();
}
}
-
+
// debugging case
else
{
diff --git a/src/emu/cpu/tms32031/tms32031.h b/src/emu/cpu/tms32031/tms32031.h
index 397e331d9de..2a5910932f6 100644
--- a/src/emu/cpu/tms32031/tms32031.h
+++ b/src/emu/cpu/tms32031/tms32031.h
@@ -1,9 +1,9 @@
/***************************************************************************
tms32031.h
-
+
TMS32031/2 emulator
-
+
****************************************************************************
Copyright Aaron Giles
@@ -211,21 +211,21 @@ class tms3203x_device : public cpu_device
tmsreg() { i32[0] = i32[1] = 0; }
tmsreg(double value) { from_double(value); }
tmsreg(INT32 mantissa, INT8 exponent) { set_mantissa(mantissa); set_exponent(exponent); }
-
+
// getters
UINT32 integer() const { return i32[0]; }
INT32 mantissa() const { return i32[0]; }
INT8 exponent() const { return i32[1]; }
void set_mantissa(INT32 man) { i32[0] = man; }
void set_exponent(INT8 exp) { i32[1] = exp; }
-
+
// exporters
float as_float() const;
double as_double() const;
-
+
// importers
void from_double(double);
-
+
UINT32 i32[2];
};
@@ -850,7 +850,7 @@ protected:
static UINT32 (tms3203x_device::*const s_indirect_1_def[0x20])(UINT32, UINT8, UINT32 *&);
#if (TMS_3203X_LOG_OPCODE_USAGE)
- UINT32 m_hits[0x200*4];
+ UINT32 m_hits[0x200*4];
#endif
};