| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
LP5569 bảng dữ liệu(PDF) 37 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
LP5569 bảng dữ liệu(HTML) 37 Page - Texas Instruments |
|
37 / 86 page ![]() 37 LP5569 www.ti.com SNVSAP8 – JULY 2017 Product Folder Links: LP5569 Submit Documentation Feedback Copyright © 2017, Texas Instruments Incorporated (1) This opcode is used with numerical operands (2) This opcode is used with variables. 8.5.2.7 Data Transfer and Arithmetic Instructions Table 13. LP5569 Data Transfer and Arithmetic Instructions INST. Bit [15] Bit [14] Bit [13] Bit [12] Bit [11] Bit [10] Bit [9] Bit [8] Bit [7] Bit [6] Bit [5] Bit [4] Bit [3] Bit [2] Bit [1] Bit [0] ld 1 0 0 1 target variable 0 0 8-bit value 0 add(1) 1 0 0 1 target variable 0 1 8-bit value 0 add(2) 1 0 0 1 target variable 1 1 0 0 0 0 var 1 var 2 sub(1) 1 0 0 1 target variable 1 0 sub(2) 1 0 0 1 target variable 1 1 0 0 0 1 var 1 var 2 8.5.2.7.1 LD This instruction is used to assign a value into a variable; the previous value in that variable is overwritten. Each of the engines has two local variables, called A and B. The variable C is a global variable. NAME VALUE (d) DESCRIPTION target variable 0–2 0 = Variable A 1 = Variable B 2 = Variable C 8-bit value 0–255 Variable value (1) Valid for numerical operands. (2) Valid for variables. 8.5.2.7.2 ADD This operator either adds an 8-bit value to the current value of the target variable, or adds the value of variable 1 (A, B, C, or D) to the value of variable 2 (A, B, C, or D) and stores the result in the register of variable A, B, or C. Variables overflow from 255 to 0. NAME VALUE (d) DESCRIPTION 8-bit value(1) 0–255 The value to be added. target variable 0–2 0 = Variable A 1 = Variable B 2 = Variable C variable 1(2) 0–3 0 = Local variable A 1 = Local variable B 2 = Global variable C 3 = Global variable D variable 2(2) 0–3 0 = Local variable A 1 = Local variable B 2 = Global variable C 3 = Global variable D 8.5.2.7.3 SUB The SUB operator either subtracts an 8-bit value from the current value of the target variable, or subtracts the value of variable 2 (A, B, C, or D) from the value of variable 1 (A, B, C, or D) and stores the result in the register of the target variable (A, B, or C). Variables overflow from 0 to 255. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |