SLAU131V October 2004 – February 2020
#include <stdio.h> extern int x; #pragma CODE_SECTION(task1, ".task1_scn") void task1(void) { printf("hit task1, x is %d\n", x); x += 1; }