generate an illigal operation

Discussion created by ToBeNoOne on Jun 4, 2010
Latest reply on Jun 14, 2010 by Jari Viitanen

Dear All:


i'm now using the 9s08dz32. i want to generate an illigal operation to force the mcu to reset. when in asm, the code looks like this:

ILOP        MACRO      ;
            DC.B    $8d             ; this is illegal operation code
            ENDM        ;

but i don't know how to implement this code into C.


could anyone help me?