diff --git a/src/devices/cpu/m6809/konami.lst b/src/devices/cpu/m6809/konami.lst index ba5b791914d..260a3cbdc56 100644 --- a/src/devices/cpu/m6809/konami.lst +++ b/src/devices/cpu/m6809/konami.lst @@ -521,13 +521,13 @@ LSRDI: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - do + while (m_bcount-- & 0xf) { @eat(1); m_cc &= ~CC_C; m_cc |= (m_temp.w & 1) ? CC_C : 0; m_temp.w = set_flags(CC_NZ, m_temp.w >> 1); - } while (--m_bcount & 0xf); + } @write_operand(0, m_temp.b.h); write_operand(1, m_temp.b.l); @@ -540,11 +540,11 @@ ASLDI: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - do + while (m_bcount-- & 0xf) { @eat(1); m_temp.w = set_flags(CC_NZVC, m_temp.w, m_temp.w, m_temp.w << 1); - } while (--m_bcount & 0xf); + } @write_operand(0, m_temp.b.h); write_operand(1, m_temp.b.l); @@ -557,13 +557,13 @@ ASRDI: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - do + while (m_bcount-- & 0xf) { @eat(1); m_cc &= ~CC_C; m_cc |= (m_temp.w & 1) ? CC_C : 0; m_temp.w = set_flags(CC_NZ, ((int16_t) m_temp.w) >> 1); - } while (--m_bcount & 0xf); + } @write_operand(0, m_temp.b.h); write_operand(1, m_temp.b.l); @@ -576,11 +576,11 @@ ROLDI: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - do + while (m_bcount-- & 0xf) { @eat(1); m_temp.w = set_flags(CC_NZV, rotate_left(m_temp.w)); - } while (--m_bcount & 0xf); + } @write_operand(0, m_temp.b.h); write_operand(1, m_temp.b.l); @@ -593,11 +593,11 @@ RORDI: @m_temp.b.h = read_operand(0); @m_temp.b.l = read_operand(1); - do + while (m_bcount-- & 0xf) { @eat(1); m_temp.w = set_flags(CC_NZ, rotate_right(m_temp.w)); - } while (--m_bcount & 0xf); + } @write_operand(0, m_temp.b.h); write_operand(1, m_temp.b.l);