add coe file switch, change D-A instruction to match book