Memory operand constraint

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory operand constraint

947件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
0 返答(返信)