Prefetching Mechanism That Accommodates a Self-Modifying Code
Original Publication Date: 1984-Dec-01
Included in the Prior Art Database: 2005-Feb-05
A technique is described whereby control circuits are used in conjunction with computer storage circuits to provide a prefetching operation that allows self-modifying code. Assuming that prefetching operates on the principle that programs are executed sequentially through memory, storage circuitry is then able to prefetch instructions ahead of time. The access time is therefore reduced since the prefetched instructions are stored in high speed buffers. This procedure continues as long as the sequential flow of instructions is not broken by a branch or a jump. In a basic prefetching concept, when the central processing unit (CPU) requests an instruction from the storage card 10, as shown in Fig.