摘要 |
A jump instruction coding method and system are provided, the method and system can both obtain a LOOP_BEGIN instruction from a memory in advance relative to the operation cycle when executing a loop; finish the obtainment of the LOOP_BEGIN instruction when the execution of the last instruction of a loop body is completed. The method and system simplify hardware logic from the software level via pre-processing assembly coding and guarantee to solve the problem of PIPELINE needing to be suspended during loop retrace without adding additional logic, thus saving much hardware logic and hardware resources, conserving area and cost, simplifying implementation and enhancing the reliability of the implemented scheme. |