Parse instructions.