next up previous contents
Next: Sim286 Up: Simulating the x86 Architecture Previous: Simulating the x86 Architecture

Simx86

Figure 2.2 shows the basic model for the Simx86 simulator. The essential entities of a processor are represented by classes in the object model and their relations are shown by the lines joining them. These entities are part of each processor in the x86 family. Processors improve their performance by adding to the functionality of these basic entities. Using this basic model, we intend to evolve our simulators, as the processors of the Intel x86 family evolved, by applying Object Oriented techniques such as inheritance, genericity and polymorphism.

Figure 2.3 illustrates the extension of Simx86 to simulate the 8088 processor. Sim8088 simulated the execution of a COM file. The runSim method of the Proc8088Simulator class fetches one instruction and executes it before fetching the next instruction. Thus, all phases of instruction simulation are sequential.



Michael L. Haungs
1998-09-21