| Electronic Components Datasheet Search |
|
AT75C Datasheet(PDF) 34 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT75C Datasheet(HTML) 34 Page - ATMEL Corporation |
|
34 / 171 page ![]() 34 AT75C DSP Subsystem 1368C–INTAP–08/02 Flags Notation The effect of each instruction on the flags is described by the following table: For flag definitions, refer to “Status Registers” on page 23. Conventions 1. The arithmetic operations are performed in 2’s complement. 2. The post-modification of rN registers is supported with the following instructions: – instructions that use an indirect addressing mode – modr – norm – max, maxd, min (in r0 only) In these instructions the contents of rN register are post-modified as follows: – rN, rN + 1, rN - 1, rN + step – Options controlled by configuration registers cfgX: Step size: STEPI, STEPJ – 2’s complement 7 bits (-64 to 63) Modulo size: MODI, MODJ – unsigned 9 bits (1 to 512) – Options controlled by st2: For each rN register, it should be defined if MODULO is enabled or disabled. In order to use MODI or MODJ the relative Mn bit must be set (the only exception for this is at modr instruction, when there is an optional field for disabling the modulo). For more details on the modulo arithmetic unit, refer to “Modulo Modifier” on page 15. Whenever the operand field in the instruction includes the option of (rN), it means that the rN can be post-modified in one of the four options. Assembler syntax: (rN), (rN)+, (rN)-, (rN) + s For example: mov(r0)-, r1 mac(r4)+, (r0) + s, a0 add(r2), al modr(r5)- 3. Direct addressing mode assembler syntax: The syntax when a one-word instruction is used is either direct address or [direct address]. 4. The MSP of the P register (ph) is a write-only register. The 32-bit P register is updated after a multiply operation and can be read only by transferring it to the ALU; that is, it can be moved into aX or be an operand for arithmetic and logic operations. When transferring it into the ALU, it is sign-extended to 36 bits. This enables the user to store and restore the P register. 5. The P register is used as a source operand for different instructions: as one of the REG registers; at moda instruction – pacr function; at multiply instructions where the P register is added or subtracted from one of the accumulators. When using the P register as a source operand, it always means using the “shifted P register”. Shifted P register means that the P register is sign-extended into 36 bits and then shifted as defined at the PS field, status register st1. In shift right, the sign is extended, whereas in shift left a zero is appended into the LSB. The x The flag is affected by the execution of the instruction. – The flag is not affected by the instruction. 1 or 0 The flag is unconditionally set or cleared by the instruction. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |