diff options
| author | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 | 
|---|---|---|
| committer | fishsoupisgood <github@madingley.org> | 2019-05-27 02:41:51 +0100 | 
| commit | 333b605b2afd472b823aeda0adf0e8b1ea9843c0 (patch) | |
| tree | bc8f581317897e2e53f278f1716b4471fcdccd4f /tests/t_65 | |
| download | asl-master.tar.gz asl-master.tar.bz2 asl-master.zip | |
Diffstat (limited to 'tests/t_65')
| -rw-r--r-- | tests/t_65/asflags | 0 | ||||
| -rwxr-xr-x | tests/t_65/t_65.asm | 283 | ||||
| -rw-r--r-- | tests/t_65/t_65.doc | 5 | ||||
| -rwxr-xr-x | tests/t_65/t_65.ori | bin | 0 -> 460 bytes | 
4 files changed, 288 insertions, 0 deletions
| diff --git a/tests/t_65/asflags b/tests/t_65/asflags new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t_65/asflags diff --git a/tests/t_65/t_65.asm b/tests/t_65/t_65.asm new file mode 100755 index 0000000..0b9d3bc --- /dev/null +++ b/tests/t_65/t_65.asm @@ -0,0 +1,283 @@ +	cpu	melps740 + +	adc	#$12 +	adc	$12 +	adc	$12,x +	adc	$12,y +	adc	$1234 +	adc	$1234,x +	adc	$1234,y +	adc	($12,x) +	adc	($12),y + +	and	#$12 +	and	$12 +	and	$12,x +	and	$12,y +	and	$1234 +	and	$1234,x +	and	$1234,y +	and	($12,x) +	and	($12),y + +	asl +	asl	a +	asl	$12 +	asl	$12,x +	asl	$1234 +	asl	$1234,x + +	bbc	3,a,* +	bbc	4,$12,* + +	bbs	5,a,* +	bbs	6,$12,*+1 + +	bcc	*+2 +	bcs	*+3 +	beq	*+4 + +	bit	$12 +	bit	$1234 + +	bmi	*+5 +	bne	*+6 +	bpl	*+7 +	bra	*+8 + +	brk + +	bvc	*+9 +	bvs	*+10 +	 +	clb	2,a +	clb	3,$12 +	 +	clc +	cld +	cli +	clt +	clv + +	cmp	#$12 +	cmp	$12 +	cmp	$12,x +	cmp	$12,y +	cmp	$1234 +	cmp	$1234,x +	cmp	$1234,y +	cmp	($12,x) +	cmp	($12),y + +	com	$12 + +	cpx	#$12 +	cpx	$12 +	cpx	$1234 + +	cpy	#$12 +	cpy	$12 +	cpy	$1234 + +	dec +	dec	a +	dec	$12 +	dec	$12,x +	dec	$1234 +	dec	$1234,x + +	dex +	dey + +	div	$12,x + +	eor	#$12 +	eor	$12 +	eor	$12,x +	eor	$12,y +	eor	$1234 +	eor	$1234,x +	eor	$1234,y +	eor	($12,x) +	eor	($12),y + +	fst + +	inc +	inc	a +	inc	$12 +	inc	$12,x +	inc	$1234 +	inc	$1234,x + +	inx +	iny +	 +	jmp	$1234 +	jmp	($1234) +	jmp	($12) + +	assume	sp:$12 +	jsr	$1234 +	jsr	\$1234 +	jsr	($12) + +	lda	#$12 +	lda	$12 +	lda	$12,x +	lda	$12,y +	lda	$1234 +	lda	$1234,x +	lda	$1234,y +	lda	($12,x) +	lda	($12),y +	 +	ldm	#$12,$34 + +	ldx	#$12 +	ldx	$12 +	ldx	$12,y +	ldx	$1234 +	ldx	$1234,y + +	ldy	#$12 +	ldy	$12 +	ldy	$12,x +	ldy	$1234 +	ldy	$1234,x + +	lsr +	lsr	a +	lsr	$12 +	lsr	$12,x +	lsr	$1234 +	lsr	$1234,x + +	mul	$12,x + +	nop + +	ora	#$12 +	ora	$12 +	ora	$12,x +	ora	$12,y +	ora	$1234 +	ora	$1234,x +	ora	$1234,y +	ora	($12,x) +	ora	($12),y + +	pha +	php +	pla +	plp + +	rol +	rol	a +	rol	$12 +	rol	$12,x +	rol	$1234 +	rol	$1234,x + +	ror +	ror	a +	ror	$12 +	ror	$12,x +	ror	$1234 +	ror	$1234,x +	 +	rrf	$12 + +	rti +	rts + +	sbc	#$12 +	sbc	$12 +	sbc	$12,x +	sbc	$12,y +	sbc	$1234 +	sbc	$1234,x +	sbc	$1234,y +	sbc	($12,x) +	sbc	($12),y +	 +	seb	2,a +	seb	3,$12 +	 +	sec +	sed +	sei +	set + +	slw + +	sta	$12 +	sta	$12,x +	sta	$12,y +	sta	$1234 +	sta	$1234,x +	sta	$1234,y +	sta	($12,x) +	sta	($12),y + +	stp + +	stx	$12 +	stx	$12,y +	stx	$1234	 + +	sty	$12 +	sty	$12,x +	sty	$1234	 + +	tax +	tay +	 +	tst	$12 + +	tsx +	txa +	txs +	tya + +	wit + +        cpu     65c02 + +        dec     a +        inc     a +        plx +        ply +        phx +        phy + +        tsb     $12 +        trb     $12 +        tsb     $1234 +        trb     $1234 + +        stz     $12 +        stz     $1234 +        stz     $12,x +        stz     $1234,x + +        bit     $12,x +        bit     $1234,x +        bit     #$12 + +        lda     ($12) +        sta     ($12) +        adc     ($12) +        sbc     ($12) +        and     ($12) +        ora     ($12) +        eor     ($12) +        cmp     ($12) + +        jmp     ($12,x) + +        bbr2    $12,* +        bbs4    $12,* + +        rmb3    $12 +        smb5    $12 diff --git a/tests/t_65/t_65.doc b/tests/t_65/t_65.doc new file mode 100644 index 0000000..6d7cba0 --- /dev/null +++ b/tests/t_65/t_65.doc @@ -0,0 +1,5 @@ ++-------------------------- Test Application 65 -----------------------------+ +|                                                                            | +|      This is a (synthetic) test of the 65xx/MELPS-740 instruction set      | +|                                                                            | ++----------------------------------------------------------------------------+ diff --git a/tests/t_65/t_65.ori b/tests/t_65/t_65.oriBinary files differ new file mode 100755 index 0000000..2ff599b --- /dev/null +++ b/tests/t_65/t_65.ori | 
