This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Getting the error for the "Relative Addressing" for the GCC-9.3.1 compiler.

Hello Folks,

Currently I am using the compiler version GCC-9.3.1, I am getting the below error for the same,

C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s: Assembler messages:
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2145: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2147: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2155: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2155: Error: cannot use register index with PC-relative addressing -- `str r3,r4!'
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2532: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2533: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2533: Error: cannot use register index with PC-relative addressing -- `str r1,r3!'
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2613: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2615: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2623: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2623: Error: cannot use register index with PC-relative addressing -- `str r3,r1!'
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2715: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2720: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2726: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2726: Error: cannot use register index with PC-relative addressing -- `str r3,r2!'
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2792: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2793: Warning: missing operand; zero assumed
C:\Users\HANA27~1\AppData\Local\Temp\cc8t0JLc.s:2793: Error: cannot use register index with PC-relative addressing -- `str r1,r3!'

Can I get the compiler option for the same?

Harish