| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
ATPL00B bảng dữ liệu(PDF) 32 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B bảng dữ liệu(HTML) 32 Page - ATMEL Corporation |
|
32 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 32 Table 4-4. Logical Instructions MNEMONIC OPERATION ADDRESSING MODES EXECUTION DIR IND REG IMM TIME (mc) ANL A,<byte> A = A.AND. <byte> X X X X 1 ANL <byte>,A <byte> = <byte> .AND.A X 1 ANL <byte>,#data <byte> = <byte> .AND.#data X 1 ORL A,<byte> A = A.OR.<byte> X X X X 1 ORL <byte>,A <byte> = <byte> .OR.A X 1 ORL <byte>,#data <byte> = <byte> .OR.#data X 1 XRL A,<byte> A = A.XOR. <byte> X X X X 1 XRL <byte>,A <byte> = <byte> .XOR.A X 1 XRL <byte>,#data <byte> = <byte> .XOR.#data X 1 CLR A A = 00H Accumulator only 1 CPL A A = .NOT.A Accumulator only 1 RL A Rotate ACC Left 1 bit Accumulator only 1 RLC A Rotate Left through Carry Accumulator only 1 RR A Rotate ACC Right 1 bit Accumulator only 1 RRC A Rotate Right through Carry Accumulator only 1 SWAP A Swap Nibbles in A Accumulator only 1 Note that Boolean operations can be performed on any byte in the internal Data Memory space without going through the Accumulator. The XRL <byte>, #data instruction, for example, offers a quick and easy way to invert port bits, as in XRL P1, #0FFH. If the operation is in response to an interrupt, not using the Accumulator saves time and effort to push it onto the stack in the service routine. The Rotate instructions (RL, A, RLC A, etc.) shift the Accumulator 1 bit to the left or right. For a left rotation, the MSB rolls into the LSB position. For a right rotation, the LSB rolls into the MSB position. The SWAP A instruction interchanges the high and low nibbles within the Accumulator. This is a useful operation in BCD manipulations. |
|
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 |