AnsweredAssumed Answered

"offset out of range" error when assembling code for Cortex-M3 based Microcontroller

Question asked by PatrickN Employee on Nov 26, 2010
Latest reply on Nov 26, 2010 by PatrickN

I am writing some code in assembler using the gcc assembler for a Cortex-M3 based Microcontroller, and am getting an error that I don’t understand.


This is one of the failing lines….


       ldr r1, =0x00


and this is the error that gets reported.


Error: offset out of range


What does this mean, and how do I resolve it?