Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Keil RAM function problem

2006-04-20 by beastkiki

Hi all,
I use Keil uVision 3 with LPC2212.
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!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.