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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_1_1/] [sw/] [verif/] [black_box/] [dec/] [a/] [test.asm] - Blame information for rev 292

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 arniml
        ;; *******************************************************************
2
        ;; $Id: test.asm,v 1.1.1.1 2004-03-25 22:29:17 arniml Exp $
3
        ;;
4
        ;; Test DEC A.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13
        mov     a, #001H
14
        dec     a
15
        jnz     fail
16
 
17
        dec     a
18
        jb0     ok_0
19
        jmp     fail
20
 
21
ok_0:   inc     a
22
        jnz     fail
23
 
24
        mov     a, #10100101B
25
        dec     a
26
        add     a, #01011101B
27
        dec     a
28
        jnz     fail
29
 
30
pass:   PASS
31
 
32
fail:   FAIL

powered by: WebSVN 2.1.0

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