1 //Original:/proj/frio/dv/testcases/seq/se_kills2/se_kills2.dsp
2 // Description: Test se_kill for all supported types of RTL1 instructions
4 # sim: --environment operating
7 .include "testutils.inc"
11 // Constants and Defines
14 include(selfcheck.inc)
19 #define STACKSIZE 0x10
23 // Reset/Bootstrap Code
24 // (Here we should set the processor operating modes, initialize registers,
30 SP.L = KSTACK; // setup the stack pointer
32 FP = SP; // and frame pointer
34 INIT_R_REGS(0); // initialize general purpose regs
36 INIT_P_REGS(0); // initialize the pointers
38 INIT_I_REGS(0); // initialize the dsp address regs
43 ASTAT = r0; // reset sequencer registers
51 // **** YOUR CODE GOES HERE ****
52 // CHECK_INIT(p0, 0xFF7FFFFC); // original
64 // Assume CC is reset to 0.
65 IF !CC JUMP NEXT1; // following instruction should be killed
74 ( R7:0, P5:0 ) = [ SP ++ ];
78 [ -- SP ] = ( R7:0, P5:0 );
98 LSETUP (NEXT10, NEXT11) lc0 = p0;
133 dbg_pass; // Call Endtest Macro
135 //*********************************************************************
143 .space (0x010); // Some data space