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

Subversion Repositories t400

[/] [t400/] [trunk/] [sw/] [verif/] [black_box/] [clra/] [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 CLRA 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 0x0
13
        rmb     0x3
14
        rmb     0x2
15
        rmb     0x1
16
        rmb     0x0
17
 
18
        ;; test for initial 0 in a
19
        ske
20
        jmp     fail
21
 
22
        ;; test for clearing all bits in a
23
        aisc    0xf
24
        clra
25
        ske
26
        jmp     fail
27
 
28
        jmp     pass
29
 
30
        org     0x100
31
        include "pass_fail.asm"

powered by: WebSVN 2.1.0

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