how to see disassembly in CubeIDE?
GPIOB->ODR = ( d ) ; GPIOA->BSRR = (0x00000002) ;GPIOA->BSRR = (0x00020000 ) ;
little faster
Windows...show view..disassembly.
You need debug build.
I don't understand your code...
Put data in GPIOB.
Set GPIOA1
Reset GPIOA1
The full GPIOB is not available in the blue pill board.
Also you can't just put the value into ODR, since that way you overwrite the whole port, 16-bit wide. You need a mask.
Unless you don't care about the rest of the pins.