mcs48: execute_jcc param is a bool, not u8

This commit is contained in:
hap 2020-10-11 20:05:10 +02:00
parent b9d5a7fb43
commit cc5a693713
2 changed files with 3 additions and 3 deletions

View File

@ -518,7 +518,7 @@ void mcs48_cpu_device::execute_call(uint16_t address)
conditional jump instruction
-------------------------------------------------*/
void mcs48_cpu_device::execute_jcc(uint8_t result)
void mcs48_cpu_device::execute_jcc(bool result)
{
uint16_t pch = m_pc & 0xf00;
uint8_t offset = argument_fetch();
@ -1247,7 +1247,7 @@ void mcs48_cpu_device::check_irqs()
if (m_irq_polled)
{
m_pc = ((m_prevpc + 1) & 0x7ff) | (m_prevpc & 0x800);
execute_jcc(1);
execute_jcc(true);
}
/* transfer to location 0x03 */

View File

@ -258,7 +258,7 @@ protected:
void execute_addc(uint8_t dat);
void execute_jmp(uint16_t address);
void execute_call(uint16_t address);
void execute_jcc(uint8_t result);
void execute_jcc(bool result);
uint8_t p2_mask();
void expander_operation(expander_op operation, uint8_t port);
void check_irqs();