Greetings,
It was my understanding that there was an instruction, mov32, that would allow you to move a 32-bit value into a register. However, when I try to use this instruction I get a compiler error. It seems that the compiler does not recognize the instruction. I therefore decided to write a macro that would move a 32-bit value into a register. The code that I have written is shown below, but I am having some trouble compiling. I would appreciate any help with this code snippet.
movw .macro rx, n1, n2
mov rx, #n1, lsl #16
orr rx, rx, #n2
.endm
Kind Regards,
Willis