URL
https://opencores.org/ocsvn/t400/t400/trunk
[/] [t400/] [trunk/] [sw/] [verif/] [int/] [jp/] [test.asm] - Diff between revs 176 and 179
Only display areas with differences |
Details |
Blame |
View Log
Rev 176 |
Rev 179 |
;; *******************************************************************
|
;; *******************************************************************
|
;; $Id: test.asm,v 1.4 2006-05-28 15:29:19 arniml Exp $
|
;; $Id: test.asm 179 2009-04-01 19:48:38Z arniml $
|
;;
|
;;
|
;; Checks interrupt on JP.
|
;; Checks interrupt on JP.
|
;;
|
;;
|
|
|
;; the cpu type is defined on asl's command line
|
;; the cpu type is defined on asl's command line
|
|
|
include "int_macros.inc"
|
include "int_macros.inc"
|
|
|
org 0x00
|
org 0x00
|
clra
|
clra
|
|
|
int_flag_clear
|
int_flag_clear
|
lei 0x02
|
lei 0x02
|
jp int_mark
|
jp int_mark
|
|
|
org 0x030
|
org 0x030
|
int_mark:
|
int_mark:
|
nop
|
nop
|
nop
|
nop
|
int_instr:
|
int_instr:
|
jp +
|
jp +
|
|
|
|
|
org 0x3c
|
org 0x3c
|
jmp fail
|
jmp fail
|
org 0x3e
|
org 0x3e
|
+ aisc 0xf
|
+ aisc 0xf
|
ret_instr:
|
ret_instr:
|
int_flag_check
|
int_flag_check
|
jmp pass
|
jmp pass
|
|
|
|
|
org 0x0fd
|
org 0x0fd
|
jmp fail
|
jmp fail
|
int_routine:
|
int_routine:
|
nop
|
nop
|
save_a_m_c
|
save_a_m_c
|
int_flag_set
|
int_flag_set
|
check_sa ret_instr
|
check_sa ret_instr
|
restore_c_m_a
|
restore_c_m_a
|
ret
|
ret
|
|
|
|
|
org 0x200
|
org 0x200
|
include "int_pass_fail.asm"
|
include "int_pass_fail.asm"
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.