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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [black_box/] [jmp/] [test.asm] - Rev 179

Compare with Previous | Blame | View Log

        ;; *******************************************************************
        ;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
        ;;
        ;; Checks the JMP instruction.
        ;;

        ;; the cpu type is defined on asl's command line

        org     0x00
        clra

        jmp     block_0


        org     0x00d
        jmp     fail
block_0:
        jmp     block_1
        jmp     fail

        org     0x10f
        jmp     fail
block_1:
        IF      MOMCPUNAME <> "COP410"
        jmp     block_2
        ELSEIF
        jmp     pass
        ENDIF
        jmp     fail

        org     0x120
        include "pass_fail.asm"


        IF      MOMCPUNAME <> "COP410"

        org     0x21f
        jmp     fail
block_2:
        jmp     block_3
        jmp     fail

        org     0x32f
        jmp     fail
block_3:
        jmp     pass
        jmp     fail

        ENDIF

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.