diff options
Diffstat (limited to 'tests/t_6804')
| -rw-r--r-- | tests/t_6804/asflags | 0 | ||||
| -rw-r--r-- | tests/t_6804/t_6804.asm | 72 | ||||
| -rw-r--r-- | tests/t_6804/t_6804.doc | 5 | ||||
| -rw-r--r-- | tests/t_6804/t_6804.ori | bin | 0 -> 92 bytes | 
4 files changed, 77 insertions, 0 deletions
| diff --git a/tests/t_6804/asflags b/tests/t_6804/asflags new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t_6804/asflags diff --git a/tests/t_6804/t_6804.asm b/tests/t_6804/t_6804.asm new file mode 100644 index 0000000..78da533 --- /dev/null +++ b/tests/t_6804/t_6804.asm @@ -0,0 +1,72 @@ +		cpu	6804 + +		include	stddef04.inc + +		clra +		clrx +		clry +		coma +		rola +		asla +		inca +		incx +		incy +		deca +		decx +		decy +		tax +		tay +		txa +		tya +		rts +		rti +		nop + +targ:		beq	targ +		bne	targ +		blo	targ +		bcs	targ +		bhs	targ +		bcc	targ + +		jmp	$123 +		jsr	$456 + +		add	(x) +		add	(y) +		add	$30 +		add	#$40 +		sub	(x) +		sub	(y) +		sub	$50 +		sub	#$60 +		cmp	(x) +		cmp	(y) +		cmp	$70 +		cmp	#$80 +		and	(x) +		and	(y) +		and	$90 +		and	#$a0 + +		lda	(x) +		sta	(y) +		lda	$82 +		sta	$40 +		lda	#55 + +		ldxi	#0 +		ldyi	#-1 + +		mvi	$12,#$45 + +		dec	$82 +		inc	$40 +		dec	(y) +		inc	(x) + +		bset	1,$12 +		bclr    3,$34 + +		brset	5,$56,targ +		brclr	7,$78,targ diff --git a/tests/t_6804/t_6804.doc b/tests/t_6804/t_6804.doc new file mode 100644 index 0000000..3fc32a7 --- /dev/null +++ b/tests/t_6804/t_6804.doc @@ -0,0 +1,5 @@ ++------------------------- Test Application 6804 ----------------------------+ +|                                                                            | +|         This is a (synthetic) test of the 6804's instruction set           | +|                                                                            | ++----------------------------------------------------------------------------+ diff --git a/tests/t_6804/t_6804.ori b/tests/t_6804/t_6804.oriBinary files differ new file mode 100644 index 0000000..ecaff8c --- /dev/null +++ b/tests/t_6804/t_6804.ori | 
