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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_1_3/] [sw/] [verif/] [black_box/] [anl/] [a_data/] [test.asm] - Blame information for rev 331

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 arniml
        ;; *******************************************************************
2 295 arniml
        ;; $Id: test.asm 295 2009-04-01 19:32:48Z arniml $
3 12 arniml
        ;;
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.