C18123 asm error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C18123 asm error

Jump to solution
397 Views
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

Labels (1)
0 Kudos
1 Solution
272 Views
IlConte
Contributor IV

Solved the problem with

lda @FlashData,x

View solution in original post

0 Kudos
1 Reply
273 Views
IlConte
Contributor IV

Solved the problem with

lda @FlashData,x

0 Kudos