Designing instruction set