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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_0_6__beta/] [sw/] [verif/] [black_box/] [addc/] [a_data/] [test.asm] - Blame information for rev 292

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 ADDC A, data.
5
        ;; *******************************************************************
6
 
7
        INCLUDE "cpu.inc"
8
        INCLUDE "pass_fail.inc"
9
 
10
        ORG     0
11
 
12
        ;; Start of test
13
        jc      fail
14
        mov     a, #000H
15
 
16
        addc    a, #055H
17
        jc      fail
18
        addc    a, #0ABH
19
        jnz     fail
20
        jnc     fail
21
 
22
        addc    a, #000H
23
        jc      fail
24
        addc    a, #0FFH
25
        jnz     fail
26
        jnc     fail
27
 
28
pass:   PASS
29
 
30
fail:   FAIL

powered by: WebSVN 2.1.0

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