摘要 |
A system, apparatus and method for emulating memory-mapped devices in the development of software where a device is mapped to protected memory space. When an instruction causing an attempted read or write to the protected space occurs, an exception or interrupt occurs, the instruction is analyzed and converted into a function call. The function call is sent to a device simulator for execution. The results of the function call are then used to update the registers of the processor and execution of application program will resume at a subsequent instruction.
|