DSP can perform special processing as shown below.
MVI Imm,[RA0] ; Set the external memory transfer start address DMA D0,[PRG],SImm ; Set the number of transfer words, start transfer MVI Imm,[PC] ; Set the program execution start address
MVI Imm,[LOP] ; Set the number of repetitions LPS ; Repeat execution command ### ; This command is executed repeatedly.
Figure 4.4 Execution of subroutine program