/*Write an ARM assembly function that takes two signed parameters, and checks for GE 
(signed greater than or equal) conditions code to check if the first parameter is 
greater than or equal to the second parameter. If sint_a value is greater than or equal 
to sint_b value, then return value ‘1’ and “sint_a is greater than or equal to sint_b”, 
else return value 0 and print “sint_a is lower than sint_b” in C++ program.*/

void setup() {}

extern "C" {
  int lab5_act_2_6(int, int);
}

void loop() {
  int a, b;

  printf("enter a: ");
  scanf("%i", &a);
  printf("%i\n", a);

  printf("enter b: ");
  scanf("%i", &b);
  printf("%i\n", b);

  if (lab5_act_2_6(a, b) == 1) printf("%i is greater than or equal to %i\n", a, b);
  else printf("%i is lower than %i\n", a, b);
}
BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT