ZHCU875Z August 2001 – October 2023 SM320F28335-EP
#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; }