关键词:虚拟实验平台;IA32逻辑功能;仿真;封装;移植
Simulation of IA32 Logic Function
Abstract
With the help of a virtual experiment witch is created with visual c++ language ,the project simulates IA32 and demonstrates its logic function. The platform provides a standard criterion, witch we can follow to design our cpu,memory and many other hardware into abstract components class ,and we package them in dynamic link library. The DLL library contains the model of cpu, we migrant a library of virtual machine bochs to realize its logic function.
We migrant bochs to carry out the important function of cpu model ,in order to satisfy our need we select and amend some useful instruction and then encapsule it into a library witch is transferred by DLL. In cpu library of bochs ,we should amend instruction of cpu_loop and append something in stubs library.