Code: Select all
ldw r1, cp[r10]
if I try:../src/test.S:29: Error: A00049 no format matching for instruction: 'ldw'
Code: Select all
LDW r1, cp, r10
What's up?../src/test.S:31: Error: A00000 Use of "LDW" outside of architectural syntax mode.
Code: Select all
ldw r1, cp[r10]
if I try:../src/test.S:29: Error: A00049 no format matching for instruction: 'ldw'
Code: Select all
LDW r1, cp, r10
What's up?../src/test.S:31: Error: A00000 Use of "LDW" outside of architectural syntax mode.
Code: Select all
ldaw r11,cp[0]
ldw r1,r11[r10]
There's no mechanism built into the assembler itself. However assembly files with an uppercase .S extension are run through the C preprocessor, so you could use a preprocessor macro instead:MFlamer wrote:Is there a way to set a register alias?
Code: Select all
#define A r0