Instruction decoding mechanism for reducing execution time by earlier detection and replacement of indirect addresses with direct addresses
AssigneeUtek Semiconductor Corporation
InventorKuo Cheng Yu
Life of this patent
Estimating the term…
Abstract
The mechanism includes a virtual address detecting circuit for detecting the virtual address of the instruction code. When a virtual address is detected, an indicating signal is generated, which is then sent to an indirect address register to register the indirect address of the instruction code. Thereafter, an indirect address replacing circuit is used to decode and replace the indirect address registered in and sent from the indirect address register with a direct address. In the absence of the virtual address, the direct address is allowed to pass through the indirect address replacing circuit.
Claims5
An apparatus for decoding an instruction code of a microprocessor, comprising:
- (a) means for reading an instruction code, which is structured to include a virtual address signal coupled with an address signal, wherein said address signal can be either a direct address or an indirect address and said virtual address signal is provided such that its presence indicates that said address signal contained in the instruction code is an indirect address and that its absence indicates that said address signal contained in the instruction code is a direct address;
- (b) a virtual address detecting circuit for receiving said instruction code and detecting the presence of said virtual address signal in said instruction code;
- (c) means provided in said virtual address detecting circuit for generating an indicating signal when said virtual address signal is detected;
- (d) an indirect address register connected to said virtual address detecting circuit for registering an indirect address when said indicating signal is received;
- and
- (e) an address code replacing circuit, which is connected to both said virtual address detecting circuit to receive the address signal and said indirect address register to receive output from said indirect address register, said address code replacing circuit is structured such that it will
- (i) in the absence of said virtual address signal, allow said address signal, which is a direct address, to pass therethrough;
- and
- (ii) in the presence of said virtual address signal, decode said indirect address registered in said indirect address register, and replace it with a corresponding direct address.
Dependencies are inferred from the claim text.