; Verifies that reset doesn't alter any RAM.

.include "testing.s"

zp_res VAL
RAM = $300

reset:
	sei
	cld
	ldx #$FF
	txs

	lda #$F0
	sta VAL
	lda #$0F
	bit VAL
	php
	pla
	sta RAM+0

	lda #$F0
	sta $400
	lda #$0F
	bit $400
	php
	pla
	sta RAM+1

	stp

nmi:
	stp

irq:
	stp
