aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/apps/cruft/can_i_sub.c
blob: ed49791f0baad32f7506ab6d42dc74354c7bff1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <u2_init.h>
#include <nonstdio.h>

//typedef long long int64_t;


int64_t sub(int64_t a, int64_t b);
void print(int64_t d);

int main(void)
{
  u2_init();

  int64_t d = sub(462550990848000LL, 462028800000000LL);
  print_uint64(d);
  newline();
  return 0;
}

int64_t sub(int64_t a, int64_t b)
{
  return a - b;
}