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!