Question: please help how to convert this into assembly language ARM-cortex int main (void) { RCC AHB1ENR 1= RCC A ENABLE; // enable clocks to GPIO
please help how to convert this into assembly language ARM-cortex

int main (void) { RCC AHB1ENR 1= RCC A ENABLE; // enable clocks to GPIO GPIOA MODER = PAS OUT; GPIOA OTYPER = PAS PUSHPULL; GPIOA OSPEEDR = PAS LOWSPEED; while (1) { GPIOA BSRR = LED ILLUM; // make the pin output high delay (x); GPIOA BSRR = LED_DEILLUM; // make the pin output low delay (x); } int main (void) { RCC AHB1ENR 1= RCC A ENABLE; // enable clocks to GPIO GPIOA MODER = PAS OUT; GPIOA OTYPER = PAS PUSHPULL; GPIOA OSPEEDR = PAS LOWSPEED; while (1) { GPIOA BSRR = LED ILLUM; // make the pin output high delay (x); GPIOA BSRR = LED_DEILLUM; // make the pin output low delay (x); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
