Back to results
US 5,535,331 AGranted
Processor condition sensing circuits, systems and methods
AssigneeTexas Instruments Incorporated
InventorsGary L. Swoboda, Peter N. Ehlig
Life of this patent
Estimating the term…
Abstract
Operations of a data processing device are traced by detecting a jump address in the program counter sequence, and pushing the jump address onto a trace stack.
Claims16
A data processing device comprising:
- a program counter, a program counter stack, a trace stack and means for causing the program counter to count through a series of addresses;
- and
- a control circuit for entering a jump address into said program counter in substitution for a current address in the series, thereby establishing a discontinuity, said control circuit including means for pushing the current address onto the program counter stack and the jump address onto the trace stack.
A data processing device, comprising:
- a program counter for holding an address of an instruction currently being processed by said data processing device;
- means for causing said program counter ordinarily to count through a continuous sequence of addresses;
- a control circuit for entering into said program counter an out-of-sequence address that establishes within the sequence of program counter addresses an address discontinuity defined by the out-of-sequence address and the address which immediately preceded the out-of-sequence address in the program counter;
- a program counter stack, and means for selectively pushing an address from said program counter onto said program counter stack;
- and
- a trace stack, said control circuit including means responsive to the address discontinuity for pushing the out-of-sequence address onto said trace stack.
3 more elements
A method of tracing operations of a data processing device having a program counter which normally counts through a continuous sequence of addresses at which instructions to be processed by the data processing device reside, comprising the steps of:
- providing the data processing device with a trace stack which is separate from a program counter stack of the data processing device;
- determining whether a program counter address is an out-of-sequence address that establishes within the sequence of program counter addresses an address discontinuity defined by the out-of-sequence address and the address which immediately precedes the out-of-sequence address;
- and
- responding to a detected address discontinuity by pushing the out-of-sequence address onto the trace stack.
1 more element
Dependencies are inferred from the claim text.