summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/arc
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cpu/arc')
-rw-r--r--src/emu/cpu/arc/arc.c2
-rw-r--r--src/emu/cpu/arc/arc.h2
-rw-r--r--src/emu/cpu/arc/arcdasm.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/cpu/arc/arc.c b/src/emu/cpu/arc/arc.c
index a0c142373df..4bc688ce92d 100644
--- a/src/emu/cpu/arc/arc.c
+++ b/src/emu/cpu/arc/arc.c
@@ -40,7 +40,7 @@ void arc_device::unimplemented_opcode(UINT16 op)
/*****************************************************************************/
-UINT16 arc_device::READ32(UINT32 address)
+UINT32 arc_device::READ32(UINT32 address)
{
return m_program->read_dword(address << 2);
}
diff --git a/src/emu/cpu/arc/arc.h b/src/emu/cpu/arc/arc.h
index 20b1a3e0910..d4783531ff3 100644
--- a/src/emu/cpu/arc/arc.h
+++ b/src/emu/cpu/arc/arc.h
@@ -62,7 +62,7 @@ private:
UINT32 m_debugger_temp;
void unimplemented_opcode(UINT16 op);
- inline UINT16 READ32(UINT32 address);
+ inline UINT32 READ32(UINT32 address);
inline void WRITE32(UINT32 address, UINT32 data);
};
diff --git a/src/emu/cpu/arc/arcdasm.c b/src/emu/cpu/arc/arcdasm.c
index b3b0c2820db..b1fa5d442b1 100644
--- a/src/emu/cpu/arc/arcdasm.c
+++ b/src/emu/cpu/arc/arcdasm.c
@@ -175,13 +175,13 @@ static const char *regnames[0x40] =
/* 0x3f */ "sImm NF",
};
-#define ARC_CONDITION ((op & 0x0000001f) >> 0 )
+#define ARC_CONDITION ((op & 0x0000001f) >> 0 ) // aka Q
// used in jumps
#define ARC_BRANCH_DELAY ((op & 0x00000060) >> 5 ) // aka N
#define ARC_BRANCH_ADDR ((op & 0x07ffff80) >> 7 ) // aka L
-#define ARC_OPERATION ((op & 0xf8000000) >> 27) // aka Q
+#define ARC_OPERATION ((op & 0xf8000000) >> 27)
#define ARC_REGOP_DEST ((op & 0x07e00000) >> 21 ) // aka A
#define ARC_REGOP_OP1 ((op & 0x001f8000) >> 15 ) // aka B