結果 : differentiate between g code and m code