AnsweredAssumed Answered

Code Change ASM to C Code

Question asked by michael lee on Jun 12, 2016

Dear All

 

Below I want to change the ASM to C code.

 

Core is S12P.

 

 

Asm ANDCC # 0x7Fu;  // Logical AND with CCR

Asm JSR Send_Command;  Jump to Subroutine Send_Command Function

Asm SEI;  Set interrupt bit

Asm CLI  Clear Interrupt bit

Asm STOP  STOP

 

Thank BR

Outcomes