I want to make my assembler code more readable and wanted to use something like #define (EQU).
I use "Gnu-AS".
Example:
Code: Select all
#define BASE 0xFE000000
...
...
ldr r0,= BASE
...
...Code: Select all
build/main.o: in function `wait2$':
(.init+0x8044): undefined reference to `BASE'
What options are there with the Gnu-AS?
Greetings, Matthias