Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TMS320C2x DSP - the repeat counter (rptc) is an 8-bit counter, which when loaded http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
      The repeat counter (RPTC) is an 8-bit counter, which when loaded
      with a number N, causes the next single instruction to be executed
      (N +1) times. The RPTC can be loaded with a number from 0 to 255
      using either the RPT (repeat) or RPTK (repeat immediate)
      instructions. This results in a maximum of 256 executions of a given
      instruction. RPTC is cleared by reset.

      The repeat feature can be used with instructions such as
      multiply/accumulates (MAC/MACD), block moves (BLKD/BLKP), I/O
      transfers (IN/OUT), and table read/writes (TBLR/TBLW). These
      instructions, which are normally multi-cycle, are pipelined when
      using the repeat feature, and effectively become single-cycle
      instructions. For example, the table read instruction may take three
      or more cycles to execute, but when repeated, a table location can
      be read every cycle. Note that not all instructions can be repeated.

See Also: rpt mac in out

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson