| 전자부품 데이터시트 검색엔진 |
|
ATPL00B 데이터시트(PDF) 31 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATPL00B 데이터시트(HTML) 31 Page - ATMEL Corporation |
|
31 / 152 page ![]() Atmel ATPL00B [datasheet] 43028A-ATPL - 9/12 31 Table 4-3. Arithmetic Instructions MNEMONIC OPERATION ADDRESSING MODES EXECUTION DIR IND REG IMM TIMES (mc) ADD A,<byte> A = A + <byte> X X X X 1 ADD A,<byte> A = A + <byte> + C X X X X 1 SUBB A,<byte> A = A – <byte> – C X X X X 1 INC A A = A + 1 Accumulator only 1 INC<byte> <byte> = <byte> + 1 X X X 1 INC DPTR DPTR = DPTR + 1 Data Pointer only 1 DEC A A = A – 1 Accumulator only 1 DEC<byte> <byte> = <byte> – 1 X X X 1 MUL AB B*A = B x A ACC and B only 2 DIV AB A = Int[A/B] ACC and B only 2 B = Mod[A/B] DA A Decimal Adjust Accumulator only 1 4.4.4 Logical Instructions Table 4-4 shows the list of logical instructions. The instructions that perform Boolean operations (AND, OR, Exclusive OR, CPL) on bytes perform the operation on a bit-by-bit basis. That is, if the Accumulator contains 00110101B and byte contains 01010011B, then: ANL A, <byte> will leave the Accumulator holding 00010001B. The addressing modes that can be used to access the <byte> operand are listed in Table 4-4. The ANL A, <byte> instruction may take any of the forms: ANL A,6FH (direct addressing) ANL A,@R0 (indirect addressing) ANL A,R5 (register addressing) ANL A,#42H (immediate constant) All of the logical instructions execute in 1mc (0.3us using a 10MHz clock). |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |