/*Write an assembly function that performs the sum of two constants 10 and 20, 
and returns the result.*/

void setup() {
  Serial1.begin(115200);
}

extern "C" {
  int my_asm_add_two_constants(int a, int b);
}

int main() {
  int a = 10, b = 20;
  printf("%i\n", my_asm_add_two_constants(a, b));
}

BOOTSELLED1239USBRaspberryPiPico©2020RP2-8020/21P64M15.00TTT