摘要 |
The present invention is a method and apparatus for increasing the memory read/write speed with special function registers (SFRs). This method comprises the steps of: (1) connecting additional external memory to the processor as expanded memory, (2) mapping the address of expanded memory to the unused SFR address in the processor, and (3) creating a control flag for switching the processor between the ICE mode or the normal mode. When in the ICE mode, the processor still uses extended instructions to perform read/write with expanded memory. Switching back to the normal mode, the processor can use the internal instructions to perform read/write with expanded memory. Using this method, built-in of an internal ICE and the slowing down of read/write during debugging due to the use of an external ICE can be eliminated.
|