| Electronic Components Datasheet Search |
|
UPD17P136ACT Datasheet(PDF) 112 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT Datasheet(HTML) 112 Page - NEC |
|
112 / 292 page ![]() CHAPTER 11 ARITHMETIC AND LOGIC UNIT (ALU) 93 11.4 LOGICAL OPERATIONS As shown in Table 11-4, logical operations consist of logical OR, logical AND, and logical XOR. Accordingly, the logical operation instructions are OR, AND, and XOR. The OR, AND, and XOR instructions can be performed on either the general register and data memory, or on data memory and immediate data. The operands of these instructions are specified in the same way as for arithmetic operations (“r, m” or “m, #n4”). Logical operations are not affected by the BCD or CMP flags in the program status word (PSWORD). Logical operations do not cause either the CY or Z flag in the program status word (PSWORD) to be set. However, when the index enable flag (IXE) is set (1), index modification is performed using the index register. Table 11-4. Logical Operations Table 11-5. Table of True Values for Logical Operations Logical AND C = A AND B A 0 0 1 1 Logical OR C = A OR B Logical XOR C = A XOR B A 0 0 1 1 B 0 1 0 1 C 0 0 0 1 B 0 1 0 1 C 0 1 1 1 A 0 0 1 1 B 0 1 0 1 C 0 1 1 0 General register and data memory OR r, m Data memory and immediate data OR m, #n4 General register and data memory AND r, m Data memory and immediate data AND m, #n4 General register and data memory XOR r, m Data memory and immediate data XOR m, #n4 Logical operation Logical OR Logical AND Logical XOR |
|
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 |