1# mach: all
2# output:
3# sim: --environment operating
4
5.include "t-macros.i"
6
7	start
8
9	PSW_BITS = 0
10	point_dmap_at_imem
11	check_interrupt (VEC_AE&DMAP_MASK)+DMAP_BASE PSW_BITS test_st2w
12
13	ldi sp, #0x4004
14	st2w r8, @-SP
15
16	ldi sp, #0x4005
17test_st2w:
18	st2w r8,@-SP
19	nop
20	exit47
21