1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Merge pull request #414 from IrgendwerA8/SED_Fix

Fixed sim65 SED
This commit is contained in:
Oliver Schmidt 2017-03-30 12:26:37 +02:00 committed by GitHub
commit cbb2833c01

View File

@ -39,6 +39,8 @@
6502)
* one cycle win for fetch-modify-write instructions ignored
(e.g. ROL abs,x takes only 6 cycles if no page break occurs)
* BRK, IRQ, NMI and RESET are not different from 6502 which they are in
reality (e.g. D-flag handling)
*/
#include "memory.h"
@ -2581,7 +2583,9 @@ static void OPC_6502_F6 (void)
static void OPC_6502_F8 (void)
/* Opcode $F8: SED */
{
Cycles = 2;
SET_DF (1);
Regs.PC += 1;
}