AnsweredAssumed Answered

#define assember  program, compiler have an error

Question asked by dong li on Jun 11, 2015
Latest reply on Jun 22, 2015 by Fiona Kuang

#define change(Int) do{ __asm( movb 0,SP , Int);}while(0);

 

when define upper  program, compiler have an error:

error message: C12020:....

 

i know command "movb" not support Relative Addressing Mode , but how to complete this assember statement

Outcomes