The invention relates to a visit method for sharing
data storing space of a
single chip multi-processor, which uses the
data space sharing of high 128 bytes in each sub-processor for transmission of command and data among the processors, and a sharing
data memory interruption (SDMI) is added in each sub-processor, and the SDMI and an
arbiter are effectively combined as a visit mechanism of a
data sharing memory for solving competition which exists in
data exchange among each sub-processor. The visit of an entire
single chip multi-processor to the
data sharing memory is only judged by the
arbiter, and is realized through the style of interruption. The
handshaking signal between the
arbiter and each sub-processor adopts on-
chip style, and the transmission speed is fast, and the resource which is occupied in little, which is convenient for integration and control. Each sub-processor can not only work separately, but also can coordinately work with other processors. Each micro processor is substantially a relatively simple single-thread micro processor, and a plurality of the sub-processors parallel carry out program codes, which have relatively high command level parallelism. The method can be applied to a multi-processor
system of MCS-51
command system, and can be applied to other fields of multi-microcontrollers, and multi-microprocessors and the like.