Compiler give error message for following codes. A1174E: "Data transfer offset 0x00000102 out of range. Permitted values are 0x00..0x1F"
LDR R1,=USB_BASE LDRB R0,[R1,#USB0_CSRL0] ; Error code is A1174E !!!! USB_BASE EQU 0x40050000 USB0_CSRL0 EQU 0x102
But compiler dont give any error if i write this program thats way
USB_BASE EQU 0x40050000 USB0_CSRL0 EQU 0x102 LDR R1,=USB_BASE LDRB R0,[R1,#USB0_CSRL0] ; Error code is A1174E !!!!
What is wrong?
I am looking reliable document.
But that doesn't help if you're so intent on proving your point that you only read those parts of a single document that appear to support it, without looking left and right.
In the case at hand, for starters you're overlooking section 3.3.8 of same document.
I am looking but i dont see.
.N and .W suffix ok but where is writing offset range for the 0x00 ... 0x1f.
infocenter.arm.com/.../QRC0006_UAL16.pdf