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

Using Ram function written in assembler problem

Hi all,

I must write one function in assembler and execute it from internal RAM on LPC2212.
How can I do that?

I am trying:
AREA ?PR?RAMFunc, ERAM
RSEG ?PR?RAMFunc

PUBLIC RAMFunc?A
PUBLIC RAMFunc?T
; veneer code for Thumb entry
RAMFunc?T PROC CODE16
bx r15
nop
ENDP

RAMFunc?A PROC CODE32

stmfd sp!,{r0-r12,lr}

ldr r0,=ioclr0

........


ENDP

But I received error SYNTAX ERROR on AREA line.:(
What is the problem?
I really need help!

0