section 7 - Index of
section 7 - Index of section 7 - Index of
REP Repeat Next Instruction REPExplanation of Example: Prior to execution, the 24-bit XO register contains the value$000100, and the 16-bit loop counter (LC) register contains the value $0000. The executionof the REP XO instruction takes the 24-bit value in the XO register, truncates the MS8 bits, and stores the 16 LS bits in the 16-bit loop counter (LC) register. Thus, the singlewordMAC instruction immediately following the REP instruction is repeated $100 times.Condition Codes:15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0I LF I OM 1 T 1** 1 S1 1 so 1 11 1 10 I S 1 L 1 E 1 U N 1 z~ MR ~ ~ . CCRFor source operand A or B:S - Computed according to the definition. See Notes on page A-255.L - Set if data limiting occurred. See Notes on page A-255.For other source operands:The condition code bits are not affected.v 1 ~I
REPRepeat Next InstructionREPInstruction Format:REP X:eaREP Y:eaOpcode:2310 0 0 0 0 1 116 15 8 7o I 0 1 M M M R R Rioos 1 0 0 0 0 01Instruction Fields:ea=6-bit Effective Address=MMMRRR,EffectiveAddressing Mode(Rn)-Nn(Rn)+Nn(Rn)-(Rn)+(Rn)(Rn+Nn)-(Rn)MMMRRRo 0 0 r r0 1 r1 0 r ro 1 1 r r1 0 0 r r101rrr1 1 1 r r rMemory Space sX Memory 0Y Memory 1where "rrr" refers to an address register RO-R7Timing: 4+mv oscillator clock cyclesMemory: 1 program word-
- Page 439 and 440: L: Long Memory Data Move L:Example:
- Page 441 and 442: L: Long Memory Data Move L:Instruct
- Page 443 and 444: X: Y: xv Memory Data Move X: Y:Exam
- Page 445 and 446: X: Y: xv Memory Data Move X: Y:S1 D
- Page 447 and 448: MOVEC Move Control Register MOVECst
- Page 449 and 450: MOVEC Move Control Register MOVECCo
- Page 451 and 452: MOVECMove Control RegisterMOVECInst
- Page 453 and 454: MOVEC Move Control Register MOVECTi
- Page 455 and 456: MOVEM Move Program Memory MOVEMoper
- Page 457 and 458: MOVEM Move Program Memory MOVEMInst
- Page 459 and 460: MOVEMMove Program MemoryMOVEMInstru
- Page 461 and 462: MOVEP Move Peripheral Data MOVEPist
- Page 463 and 464: MOVEP Move Peripheral Data MOVEPCon
- Page 465 and 466: MOVEP Move Peripheral Data MOVEPIns
- Page 467 and 468: MOVEP Move Peripheral Data MOVEPIns
- Page 469 and 470: MPY Signed Multiply MPYExplanation
- Page 471 and 472: MPY Signed Multiply MPYInstruction
- Page 473 and 474: MPYR Signed Multiply and Round MPYR
- Page 475 and 476: MPYR Signed Multiply and Round MPYR
- Page 477 and 478: NEGNegate AccumulatorNEGInstruction
- Page 479 and 480: NOPNo OperationNOPInstruction Forma
- Page 481 and 482: NORM Normalize Accumulator Iteratio
- Page 483 and 484: NOTLogical ComplementNOTInstruction
- Page 485 and 486: ORLogical Inclusive ORORInstruction
- Page 487 and 488: ORI OR Immediate with Control Regis
- Page 489: REP Repeat Next Instruction REPRest
- Page 493 and 494: REPRepeat Next InstructionREPInstru
- Page 495 and 496: REP Repeat Next Instruction REPNote
- Page 497 and 498: RESETReset On-Chip Peripheral Devic
- Page 499 and 500: RND Round Accumulator RNDConvergent
- Page 501 and 502: RNDRound AccumulatorRNDInstruction
- Page 503 and 504: ROL Rotate Left ROLCondition Codes:
- Page 505 and 506: ROR Rotate Right RORCondition Codes
- Page 507 and 508: RTIReturn from InterruptRTIConditio
- Page 509 and 510: RTSReturn from SubroutineRTSInstruc
- Page 511 and 512: sec Subtract Long with Carry secExp
- Page 513 and 514: secSubtract Long with CarrysecInstr
- Page 515 and 516: STOPStop Instruction ProcessingSTOP
- Page 517 and 518: SUB Subtract SUBCondition Codes:S -
- Page 519 and 520: SUBL Shift Left and Subtract Accumu
- Page 521 and 522: SUBR Shift Right and Subtract Accum
- Page 523 and 524: SWISoftware InterruptSWICondition C
- Page 525 and 526: Tee Transfer Conditionally Teetion
- Page 527 and 528: Tee Transfer Conditionally TeeInstr
- Page 529 and 530: TFR Transfer Data ALU Register TFRC
- Page 531 and 532: TSTTest AccumulatorTSTInstruction F
- Page 533 and 534: WAIT Wait for Interrupt WAITConditi
- Page 535 and 536: including the number of words per i
- Page 537 and 538: 5. Compute final results.Thus, base
- Page 539 and 540: JLC (R2+N2)will requireand will exe
REPRepeat Next InstructionREPInstruction Format:REP X:eaREP Y:eaOpcode:2310 0 0 0 0 1 116 15 8 7o I 0 1 M M M R R Rioos 1 0 0 0 0 01Instruction Fields:ea=6-bit Effective Address=MMMRRR,EffectiveAddressing Mode(Rn)-Nn(Rn)+Nn(Rn)-(Rn)+(Rn)(Rn+Nn)-(Rn)MMMRRRo 0 0 r r0 1 r1 0 r ro 1 1 r r1 0 0 r r101rrr1 1 1 r r rMemory Space sX Memory 0Y Memory 1where "rrr" refers to an address register RO-R7Timing: 4+mv oscillator clock cyclesMemory: 1 program word-