aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/romload/firmware.c
blob: 72bb9a19bc17fc80da658f929f3a3adef300beb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
#include <stdlib.h>

int x1 = 1000;
int x2 = 2000;

void main() 
{
  int z;
  x1 = 50;
  x2 = 50;

  printf("hello\n");
  z = (x1 + x2);
  if (z == 100)
    printf("TEST PASSED\n");
  else
    printf("TEST FAILED, z=%d\n", z);
  exit(0);
}