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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_4_beta/] [sw/] [verif/] [black_box/] [jz/] [test.asm] - Blame information for rev 292

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 arniml
        ;; *******************************************************************
2 18 arniml
        ;; $Id: test.asm,v 1.2 2004-03-26 22:34:14 arniml Exp $
3 12 arniml
        ;;
4
        ;; Test JZ instruction.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13 18 arniml
        mov     a, #000H
14 12 arniml
        jz      ok_0
15
        jmp     fail
16
 
17 18 arniml
ok_0:   mov     a, #001H
18 12 arniml
        jz      fail
19
 
20 18 arniml
        mov     a, #002H
21 12 arniml
        jz      fail
22
 
23 18 arniml
        mov     a, #004H
24 12 arniml
        jz      fail
25
 
26 18 arniml
        mov     a, #008H
27 12 arniml
        jz      fail
28
 
29 18 arniml
        mov     a, #010H
30 12 arniml
        jz      fail
31
 
32 18 arniml
        mov     a, #020H
33 12 arniml
        jz      fail
34
 
35 18 arniml
        mov     a, #040H
36 12 arniml
        jz      fail
37
 
38 18 arniml
        mov     a, #080H
39 12 arniml
        jz      fail
40
 
41
pass:   PASS
42
 
43
fail:   FAIL

powered by: WebSVN 2.1.0

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