summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms32051
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms32051')
-rw-r--r--src/devices/cpu/tms32051/32051ops.inc4
-rw-r--r--src/devices/cpu/tms32051/tms32051.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/tms32051/32051ops.inc b/src/devices/cpu/tms32051/32051ops.inc
index fb78b3a5f18..27827d8cc70 100644
--- a/src/devices/cpu/tms32051/32051ops.inc
+++ b/src/devices/cpu/tms32051/32051ops.inc
@@ -388,7 +388,7 @@ void tms32051_device::op_and_mem()
{
UINT16 ea = GET_ADDRESS();
UINT16 data = DM_READ16(ea);
-
+
m_acc &= (UINT32)(data);
CYCLES(1);
@@ -1359,7 +1359,7 @@ void tms32051_device::op_out()
{
UINT16 port = ROPCODE();
UINT16 ea = GET_ADDRESS();
-
+
UINT16 data = DM_READ16(ea);
m_io->write_word(port << 1, data);
diff --git a/src/devices/cpu/tms32051/tms32051.cpp b/src/devices/cpu/tms32051/tms32051.cpp
index d4b565675fc..983678bbf82 100644
--- a/src/devices/cpu/tms32051/tms32051.cpp
+++ b/src/devices/cpu/tms32051/tms32051.cpp
@@ -387,7 +387,7 @@ void tms32051_device::execute_run()
{
CHANGE_PC(m_pasr);
}
-
+
m_brcr--;
if (m_brcr <= 0)
{
@@ -492,10 +492,10 @@ READ16_MEMBER( tms32051_device::cpuregs_r )
case 0x28: // PDWSR
return 0;
- case 0x37: // ABU BKR
+ case 0x37: // ABU BKR
return 0;
- case 0x50: // Memory-mapped I/O ports
+ case 0x50: // Memory-mapped I/O ports
case 0x51:
case 0x52:
case 0x53:
@@ -606,7 +606,7 @@ WRITE16_MEMBER( tms32051_device::cpuregs_w )
case 0x2a: // CWSR
break;
- case 0x50: // Memory-mapped I/O ports
+ case 0x50: // Memory-mapped I/O ports
case 0x51:
case 0x52:
case 0x53:
@@ -684,4 +684,4 @@ void tms32053_device::device_config_complete()
{
m_program_config = address_space_config("program", ENDIANNESS_LITTLE, 16, 16, -1, ADDRESS_MAP_NAME(tms32053_internal_pgm));
m_data_config = address_space_config("data", ENDIANNESS_LITTLE, 16, 16, -1, ADDRESS_MAP_NAME(tms32053_internal_data));
-} \ No newline at end of file
+}