/*Write an ARM assembly function that performs 4 times logical shift left operation
on one parameter and returns the result to a calling C program.*/
void setup() {
// put your setup code here, to run once:
Serial1.begin(115200);
}
extern "C" {
int lshift(int a);
}
int main() {
int x;
printf("enter x: ");
scanf("%i", &x);
printf("%i\n", x);
printf("%i\n", lshift(x));
return 0;
}