Follow is assembly code:
.sect "BootMem"
.align
.clink
FimmwareUp
; bic.b RTCIE,&RTCCTL ; disable hourly interruption
calla #ClrBootRAM; clear memory
follow is Liker file:
MEMORY
{
BootMem_SEC : origin = 0x2100, length = 0x02FF
}
SECTIONS
{
.text:BootMem > BootMem_SEC
}
these code can not work, the code is not located after 0x2100.
Also if add code “ bic.b RTCIE,&RTCCTL “
there is an error: [E0004] Illegal un-relocatable operand ASMEE.s /FisrtProject line 941 C/C++ Problem
why ?