摘要 |
A memory control arrangement includes a microcontroller for performing a program memory operation and a data memory operation. The microcontroller produces address signals and a control output indicating first and second operating conditions. A program memory having a first range of memory locations stores a first program and is connected to the address lines for being addressed by the microcontroller. A data memory has second and third ranges of memory locations for storing, respectively, a second program and data for use by program variables. The data memory is connected to the address lines for selectively addressing the second and third ranges of memory locations by the address signals from the microcontroller. A memory range controller is coupled to the control output of the microcontroller for receiving the control signal and is responsive to the first operating condition indicated by the control signal for coupling the address signals to the first range of memory locations in the program memory during the program memory operation of the microcontroller and to the third range of memory locations in the data memory during the data memory operation of the microcontroller. The memory range controller is further responsive to the second operating condition indicated by the control signal for coupling the address signals to the second range of memory locations in the data memory during the program memory operation of the microcontroller and to the third range of memory locations in the data memory during the data memory operation of the controller. |