1
2.EXTERN MY_LABEL2;
3.section .text;
4
5//
6//11 EXTERNAL EVENT MANAGEMENT
7//
8IDLE ; /* (a) */
9CSYNC ; /* (a) */
10SSYNC ; /* (a) */
11EMUEXCPT ; /* (a) */
12
13//CLI Dreg ; /* previous state of IMASK moved to Dreg (a) */
14CLI R0;
15CLI R1;
16CLI R2;
17
18//STI Dreg ; /* previous state of IMASK restored from Dreg (a) */
19STI R0;
20STI R1;
21STI R2;
22
23//RAISE uimm4 ; /* (a) */
24RAISE 0;
25RAISE 4;
26RAISE 15;
27
28//EXCPT uimm4 ; /* (a) */
29EXCPT 0;
30EXCPT 1;
31EXCPT 15;
32
33//TESTSET ( Preg ) ; /* (a) */
34TESTSET (P0);
35TESTSET (P1);
36TESTSET (P2);
37//TESTSET (SP);
38//TESTSET (FP);
39
40NOP ; /* (a) */
41MNOP ; /* (b) */
42