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

Subversion Repositories t400

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 75 arniml
        ;; *******************************************************************
2 87 arniml
        ;; $Id: test.asm,v 1.3 2006-05-28 15:28:30 arniml Exp $
3 75 arniml
        ;;
4
        ;; Checks interrupt on JMP.
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
        jmp     +
24
 
25
 
26
        org     0x03d
27
        jmp     fail
28
        org     0x03f
29
+       aisc    0xf
30
ret_instr:
31 87 arniml
        int_flag_check
32 75 arniml
        jmp     pass
33
 
34
 
35
        org     0x0fd
36
        jmp     fail
37
int_routine:
38
        nop
39 84 arniml
        save_a_m_c
40 87 arniml
        int_flag_set
41 75 arniml
        check_sa        ret_instr
42 84 arniml
        restore_c_m_a
43 75 arniml
        ret
44
 
45
 
46
        org     0x200
47
        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.