Instructions

6502 CPU Divergencies

Testing, let’s see asdfasdf;

ApplePy: Does not implement decimal mode. JSnes: Seens to have some problems on brach instructions (BEQ, BNE )

Test Details

Instruction

ApplePy

Arbne

JSnes

Py3NES

Py65

Pyntendo

6502js

adc immediate with bcd

NOT

NOT

NOT

NOT

OK

OK

OK

beq

OK

OK

NOT

OK

OK

OK

OK

bne

OK

OK

NOT

OK

OK

OK

OK

brk

NOT

NOT

NOT

NOT

OK

OK

OK

irq interrupt

NOT

NOT

NOT

NOT

NOT

NOT

NOT

jsr

NOT

OK

NOT

OK

NOT

OK

NOT

jsr stack pointer

NOT

OK

NOT

OK

NOT

OK

NOT

jsr with illegal opcode

NOT

OK

OK

NOT

OK

NOT

NOT

nmi interrupt

NOT

NOT

NOT

NOT

NOT

NOT

NOT

php

OK

OK

NOT

OK

OK

OK

OK

pla

OK

OK

OK

OK

OK

OK

NOT

pla n flag set

OK

OK

OK

OK

OK

OK

NOT

pla z flag set

OK

OK

OK

OK

OK

OK

NOT

plp

NOT

NOT

NOT

NOT

NOT

NOT

NOT

rst

NOT

NOT

NOT

NOT

NOT

NOT

NOT

rti

OK

OK

NOT

OK

OK

OK

NOT

rts

OK

OK

NOT

OK

OK

OK

NOT

sbc immediate with bcd

NOT

OK

OK

OK

OK

OK

OK

tsx

OK

OK

NOT

OK

OK

OK

OK

txs

OK

OK

NOT

OK

OK

OK

OK