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

Subversion Repositories m65c02

[/] [m65c02/] [trunk/] [Src/] [M65C02-Test-Programs/] [M65C02_Tst.a65] - Rev 2

Compare with Previous | Blame | View Log

; #------------------------------------------------------------------------#
; |                                                                        |
; |   MAM6502_Tst.A65                                                      |
; |                                                                        |
; |   Test program for MAM6502_Core.v                                      |
; |                                                                        |
; |   Copyright 2012, Michael A. Morris                                    |
; |                                                                        |
; #------------------------------------------------------------------------#
;
; File created 11-Feb-2012

            title   "AS65 test source - MAM6502_Core"

            data
            org     0

Jmp_AbsI    dw      AbsI_Dst
Jmp_AbsXI   dw      AbsXI_Dst

            bss
            org     256

            code
            org     16
Start       jmp     Abs_Dst
Return      rts
Abs_Dst     jmp     (Jmp_AbsI)
AbsI_Dst    jmp     (Jmp_AbsXI, x)
AbsXI_Dst   jsr     Return
            nop
            ora     #$AA
            pha
            pla
            tax
            eor     #$55
            tay
            phy
            plx
            txa
            pha
            phx
            phy
            lda     #0
            tax
            tay
            jmp     Start
            
            end     Start

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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