Texas Instruments TMS320C3x 사용자 설명서

다운로드
페이지 757
CPU Multiport Register File
3-17
CPU Registers
3.1.11 Repeat-Counter (RC) and Block-Repeat (RS, RE) Registers
The repeat-counter (RC) register is a 32-bit register that specifies the number
of times a block of code is to be repeated when a block repeat is performed.
If RC contains the number 
n, the loop is executed n + 1 times.
The 32-bit repeat start-address (RS) register contains the starting address of
the program-memory block to be repeated when the CPU is operating in the
repeat mode.
The 32-bit repeat end-address (RE) register contains the ending address of
the program-memory block to be repeated when the CPU is operating in the
repeat mode.
Note:
RE < RS
If RE< RS and the block mode is enabled, the code between RE and RS is
bypassed when the program counter encounters the repeat end (RE) ad-
dress.