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

Subversion Repositories t400

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

Compare with Previous | Blame | View Log

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

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

        org     0x00
        clra

        ;; output 1 on D
        aisc    0x1
        cab
        obd

        ;; output 2 on D
        aisc    0x1
        cab
        obd

        ;; output 4 on D
        ;; note: last action on COP411L
        aisc    0x2
        cab
        obd

        ;; output 8 on D
        aisc    0x4
        cab
        obd

        ;; output 0xf on D
        aisc    0x7
        cab
        obd

        jmp     fail

        org     0x100
        include "pass_fail.asm"

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.