by dmitrygr · 6y ago · 0 comments
1 @ Set BR8 field in GPIOA_BSRR, to clear GPIOA8
2 movw r1, #0x0000
3 movt r1, #0x0100
you can just use a mov to get that value. Any 8-bit value shifted left any number of bits is synthesizable using one MOVSo you could do `mov r1, #0x01000000` right? nice.