summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/arc/arc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/arc/arc.cpp')
-rw-r--r--src/devices/cpu/arc/arc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/arc/arc.cpp b/src/devices/cpu/arc/arc.cpp
index b0672f03bfe..03fddcb14e5 100644
--- a/src/devices/cpu/arc/arc.cpp
+++ b/src/devices/cpu/arc/arc.cpp
@@ -17,7 +17,7 @@
const device_type ARC = &device_creator<arc_device>;
-arc_device::arc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+arc_device::arc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: cpu_device(mconfig, ARC, "ARCtangent A4", tag, owner, clock, "arc", __FILE__)
, m_program_config("program", ENDIANNESS_BIG, 32, 24, 0), m_pc(0), m_program(nullptr), m_icount(0), m_debugger_temp(0)
// some docs describe these as 'middle endian'?!
@@ -25,7 +25,7 @@ arc_device::arc_device(const machine_config &mconfig, const char *tag, device_t
}
-offs_t arc_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+offs_t arc_device::disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options)
{
extern CPU_DISASSEMBLE( arc );
return CPU_DISASSEMBLE_NAME(arc)(this, buffer, pc, oprom, opram, options);
@@ -36,19 +36,19 @@ offs_t arc_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *opro
/*****************************************************************************/
-void arc_device::unimplemented_opcode(UINT16 op)
+void arc_device::unimplemented_opcode(uint16_t op)
{
fatalerror("arc: unknown opcode %04x at %04x\n", op, m_pc << 2);
}
/*****************************************************************************/
-UINT32 arc_device::READ32(UINT32 address)
+uint32_t arc_device::READ32(uint32_t address)
{
return m_program->read_dword(address << 2);
}
-void arc_device::WRITE32(UINT32 address, UINT32 data)
+void arc_device::WRITE32(uint32_t address, uint32_t data)
{
m_program->write_dword(address << 2, data);
}
@@ -109,14 +109,14 @@ void arc_device::execute_set_input(int irqline, int state)
void arc_device::execute_run()
{
- //UINT32 lres;
+ //uint32_t lres;
//lres = 0;
while (m_icount > 0)
{
debugger_instruction_hook(this, m_pc<<2);
- //UINT32 op = READ32(m_pc);
+ //uint32_t op = READ32(m_pc);
m_pc++;