an instruction scheduler was designed and implemented.The scheduler mainly deals with the assembly code and the scheduler arithmetic is based on data flow.The scheduler focuses on the Diamond processor which is designed and implemented by the Institute of Microelectronics of Chinese Academy of Sciences.The experimental results show that because of the instruction scheduler the programs performance is effectively improved.