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

Subversion Repositories t48

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

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 JZ instruction.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13
        mov     a, #0x00
14
        jz      ok_0
15
        jmp     fail
16
 
17
ok_0:   mov     a, #0x01
18
        jz      fail
19
 
20
        mov     a, #0x02
21
        jz      fail
22
 
23
        mov     a, #0x04
24
        jz      fail
25
 
26
        mov     a, #0x08
27
        jz      fail
28
 
29
        mov     a, #0x10
30
        jz      fail
31
 
32
        mov     a, #0x20
33
        jz      fail
34
 
35
        mov     a, #0x40
36
        jz      fail
37
 
38
        mov     a, #0x80
39
        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.