summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/om6509.lst
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/om6509.lst')
-rw-r--r--src/devices/cpu/m6502/om6509.lst28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/cpu/m6502/om6509.lst b/src/devices/cpu/m6502/om6509.lst
index b2f116716e8..ad2c2a0fc3c 100644
--- a/src/devices/cpu/m6502/om6509.lst
+++ b/src/devices/cpu/m6502/om6509.lst
@@ -3,22 +3,22 @@
# 6509 opcodes
lda_9_idy
- TMP2 = read_pc();
- PC++;
- TMP = read(TMP2);
- TMP = set_h(TMP, read((TMP2+1) & 0xff));
- if(page_changing(TMP, Y)) {
- read_9(set_l(TMP, TMP+Y));
+ m_TMP2 = read_pc();
+ m_PC++;
+ m_TMP = read(m_TMP2);
+ m_TMP = set_h(m_TMP, read((m_TMP2+1) & 0xff));
+ if(page_changing(m_TMP, m_Y)) {
+ read_9(set_l(m_TMP, m_TMP+m_Y));
}
- A = read_9(TMP+Y);
- set_nz(A);
+ m_A = read_9(m_TMP+m_Y);
+ set_nz(m_A);
prefetch();
sta_9_idy
- TMP2 = read_pc();
- PC++;
- TMP = read(TMP2);
- TMP = set_h(TMP, read((TMP2+1) & 0xff));
- read_9(set_l(TMP, TMP+Y));
- write_9(TMP+Y, A);
+ m_TMP2 = read_pc();
+ m_PC++;
+ m_TMP = read(m_TMP2);
+ m_TMP = set_h(m_TMP, read((m_TMP2+1) & 0xff));
+ read_9(set_l(m_TMP, m_TMP+m_Y));
+ write_9(m_TMP+m_Y, m_A);
prefetch();