Im trying to use several registers on the M4/tm4c1294 in a way to avoid write every time the same register number.
The question is how to make the number of the register and if the reference is correct.
Let say Im working with the RCGCGPIO, so from the data sheet, the RCGCGPIO has the base address
and the offset
so the address to work for would be
The general view of the assembler code is
RCGCGPIO_ADDRES EQU 0x400FE608 /*Making the mask at start AREA....CODE MORE CODE LDR R1,=RCGCGPIO_ADDRES ORR R0.....
The reference and the adress is valid?