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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_2_beta/] [sw/] [verif/] [black_box/] [anl/] [a_data/] [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:17 arniml Exp $
3
        ;;
4
        ;; Test ANL A, data.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13
        mov     a, #0FFH
14
        anl     a, #000H
15
        jnz     fail
16
        anl     a, #000H
17
        jnz     fail
18
 
19
        mov     a, #0FFH
20
        anl     a, #055H
21
        add     a, #0ABH
22
        jnz     fail
23
 
24
        mov     a, #0FFH
25
        anl     a, #0B6H
26
        anl     a, #023H
27
        add     a, #0DEH
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.