#include <stdio.h>
#include <stdlib.h>
extern "C"{
unsigned int my_asm_fn(int x,int y);
}
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
unsigned int x,y;
printf("x:");
scanf("%d",&x);
printf("%d",x);
printf("\ny:");
scanf("%d",&y);
printf("%d",y);
printf("\n");
if(my_asm_fn(x,y) == 1)
{
printf("value of x is higher than or equal to y\n");
}
else
{
printf("x is lower than y\n");
}
}