OpenCores
URL https://opencores.org/ocsvn/m65c02/m65c02/trunk

Subversion Repositories m65c02

[/] [m65c02/] [trunk/] [Src/] [M65C02-Test-Programs/] [M65C02_Tst.a65] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 MichaelA
; #------------------------------------------------------------------------#
2
; |                                                                        |
3
; |   MAM6502_Tst.A65                                                      |
4
; |                                                                        |
5
; |   Test program for MAM6502_Core.v                                      |
6
; |                                                                        |
7
; |   Copyright 2012, Michael A. Morris                                    |
8
; |                                                                        |
9
; #------------------------------------------------------------------------#
10
;
11
; File created 11-Feb-2012
12
 
13
            title   "AS65 test source - MAM6502_Core"
14
 
15
            data
16
            org     0
17
 
18
Jmp_AbsI    dw      AbsI_Dst
19
Jmp_AbsXI   dw      AbsXI_Dst
20
 
21
            bss
22
            org     256
23
 
24
            code
25
            org     16
26
Start       jmp     Abs_Dst
27
Return      rts
28
Abs_Dst     jmp     (Jmp_AbsI)
29
AbsI_Dst    jmp     (Jmp_AbsXI, x)
30
AbsXI_Dst   jsr     Return
31
            nop
32
            ora     #$AA
33
            pha
34
            pla
35
            tax
36
            eor     #$55
37
            tay
38
            phy
39
            plx
40
            txa
41
            pha
42
            phx
43
            phy
44
            lda     #0
45
            tax
46
            tay
47
            jmp     Start
48
 
49
            end     Start

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.