void tms32010_device::bz() { if (m_ACC.d == 0) { m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; }
void tms32010_device::blz() { if ( (INT32)(m_ACC.d) < 0 ) { m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; }
void tms32010_device::blez() { if ( (int32_t)(m_ACC.d) <= 0 ) { m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; }
void tms32010_device::bioz() { if (m_bio_in() != CLEAR_LINE) { m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; }
static void bz(tms32010_state *cpustate) { if (cpustate->ACC.d == 0) { cpustate->PC = M_RDOP_ARG(cpustate->PC); cpustate->icount -= add_branch_cycle(cpustate); } else cpustate->PC++ ; }
static void bioz(tms32010_state *cpustate) { if (BIO_IN != CLEAR_LINE) { cpustate->PC = M_RDOP_ARG(cpustate->PC); cpustate->icount -= add_branch_cycle(cpustate); } else cpustate->PC++ ; }
void tms32010_device::bv() { if (OV) { CLR(OV_FLAG); m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; }
static void bv(tms32010_state *cpustate) { if (OV) { CLR(cpustate, OV_FLAG); cpustate->PC = M_RDOP_ARG(cpustate->PC); cpustate->icount -= add_branch_cycle(cpustate); } else cpustate->PC++ ; }
void tms32010_device::banz() { if (m_AR[ARP] & 0x01ff) { m_PC = M_RDOP_ARG(m_PC); m_icount -= add_branch_cycle(); } else m_PC++ ; m_ALU.w.l = m_AR[ARP]; m_ALU.w.l-- ; m_AR[ARP] = (m_AR[ARP] & 0xfe00) | (m_ALU.w.l & 0x01ff); }
static void banz(tms32010_state *cpustate) { if (cpustate->AR[ARP] & 0x01ff) { cpustate->PC = M_RDOP_ARG(cpustate->PC); cpustate->icount -= add_branch_cycle(cpustate); } else cpustate->PC++ ; cpustate->ALU.w.l = cpustate->AR[ARP]; cpustate->ALU.w.l-- ; cpustate->AR[ARP] = (cpustate->AR[ARP] & 0xfe00) | (cpustate->ALU.w.l & 0x01ff); }