diff --git a/src/devices/cpu/patinhofeio/patinho_feio.cpp b/src/devices/cpu/patinhofeio/patinho_feio.cpp index 18a25dc28b7..14aaa0207f9 100644 --- a/src/devices/cpu/patinhofeio/patinho_feio.cpp +++ b/src/devices/cpu/patinhofeio/patinho_feio.cpp @@ -322,7 +322,7 @@ void patinho_feio_cpu_device::execute_instruction() case 0x90: //ST 0 = "Se T=0, Pula" // If T is zero, skip the next instruction - if ((FLAGS & T) == 0) + if ((FLAGS & T) == 0) INCREMENT_PC_4K; //skip return; case 0x91: @@ -337,7 +337,7 @@ void patinho_feio_cpu_device::execute_instruction() case 0x92: //ST 1 = "Se T=1, Pula" // If T is one, skip the next instruction - if ((FLAGS & T) == T) + if ((FLAGS & T) == T) INCREMENT_PC_4K; //skip return; case 0x93: @@ -352,7 +352,7 @@ void patinho_feio_cpu_device::execute_instruction() case 0x94: //SV 0 = "Se V=0, Pula" // If V is zero, skip the next instruction - if ((FLAGS & V) == 0) + if ((FLAGS & V) == 0) INCREMENT_PC_4K; //skip return; case 0x95: @@ -367,7 +367,7 @@ void patinho_feio_cpu_device::execute_instruction() case 0x96: //SV 1 = "Se V=1, Pula" // If V is one, skip the next instruction - if ((FLAGS & V) == 1) + if ((FLAGS & V) == 1) INCREMENT_PC_4K; //skip return; case 0x97: @@ -382,15 +382,15 @@ void patinho_feio_cpu_device::execute_instruction() case 0x98: //PUL="Pula para /002 a limpa estado de interrupcao" // Jump to address /002 and disables interrupts - PC = 0x002; + PC = 0x002; m_interrupts_enabled = false; return; case 0x99: //TRE="Troca conteudos de ACC e EXT" // Exchange the value of the accumulator with the ACC extension register - value = ACC; - ACC = READ_ACC_EXTENSION_REG(); - WRITE_ACC_EXTENSION_REG(value); + value = ACC; + ACC = READ_ACC_EXTENSION_REG(); + WRITE_ACC_EXTENSION_REG(value); return; case 0x9A: //INIB="Inibe" @@ -694,7 +694,7 @@ void patinho_feio_cpu_device::execute_instruction() case 0x20: //SAL="Salta" // Skips a couple bytes if a condition is met - skip = false; + skip = false; switch(function) { case 1: