From 6f197ee2333e7c301cd23d818de1640148bfe1c9 Mon Sep 17 00:00:00 2001 From: nick-less Date: Sun, 16 Dec 2018 19:20:57 +0100 Subject: [PATCH] test if adc immidiate is working correct --- src/opcodes/OpCode_ADC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opcodes/OpCode_ADC.cpp b/src/opcodes/OpCode_ADC.cpp index 0bb8767..b2aedba 100644 --- a/src/opcodes/OpCode_ADC.cpp +++ b/src/opcodes/OpCode_ADC.cpp @@ -141,7 +141,7 @@ void Cpu65816::executeADC(OpCode &opCode) { if (accumulatorIs16BitWide()) { addToProgramAddress(1); } - addToProgramAddress(2); + addToProgramAddress(3); addToCycles(2); break; }