Memory operand constraint

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

Memory operand constraint

408 Views
Nagarjuna
Contributor I

Hi,

 

 How to replace Memory operand constraint "m" in Codewarrior for HCS12 controller.

 

"m" (*((unsigned char *)&log_tooth+1)), \  // byte 3:**2**:1:0
 "m" (*((unsigned int *)&log_tooth+1)), \ // bytes 3:2:**1**:**0**
 "m" (synch),  \
 "m" (flagbyte1) ;

 

While compiling the above code in codewarrior i am getting the below compiler error.

 

Error : C12070 Identifier expected.

 

 

 As Memory operand constraint is not supported in codewarrior, can someone suggest the solution for the above problem.

 

Regards,

Nagarjuna Reddy

Labels (1)
0 Kudos
0 Replies