摘要 |
A method of processing data in a device having a processor with an internal memory, an external memory containing data to be processed, and a bus interconnecting the processor and the external memory. First, the size of the actually available free memory is determined and compared to the amount of data to be processed. If the amount of data to be processed does not exceed the size of the free processor memory then all data is transferred to the processor memory. If the amount of data to be processed exceeds the size of the free processor memory then portions of data each not exceeding the free internal memory are transferred one at a time to the internal processor memory for processing. After processing, the processed data are returned, and a new portion of data is transferred to the internal processor memory for processing.
|