11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

•••••••• _ ............... h .............. .23 1615 o 23 1615 o 23 1615 oR7N7M7***R6N6M6***R5N5M5***R4N4M4**..R3N3*M3***R2N2M2**R1Nl*Ml*RO*NO*MO***ADDRESS REGISTERS OFFSET REGISTERS MODIFIER REGISTERS!UPPER FILELOWER FILE• Written as don't care; read as zeroFigure 4-3 AGU Programming Model4.3.1 Address Register Flies (RO - R3 and R4 - R7)The eight 16-bit address registers, RO - R7, can contain addresses or general-purposedata. The 16-bit address in a selected address register is used in the calculation <strong>of</strong> theeffective address <strong>of</strong> an operand. When supporting parallel X and Y data memory moves,the address registers must be thought <strong>of</strong> as two separate files, RO - R3 and R4 - R7. Thecontents <strong>of</strong> an Rn may point directly to data or may be <strong>of</strong>fset. In addition, Rn can be preupdatedor post-updated according to the addressing mode selected. If an Rn is updated,modifier registers, Mn, are always used to specify the type <strong>of</strong> update arithmetic. Offsetregisters, Nn, are used for the update-by-<strong>of</strong>fset addressing modes. The address registermodification is performed by one <strong>of</strong> the two modulo arithmetic units. Most addressingmodes modify the selected address register in a read-modify-write fashion; the addressregister is read, its contents are modified by the associated modulo arithmetic unit, andthe register is written with the appropriate output <strong>of</strong> the modulo arithmetic unit. The form<strong>of</strong> address register modification performed by the modulo arithmetic unit is controlled bythe contents <strong>of</strong> the <strong>of</strong>fset and modifier registers discussed in the following paragraphs. Addressregisters are not affected by a processor reset.4.3.2 Offset Register Files (NO - N3 and N4 - N7)The eight 16-bit <strong>of</strong>fset registers, NO - N7, can contain <strong>of</strong>fset values used to increment/decrementaddress registers in address register update calculations or can be used for 16-bitgeneral-purpose storage. For example, the contents <strong>of</strong> an <strong>of</strong>fset register can be used tostep through a table at some rate (e.g., five locations per step for waveform generation),or the contents can specify the <strong>of</strong>fset into a table or the base <strong>of</strong> the table for indexed addressing.Each address register, Rn, has its own <strong>of</strong>fset register, Nn, associated with it.Offset registers are not affected by a processor reset.

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

Saved successfully!

Ooh no, something went wrong!