parse instruction