/*Write an assembly function that performs the sum of four constants
10, 20, 30 and 40, and returns the result.*/
void setup() {
Serial1.begin(115200);
}
extern "C" {
int my_asm_add_four_constants(int a, int b, int c, int d);
}
int main() {
printf("%i\n", my_asm_add_four_constants(10, 20, 30, 40));
}