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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_2_beta/] [sw/] [verif/] [black_box/] [inc/] [a/] [test.asm] - Blame information for rev 252

Go to most recent revision | 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:16 arniml Exp $
3
        ;;
4
        ;; Test INC A.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13
        mov     a, #000H
14
        inc     a
15
        add     a, #0FFH
16
        jnz     fail
17
 
18
        inc     a
19
        jb0     ok_0
20
        jmp     fail
21
 
22
ok_0:   mov     a, #0FFH
23
        inc     a
24
        jnz     fail
25
 
26
        mov     a, #010100101B
27
        inc     a
28
        add     a, #001011001B
29
        inc     a
30
        jnz     fail
31
 
32
pass:   PASS
33
 
34
fail:   FAIL

powered by: WebSVN 2.1.0

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