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

Arbne

ApplePy

JSnes

Py65

Pyntendo

Torlus

adc immediate with bcd

NOT

NOT

NOT

OK

OK

OK

bcc

NOT

OK

OK

OK

OK

OK

beq

OK

OK

NOT

OK

OK

OK

bne

OK

OK

NOT

OK

OK

OK

brk

NOT

NOT

NOT

NOT

NOT

NOT

clc

NOT

OK

OK

OK

OK

OK

cld

NOT

OK

OK

OK

OK

OK

cli

NOT

OK

OK

OK

OK

OK

clv

NOT

OK

OK

OK

OK

OK

irq

NOT

NOT

NOT

NOT

NOT

NOT

jsr

NOT

OK

NOT

OK

NOT

NOT

nmi

NOT

NOT

NOT

NOT

NOT

NOT

pha

NOT

OK

OK

OK

OK

OK

php

NOT

OK

NOT

OK

OK

OK

pla

OK

OK

OK

OK

OK

NOT

pla n flag set

OK

OK

OK

OK

OK

NOT

pla z flag set

OK

OK

OK

OK

OK

NOT

plp

NOT

NOT

NOT

NOT

NOT

NOT

rst

NOT

NOT

NOT

NOT

NOT

NOT

rti

OK

OK

NOT

OK

OK

NOT

rts

OK

OK

NOT

OK

OK

NOT

sbc immediate with bcd

OK

NOT

OK

OK

OK

OK

tsx

NOT

OK

NOT

OK

OK

OK

txs

OK

OK

NOT

OK

OK

OK