数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0044 数据表(PDF) 74 Page - STMicroelectronics

部件名 PM0044
功能描述  STM8 CPU programming manual
PDF  162 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0044 数据表(HTML) 74 Page - STMicroelectronics

Back Button PM0044 Datasheet HTML 70Page - STMicroelectronics PM0044 Datasheet HTML 71Page - STMicroelectronics PM0044 Datasheet HTML 72Page - STMicroelectronics PM0044 Datasheet HTML 73Page - STMicroelectronics PM0044 Datasheet HTML 74Page - STMicroelectronics PM0044 Datasheet HTML 75Page - STMicroelectronics PM0044 Datasheet HTML 76Page - STMicroelectronics PM0044 Datasheet HTML 77Page - STMicroelectronics PM0044 Datasheet HTML 78Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 162 page
background image
STM8 instruction set
PM0044
74/162
Doc ID 13590 Rev 3
7.4
Instruction set
The following pages give a detailed description of each STM8 instruction.
SWAPW
Swap bytes
-
-
-
-
-
SWAPW X
R0
↔ R8
R1
↔ R9
R2
↔ R10
R3
↔ R11
R4
↔ R12
R5
↔ R13
R6
↔ R14
R7
↔ R15
5E
1
TNZ
Test for
negative or zero
--
-
-
-
TNZ ([$1234.w],X)
CC.N
← R7
CC.Z
← 1 if R=$00
← 0 otherwise
72 6D ww bb
4
TNZW
Test word for
negative or zero
--
-
-
-TNZW X
CC.N
← R15
CC.Z
← 1 if R=$0000
← 0 otherwise
5D
2
TRAP
Software
interrupt
-1
-
1
-
-
-
TRAP
PC
← PC+1
M(SP--)
← PCL
M(SP--)
← PCH
M(SP--)
← PCE
M(SP--)
← YL
M(SP--)
← YH
M(SP--)
← XL
M(SP--)
← XH
M(SP--)
← A
M(SP--)
← CC
PC
← TRAP vector
address
83
9
Flush
WFE
Wait for event
(CPU stopped,
Low power
mode)
-
-
---
-
-
WFE
CPU clock stopped till the
event input is activated.
Internal peripherals are
still running
72 8F
1
WFI
Wait for
interrupt
(CPU stopped,
Low power
mode)
-1
-
0
-
-
-
WFI
CC.I0
← 0, CC.I1 ← 1
CPU clock stopped till an
interrupt occurs. Internal
peripherals are still
running
8F
10
XOR
Logical
exclusive OR
--
-
-
-
XOR A,($12,SP)
A
← A XOR
M(SP+shortoff)
18 bb
1
1.
Number of cycles corresponding to the example op-code.
2.
If branch taken.
Table 42.
Instruction set summary (continued)
Description
Effect on CC register
Syntax example
Operation
Example
op-
code(s)
VI1
H
I0
N
Z
C



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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