LPC1769 assembly language: STR to memory reserved using .word

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by cktham on Thu Jun 09 07:03:19 MST 2011
The GNU assembler version of DCD used in ARM assembler to reserve a word of memory is .word

However, when I do the following:
          .word 0
LDR R0, =var1
STR R1, [R0]
which is is supposed to write the contents of R1 into the var1 memory location, I get an ImpreciseErr.

CodeRed Support (Rob) had tried to help me in one of the threads, but I couldn't post a response to him for some reason, so I'm opening this query to the community.

I hope someone can provide some pointers on how to store to a memory location, which is supposed to be something quite elementary in an assembly language program.