Code for CodeWarrior
void unlock (void)
{

__asm(cli);
}
void lock (void)
{
short mask;

__asm
{
:tsei:=d(mask);
}
}



epimerde 2007-06-06