AnsweredAssumed Answered

C18123 asm error

Question asked by Stefano De Blasiis on Jun 3, 2015
Latest reply on Jun 4, 2015 by Stefano De Blasiis

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

Outcomes