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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [black_box/] [omg_ing/] [test.asm] - Rev 2

Go to most recent revision | Compare with Previous | Blame | View Log

        ;; *******************************************************************
        ;; $Id: test.asm,v 1.1.1.1 2006-05-06 01:56:45 arniml Exp $
        ;;
        ;; Checks the OMG and ING instructions.
        ;;

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

        org     0x00
        clra

        ;; output 0 on G and check
        ;; note: this is done before actually starting the
        ;;       sequence because 0 will end the sequence for
        ;;       the T411L flavour.
        x       0x0
        omg
        clra
        comp
        ing
        ske
        jmp     fail

        ;; output 1 on G
        clra
        aisc    0x1
        x       0x0
        omg
        ing
        ske
        jmp     fail

        ;; output 2 on G
        clra
        aisc    0x2
        x       0x0
        omg
        ing
        ske
        jmp     fail

        ;; output 4 on G
        clra
        aisc    0x4
        x       0x0
        omg
        ing
        ske
        jmp     fail

        ;; output 0 on G
        ;; note: last action on COP411L
        clra
        x       0x0
        omg
        ing
        ske
        jmp     fail

        ;; output 8 on G
        clra
        aisc    0x8
        x       0x0
        omg
        ing
        ske
        jmp     fail

        ;; output 0 on G
        clra
        x       0x0
        omg
        ing
        ske
        jmp     fail

        org     0x100
        include "pass_fail.asm"

Go to most recent revision | 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.