/* Function to start the first task executing - written in asm code as direct access to registers is required.  */
static void prvStartFirstTask(void)
/* Function to start the first task executing - written in asm code as direct access to registers is required.  */
static void prvStartFirstTask(void)
{
	SETPSW	U
	MOV.L	#_pxCurrentTCB, R15
	MOV.L	[R15], R15
	MOV.L	[R15], R0
    POP		R15
    MVTACLO	R15, A0
    POP		R15
    MVTACHI	R15, A0
    POP		R15
    MVTACGU	R15, A0
    POP		R15
    MVTACLO	R15, A1
    POP		R15
    MVTACHI	R15, A1
    POP		R15
    MVTACGU	R15, A1
    POP		R15
    MVTC	R15,FPSW
    POPM	R1-R15
    RTE
    NOP
    NOP
}