11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

REP Repeat Next Instruction REPNotes: If A or B is specified as the destination operand, the following sequence <strong>of</strong> eventstakes place:1. The S bit is computed according to its definition (See Section A.5 CON­DITION CODE COMPUTATION)2. The accumulator value is scaled according to the scaling mode bits SOand S1 in the status register (SR).3. If the accumulator extension is in use, the output <strong>of</strong> the shifter is limitedto the maximum positive or negative saturation constant, and the L bit isset.4. The LS 16 bits <strong>of</strong> the resulting 24 bit value is loaded into the loopcounter (LC). The original contents <strong>of</strong> A or B are not changed.If the system stack register SSH is specified as a source operand, the system stackpointer (SP) is postdecremented by 1 after SSH has been read.Timing: 4 oscillator clock cyclesMemory: 1 program word-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!