SPC
Version 0.9.5
Main Page
Related Pages
Modules
Files
Examples
All
Files
Functions
Groups
Pages
ex_pushpop.spc
This is an example of how to use the
push
and
pop
functions.
task main()
{
int
x =
Timer3
;
int
y;
y =
push
(x);
x = x*x;
printf
(
"x = %d\n"
, x);
x =
pop
();
printf
(
"x = %d\n"
, x);
}
Generated by
1.8.2