Texas Instruments TMS320C3x ユーザーズマニュアル
![Texas Instruments](https://files.manualsbrain.com/attachments/b46f99d826b2b0e0e5f558c5fb6483942eb9216b/common/fit/150/50/c15ea36eb1fb1cce99a3b94668675bfc78ce832d8d727d9a7bb51a125510/brand_logo.gif)
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
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 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.
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.
bypassed when the program counter encounters the repeat end (RE) ad-
dress.