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_6502u | |
| download | asl-master.tar.gz asl-master.tar.bz2 asl-master.zip | |
Diffstat (limited to 'tests/t_6502u')
| -rw-r--r-- | tests/t_6502u/asflags | 0 | ||||
| -rw-r--r-- | tests/t_6502u/t_6502u.asm | 110 | ||||
| -rw-r--r-- | tests/t_6502u/t_6502u.doc | 7 | ||||
| -rw-r--r-- | tests/t_6502u/t_6502u.ori | bin | 0 -> 207 bytes | 
4 files changed, 117 insertions, 0 deletions
| diff --git a/tests/t_6502u/asflags b/tests/t_6502u/asflags new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/t_6502u/asflags diff --git a/tests/t_6502u/t_6502u.asm b/tests/t_6502u/t_6502u.asm new file mode 100644 index 0000000..337b5d1 --- /dev/null +++ b/tests/t_6502u/t_6502u.asm @@ -0,0 +1,110 @@ +        cpu     6502undoc + +        nop +        nop     #$12 +	nop	$12 +        nop	$12,x +        nop	$1234 +        nop	$1234,x + +	jam +        crs +        kil + +        slo	$12 +        slo	$12,x +        slo	$1234 +        slo	$1234,x +        slo	$12,y +        slo	$1234,y +        slo	($12,x) +        slo	($12),y + +	anc	#$12 + +        rla	$12 +        rla	$12,x +        rla	$1234 +        rla	$1234,x +        rla	$12,y +        rla	$1234,y +        rla	($12,x) +        rla	($12),y + +        sre	$12 +        sre	$12,x +        sre	$1234 +        sre	$1234,x +        sre	$12,y +        sre	$1234,y +        sre	($12,x) +        sre	($12),y + +	asr	#$12 + +        rra	$12 +        rra	$12,x +        rra	$1234 +        rra	$1234,x +        rra	$12,y +        rra	$1234,y +        rra	($12,x) +        rra	($12),y + +	arr	#$12 + +        sax	$12 +        sax	$12,y +        sax	$1234 +        sax	($12,x) + +        ane	#$12 + +        sha	$12,x +        sha	$1234,x +        sha	$12,y +        sha	$1234,y + +        shs	$12,y +        shs	$1234,y + +        shy	$12,y +        shy	$1234,y + +        shx	$12,x +        shx	$1234,x + +        lax	$12 +        lax	$12,y +        lax	$1234 +        lax	$1234,y +        lax	($12,x) +        lax	($12),y + +	lxa	#$12 + +        lae	$12,y +        lae	$1234,y + +        dcp	$12 +        dcp	$12,x +        dcp	$1234 +        dcp	$1234,x +        dcp	$12,y +        dcp	$1234,y +        dcp	($12,x) +        dcp	($12),y + +        sbx	#$12 + +        isb	$12 +        isb	$12,x +        isb	$1234 +        isb	$1234,x +        isb	$12,y +        isb	$1234,y +        isb	($12,x) +        isb	($12),y + +        end     * + diff --git a/tests/t_6502u/t_6502u.doc b/tests/t_6502u/t_6502u.doc new file mode 100644 index 0000000..62849cc --- /dev/null +++ b/tests/t_6502u/t_6502u.doc @@ -0,0 +1,7 @@ ++------------------------ Test Application 6502U ----------------------------+ +|                                                                            | +|  Hacker's corner: This tests the 'undocumented' instructions of the 6502/  | +|  6510 processor, i.e. the things the processor does when yuo use undocu-   | +|  mented opcode bytes.  I do not recommend that, but it's your program...   | +|                                                                            | ++----------------------------------------------------------------------------+ diff --git a/tests/t_6502u/t_6502u.ori b/tests/t_6502u/t_6502u.oriBinary files differ new file mode 100644 index 0000000..1e4282a --- /dev/null +++ b/tests/t_6502u/t_6502u.ori | 
