C18123 asm error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

C18123 asm error

跳至解决方案
777 次查看
IlConte
Contributor IV

I use CW 10.6 for microcontroller and S08PT60 processor,

I write a assembler code in c code.

 

When i write this simple code:

 

uint32_t FlashData;

 

void FlashSubRom(void)

{

 

    asm {

   

    lda      FlashData, x

    sta     NVM_FCCOBLO

    }

I have error C18123

 

If I write

   asm {

   

    lda      3, x

    sta     NVM_FCCOBLO

    }

No error i segnalated   

   

Please help me ùùThanks

 

Stefano

标签 (1)
0 项奖励
回复
1 解答
652 次查看
IlConte
Contributor IV

Solved the problem with

lda @FlashData,x

在原帖中查看解决方案

0 项奖励
回复
1 回复
653 次查看
IlConte
Contributor IV

Solved the problem with

lda @FlashData,x

0 项奖励
回复