3.3.15.1.3 Restrictions on the REPEAT Instruction
Any instruction can immediately follow a REPEAT except for the following:
- Program Flow Control instructions (any branch, compare and skip, subroutine calls, returns, etc.)
- Another REPEAT or DTB instruction
- DISICTL, ULNK, LNK,
PWRSAV or RESET instructionNote: Some instructions and/or Instruction Addressing modes can be executed within a
REPEAT
loop, but it might not make sense to repeat all instructions.