| Electronic Components Datasheet Search |
|
UPD17P136ACT Datasheet(PDF) 105 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT Datasheet(HTML) 105 Page - NEC |
|
105 / 292 page ![]() CHAPTER 11 ARITHMETIC AND LOGIC UNIT (ALU) 86 Table 11-1. List of ALU Instructions (1/2) ALU function Instruction Operation Explanation Arithmetic Addition ADD r, m (r) ← (r) + (m) Adds contents of general register and data memory. operations Result is stored in general register. ADD m, #n4 (m) ← (m) + n4 Adds immediate data to contents of data memory. Result is stored in data memory. ADDC r, m (r) ← (r) + (m) + CY Adds contents of general register, data memory and carry flag. Result is stored in general register. ADDC m, (m) ← (m) + n4 + CY Adds immediate data, contents of data memory and carry #n4 flag. Result is stored in data memory. Subtraction SUB r, m (r) ← (r) – (m) Subtracts contents of data memory from contents of general register. Result is stored in general register. SUB m, #n4 (m) ← (m) – n4 Subtracts immediate data from data memory. Result is stored in data memory. SUBC r, m (r) ← (r) – (m) – CY Subtracts contents of data memory and carry flag from contents of general register. Result is stored in general register. SUBC m, (m) ← (m) – n4 – CY Subtracts immediate data and carry flag from data memory. #n4 Result is stored in data memory. Logical Logical OR r, m (r) ← (r) v (m) OR operation is performed on contents of general register operations OR and data memory. Result is stored in general register. OR m, #n4 (m) ← (m) v n4 OR operation is performed on immediate data and contents of data memory. Result is stored in data memory. Logical AND r, m (r) ← (r) (m) AND operation is performed on contents of general register AND and data memory. Result is stored in general register. AND m, #n4 (m) ← (m) n4 AND operation is performed on immediate data and contents of data memory. Result is stored in data memory. Logical XOR r, m (r) ← (r) v (m) XOR operation is performed on contents of general register XOR and data memory. Result is stored in general register. XOR m, #n4 (m) ← (m) v n4 XOR operation is performed on immediate data and contents of data memory. Result is stored in data memory. Bit True SKT m, #n CMP ← 0, if (m) n=n, Skips next instruction if all bits in data memory specified by Judgement then skip n are TRUE (1). Result is not stored. False SKF m, #n CMP ← 0, if (m) n=0, Skips next instruction if all bits in data memory specified by then skip n are FALSE (0). Result is not stored. Comparison Equal SKE m, #n4 (m) – n4, skip if zero Skips next instruction if immediate data equals contents of judgement data memory. Result is not stored. Not equal SKNE m, (m) – n4, skip if not Skips next instruction if immediate data is not equal to #n4 zero contents of data memory. Result is not stored. ≥ SKGE m, (m) – n4, skip if not Skips next instruction if contents of data memory is greater #n4 borrow than or equal to immediate data. Result is not stored. < SKLT m, (m) – n4, skip if Skips next instruction if contents of data memory is less #n4 borrow than immediate data. Result is not stored. Rotation Rotate to RORC r Rotate contents of the general register along with the CY the right flag to the right. Result is stored in general register. CY →(r)b3→(r)b2→(r)b1→(r)b0 |
|
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 |