From 7211bd49452e67e0b53ea06ca474f4e54af991ae Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 25 Sep 2021 15:47:25 +0200 Subject: Implement Linker Script and Startup File --- src/test_program.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/test_program.c (limited to 'src/test_program.c') diff --git a/src/test_program.c b/src/test_program.c new file mode 100644 index 0000000..80f569b --- /dev/null +++ b/src/test_program.c @@ -0,0 +1,8 @@ +static const int a = 7; +static int b = 8; +static int sum; + +void main() +{ + sum = a + b; +} -- cgit v1.2.3-70-g09d2