All pastes #19768 Raw Edit

Something

public text v1 · immutable
#19768 ·published 2005-08-11 01:32 UTC
rendered paste body
#ifndef cpu_sr
#define ENTER_CRITICAL()  unsigned short cpu_sr; __asm __volatile__ (MOTOROLLA ASM HERE)  
#else
#define ENTER_CRITICAL()  __asm __volatile__ (MOTOROLLA ASM HERE)
#endif

#define EXIT_CRITICAL()   __asm __volatile__ (MOTOROLLA ASM HERE)