Use one of two methods to load the address of nTask04:
.global nTask04 .text LDR r1, addr_nTask04 … BX lr ; return from function addr_nTask04: .word nTask04
Or ...
.global nTask04 .text MOVW r1, nTask04 MOVT r1, nTask04
Hope this helps ...
-George
Use one of two methods to load the address of nTask04:
.global nTask04 .text LDR r1, addr_nTask04 … BX lr ; return from function addr_nTask04: .word nTask04
Or ...
.global nTask04 .text MOVW r1, nTask04 MOVT r1, nTask04
Hope this helps ...
-George