| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 99 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 99 Page - STMicroelectronics |
|
99 / 162 page ![]() PM0044 STM8 instruction set Doc ID 13590 Rev 3 99/162 Syntax DEC dst Operation dst <= dst - 1 Description The destination byte is read, then decremented by one, and the result is written to the destination byte. The destination is either a memory byte or a register. This instruction is compact, and does not affect any registers when used with RAM variables. Instruction overview V ⇒ (A7.M7 + M7.R7 + R7.A7) ⊕ (A6.M6 + M6.R6 + R6.A6) Set if the signed operation generates an overflow, cleared otherwise. N ⇒ R7 Set if bit 7 of the result is set (negative value), cleared otherwise. Z ⇒ R7.R6.R5.R4.R3.R2.R1.R0 Set if the result is zero (0x00), cleared otherwise. Detailed description See also: DECW, INC DEC Decrement DEC mnem dst Affected condition flags VI1 H I0 N Z C DEC Mem V - - - N Z - DEC Reg V - - - N Z - dst Asm cy lgth Op-code(s) ST7 ADEC A 1 1 4A ✗ shortmem DEC $10 1 2 3A XX ✗ longmem DEC $1000 1 4 72 5A MS LS (X) DEC(X) 1 1 7A ✗ (shortoff.X) DEC($10,X) 1 2 6A XX ✗ (longoff,X) DEC($1000,X) 1 4 72 4A MS LS (Y) DEC(Y) 1 2 90 7A ✗ (shortoff,Y) DEC($10,Y) 1 3 90 6A XX ✗ (longoff,Y) DEC($1000,Y) 1 4 90 4A MS LS (shortoff,SP) DEC($10,SP) 1 2 0A XX [shortptr.w] DEC[$10] 4 3 92 3A XX ✗ [longptr.w] DEC[$1000].w 4 4 72 3A MS LS ([shortptr.w],X) DEC([$10],X) 4 3 92 6A XX ✗ ([longptr.w].X] DEC([$1000.w],X) 4 4 72 6A MS LS ([shortptr.w],Y) DEC([$10],Y) 4 3 91 6A XX ✗ |
|
链接网址 |
| 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 |