head	1.3;
access;
symbols
	rel_1_1:1.3
	rel_1_0:1.3
	rel_0_1_beta:1.3;
locks; strict;
comment	@;; @;


1.3
date	2006.05.28.15.28.30;	author arniml;	state Exp;
branches;
next	1.2;
commitid	7a254479c1974567;

1.2
date	2006.05.28.13.36.19;	author arniml;	state Exp;
branches;
next	1.1;
commitid	52aa4479a74a4567;

1.1
date	2006.05.28.02.44.02;	author arniml;	state Exp;
branches;
next	;
commitid	442944790e714567;


desc
@@


1.3
log
@check occurence of interrupt
@
text
@	;; *******************************************************************
	;; $Id: test.asm,v 1.2 2006/05/28 13:36:19 arniml Exp $
	;;
	;; Checks interrupt on JMP.
	;;

	;; the cpu type is defined on asl's command line

	include	"int_macros.inc"

	org	0x00
	clra

	int_flag_clear
	lei	0x02
	jp	int_mark

	org	0x030
int_mark:
	nop
	nop
int_instr:
	jmp	+


	org	0x03d
	jmp	fail
	org	0x03f
+	aisc	0xf
ret_instr:
	int_flag_check
	jmp	pass


	org	0x0fd
	jmp	fail
int_routine:
	nop
	save_a_m_c
	int_flag_set
	check_sa	ret_instr
	restore_c_m_a
	ret


	org	0x200
	include	"int_pass_fail.asm"
@


1.2
log
@include save/restore macros
@
text
@d2 1
a2 1
	;; $Id: test.asm,v 1.1 2006/05/28 02:44:02 arniml Exp $
d14 1
d31 1
d40 1
@


1.1
log
@initial check-in
@
text
@d2 1
a2 1
	;; $Id$
d37 1
d39 1
@

