ULP - Error: relocation out of range
Posted: Fri Apr 12, 2019 2:18 pm
Hello,
I am writing some assembly code for the Ultra Low Processor. Suddenly at one specific point in the code if I try to load the content of a global variable into a register I get this weird error:
I am loading ind storing data in those variables all the time. But suddenly at this specific position in the code it won't compile...
I could not find this error documented anywhere so help would be appreciated.
Thank you so much!
I am writing some assembly code for the Ultra Low Processor. Suddenly at one specific point in the code if I try to load the content of a global variable into a register I get this weird error:
This is the really unfancy code snippet that I have been using all over the place...adc.ulp.pS: Assembler messages:
adc.ulp.pS:241: Error: relocation out of range
make[1]: *** [adc.ulp.o] Error 1
make: *** [component-main-build] Error 2
Code: Select all
MOVE R0, counter
LD R0, R0, 0
I could not find this error documented anywhere so help would be appreciated.
Thank you so much!