| 数据搜索系统,热门电子元器件搜索 |
|
CD00001237 数据表(PDF) 59 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
CD00001237 数据表(HTML) 59 Page - STMicroelectronics |
|
59 / 105 page ![]() ST6215C ST6225C 59/105 INSTRUCTION SET (Cont’d) Arithmetic and Logic. These instructions are used to perform arithmetic calculations and logic operations. In AND, ADD, CP, SUB instructions one operand is always the accumulator while, de- pending on the addressing mode, the other can be either a data space memory location or an imme- diate value. In CLR, DEC, INC instructions the op- erand can be any of the 256 data space address- es. In COM, RLC, SLA the operand is always the accumulator. Table 17. Arithmetic & Logic Instructions Notes: X,Y Index Registers V, W Short Direct Registers Δ Affected # Immediate data (stored in ROM memory) * Not Affected rr Data space register Instruction Addressing Mode Bytes Cycles Flags ZC ADD A, (X) Indirect 1 4 ΔΔ ADD A, (Y) Indirect 1 4 ΔΔ ADD A, rr Direct 2 4 ΔΔ ADDI A, #N Immediate 2 4 ΔΔ AND A, (X) Indirect 1 4 ΔΔ AND A, (Y) Indirect 1 4 ΔΔ AND A, rr Direct 2 4 ΔΔ ANDI A, #N Immediate 2 4 ΔΔ CLR A Short Direct 2 4 ΔΔ CLR r Direct 3 4 * * COM A Inherent 1 4 ΔΔ CP A, (X) Indirect 1 4 ΔΔ CP A, (Y) Indirect 1 4 ΔΔ CP A, rr Direct 2 4 ΔΔ CPI A, #N Immediate 2 4 ΔΔ DEC X Short Direct 1 4 Δ * DEC Y Short Direct 1 4 Δ * DEC V Short Direct 1 4 Δ * DEC W Short Direct 1 4 Δ * DEC A Direct 2 4 Δ * DEC rr Direct 2 4 Δ * DEC (X) Indirect 1 4 Δ * DEC (Y) Indirect 1 4 Δ * INC X Short Direct 1 4 Δ * INC Y Short Direct 1 4 Δ * INC V Short Direct 1 4 Δ * INC W Short Direct 1 4 Δ * INC A Direct 2 4 Δ * INC rr Direct 2 4 Δ * INC (X) Indirect 1 4 Δ * INC (Y) Indirect 1 4 Δ * RLC A Inherent 1 4 ΔΔ SLA A Inherent 2 4 ΔΔ SUB A, (X) Indirect 1 4 ΔΔ SUB A, (Y) Indirect 1 4 ΔΔ SUB A, rr Direct 2 4 ΔΔ SUBI A, #N Immediate 2 4 ΔΔ 1 |
|
链接网址 |
| 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 |