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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [black_box/] [comp/] [test.asm] - Blame information for rev 179

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 arniml
        ;; *******************************************************************
2 179 arniml
        ;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
3 2 arniml
        ;;
4
        ;; Checks the COMP instruction.
5
        ;;
6
 
7
        ;; the cpu type is defined on asl's command line
8
 
9
        org     0x00
10
        clra
11
 
12
        ;; preload M0 with 0x8
13
        smb     0x3
14
        rmb     0x2
15
        rmb     0x1
16
        rmb     0x0
17
 
18
        ld      0x0
19
        ;; test for 8 in a
20
        ske
21
        jmp     fail
22
 
23
        ;; test for complementing all bits in a
24
        comp
25
        aisc    0x1
26
        ske
27
        jmp     fail
28
 
29
        jmp     pass
30
 
31
        org     0x100
32
        include "pass_fail.asm"

powered by: WebSVN 2.1.0

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