×

INSTRUCTION PROCESSING METHOD OF NETWORK PROCESSOR AND NETWORK PROCESSOR

  • US 20130145122A1
  • Filed: 02/11/2013
  • Published: 06/06/2013
  • Est. Priority Date: 08/30/2010
  • Status: Abandoned Application
First Claim
Patent Images

1. An instruction processing method of a network processor, comprising:

  • when the network processor executes a pre-added combined function call instruction, adding an address of a next instruction of the combined function call instruction to a stack top of a first stack, wherein the first stack is a preset stack used for calling the combined function;

    determining, according to the combined function call instruction, whether an enable flag of each additional feature of the network processor is enabled, and if an enable flag of an additional feature is enabled, adding a function entry address corresponding to the additional feature to the stack top of the first stack; and

    after finishing determining enable flags of all additional features, popping the function entry address from the stack top of the stack, wherein the function entry address is added to the first stack, and executing a function corresponding to a popped function entry address until the address of the next instruction of the combined function call instruction is popped.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×