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


1.4
date	2006.05.28.15.29.19;	author arniml;	state Exp;
branches;
next	1.3;
commitid	7ac04479c1ce4567;

1.3
date	2006.05.28.13.21.36;	author arniml;	state Exp;
branches;
next	1.2;
commitid	4cf54479a3db4567;

1.2
date	2006.05.28.13.19.04;	author arniml;	state Exp;
branches;
next	1.1;
commitid	4b634479a33f4567;

1.1
date	2006.05.28.02.44.13;	author arniml;	state Exp;
branches;
next	;
commitid	445f44790e7c4567;


desc
@@


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

	;; 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:
	jp	+


	org	0x3c
	jmp	fail
	org	0x3e
+	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.3
log
@rename macros
@
text
@d2 1
a2 1
	;; $Id: test.asm,v 1.2 2006/05/28 13:19:04 arniml Exp $
d14 1
d31 1
d40 1
@


1.2
log
@include new save/restore macros
@
text
@d2 1
a2 1
	;; $Id: test.asm,v 1.1 2006/05/28 02:44:13 arniml Exp $
d37 1
a37 1
	save_m_c
d39 1
a39 1
	restore_c_m
@


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

