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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_1_1/] [sw/] [verif/] [white_box/] [p2_io_exp/] [test.asm] - Rev 292

Compare with Previous | Blame | View Log

        ;; *******************************************************************
        ;; $Id: test.asm,v 1.1 2005-11-01 21:07:41 arniml Exp $
        ;;
        ;; *******************************************************************

        INCLUDE "cpu.inc"
        INCLUDE "pass_fail.inc"

        ORG     0

        ;; Start of test
        jmp     start


start:
        call    test_code
        sel     mb0


pass:   PASS

fail:   FAIL
        
        

        ORG     0400H
test_code:
        ;; write to P2
        mov     a, #089h
        outl    p2, a

        ;; use expander
        mov     a, #00ch
        movd    p5, a

        ;; write to P2
        mov     a, #098h
        outl    p2, a

        ;; use expander
        movd    a, p6

        ret

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.