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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [black_box/] [obd/] [test.asm] - Blame information for rev 179

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 arniml
        ;; *******************************************************************
2 179 arniml
        ;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
3 2 arniml
        ;;
4
        ;; Checks the OBD instruction.
5
        ;;
6
 
7
        ;; the cpu type is defined on asl's command line
8
 
9
        org     0x00
10
        clra
11
 
12
        ;; output 1 on D
13
        aisc    0x1
14
        cab
15
        obd
16
 
17
        ;; output 2 on D
18
        aisc    0x1
19
        cab
20
        obd
21
 
22 30 arniml
        ;; output 4 on D
23
        ;; note: last action on COP411L
24
        aisc    0x2
25 2 arniml
        cab
26
        obd
27
 
28 30 arniml
        ;; output 8 on D
29 2 arniml
        aisc    0x4
30
        cab
31
        obd
32
 
33 30 arniml
        ;; output 0xf on D
34
        aisc    0x7
35 2 arniml
        cab
36
        obd
37
 
38
        jmp     fail
39
 
40
        org     0x100
41
        include "pass_fail.asm"

powered by: WebSVN 2.1.0

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