| Electronic Components Datasheet Search |
|
TMS320F Datasheet(PDF) 274 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TMS320F Datasheet(HTML) 274 Page - Texas Instruments |
|
274 / 389 page ![]() SUB Subtract From Accumulator 7-174 Execution Increment PC, then ... Event Addressing mode (ACC) – ((data-memory address) 2shift ) → ACC Direct or indirect (ACC) – ( (data-memory address) 216 ) → ACC Direct or indirect (shift of 16) (ACC) – k → ACC Short immediate (ACC) – lk 2shift → ACC Long immediate Status Bits Affected by Affects Addressing mode OVM and SXM OV and C Direct or indirect OVM OV and C Short immediate OVM and SXM OV and C Long immediate Description In direct, indirect, and long immediate addressing, the content of the ad- dressed data-memory location or a 16-bit constant are left shifted and sub- tracted from the accumulator. During shifting, low-order bits are zero filled. High-order bits are sign extended if SXM = 1 and zero filled if SXM = 0. The result is then stored in the accumulator. If short immediate addressing is used, an 8-bit positive constant is subtracted from the accumulator. In this case, no shift value may be specified, the subtrac- tion is unaffected by SXM, and the instruction is not repeatable. Normally, the carry bit is cleared (C = 0) if the result of the subtraction gener- ates a borrow; it is set (C = 1) if it does not generate a borrow. However, if a 16-bit shift is specified with the subtraction, the instruction will clear the carry bit if a borrow is generated but will not affect the carry bit otherwise. Words Words Addressing mode 1 Direct, indirect or short immediate 2 Long immediate |
|
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 |