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

Subversion Repositories t400

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 75 arniml
        ;; *******************************************************************
2 179 arniml
        ;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
3 75 arniml
        ;;
4
        ;; Checks interrupt on NOP.
5
        ;;
6
 
7
        ;; the cpu type is defined on asl's command line
8
 
9
        include "int_macros.inc"
10
 
11
        org     0x00
12
        clra
13
 
14 87 arniml
        int_flag_clear
15 75 arniml
        lei     0x02
16
        jp      int_mark
17
 
18
        org     0x030
19
int_mark:
20
        nop
21
        nop
22
int_instr:
23
        nop
24
ret_instr:
25 87 arniml
        int_flag_check
26 75 arniml
        jmp     pass
27
 
28
 
29
        org     0x0fd
30
        jmp     fail
31
int_routine:
32
        nop
33 81 arniml
        save_a_m_c
34 87 arniml
        int_flag_set
35 75 arniml
        check_sa        ret_instr
36 81 arniml
        restore_c_m_a
37 75 arniml
        ret
38
 
39
 
40
        org     0x200
41
        include "int_pass_fail.asm"

powered by: WebSVN 2.1.0

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