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

X  

HCS12 数据表(PDF) 182 Page - Freescale Semiconductor, Inc

部件名 HCS12
功能描述  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  FREESCALE [Freescale Semiconductor, Inc]
网页  http://www.freescale.com
标志 FREESCALE - Freescale Semiconductor, Inc

HCS12 数据表(HTML) 182 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 178Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 179Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 180Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 181Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 182Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 183Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 184Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 185Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 186Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 182 / 452 page
background image
Instruction Glossary
S12CPUV2 Reference Manual, Rev. 4.0
182
Freescale Semiconductor
Operation:
See table
Description:
Exchanges the contents of registers specified in the instruction as shown
below. Note that the order in which exchanges between 8-bit and 16-bit
registers are specified affects the high byte of the 16-bit registers differently.
Exchanges of D with A or B are ambiguous. Cases involving TMP2 and
TMP3 are reserved for Freescale use, so some assemblers may not permit
their use, but it is possible to generate these cases by using DC.B or DC.W
assembler directives.
None affected, unless the CCR is the destination register. Condition codes
take on the value of the corresponding source bits, except that the X mask
bit cannot change from 0 to 1. Software can leave the X bit set, leave it
cleared, or change it from 1 to 0, but it can be set only in response to any
reset or by recognition of an XIRQ interrupt.
EXG
Exchange Register Contents
EXG
CCR Details:
S
X
HIN
Z
V
C
Or:
S
X
HIN
Z
V
C
––––––––
∆⇓∆∆∆∆∆∆
Source Form
Address
Mode
Object Code(1)
1. Legal coding for eb is summarized in the following table. Columns represent the high-order source digit. Rows represent
the low-order destination digit (bit 3 is a don’t care). Values are in hexadecimal.
Access Detail
HCS12
M68HC12
EXG abcdxys,abcdxys
INH
B7 eb
P
P
89
A
B
C
D
E
F
0
A
⇔ AB ⇔ A
CCR
⇔ A
TMP3L ⇒ A
$00:A
⇒ TMP3
B
⇒ A
A
⇒ B
XL ⇒ A
$00:A
⇒ X
YL ⇒ A
$00:A
⇒ Y
SPL ⇒ A
$00:A
⇒ SP
1
A
⇔ BB ⇔ B
CCR
⇔ B
TMP3L ⇒ B
$FF:B
⇒ TMP3
B
⇒ B
$FF
⇒ A
XL ⇒ B
$FF:B
⇒ X
YL ⇒ B
$FF:B
⇒ Y
SPL ⇒ B
$FF:B
⇒ SP
2
A
⇔ CCR
B
⇔ CCR
CCR
⇔ CCR
TMP3L ⇒ CCR
$FF:CCR
⇒ TMP3
B
⇒ CCR
$FF:CCR
⇒ D
XL ⇒ CCR
$FF:CCR
⇒ X
YL ⇒ CCR
$FF:CCR
⇒ Y
SPL ⇒ CCR
$FF:CCR
⇒ SP
3
$00:A
⇒ TMP2
TMP2L ⇒ A
$00:B
⇒ TMP2
TMP2L ⇒ B
$00:CCR
⇒ TMP2
TMP2L ⇒ CCR
TMP3
⇔ TMP2
D
⇔ TMP2
X
⇔ TMP2
Y
⇔ TMP2
SP
⇔ TMP2
4
$00:A
⇒ D
$00:B
⇒ D
$00:CCR
⇒ D
B
⇒ CCR
TMP3
⇔ DD ⇔ DX ⇔ DY ⇔ DSP ⇔ D
5
$00:A
⇒ X
XL ⇒ A
$00:B
⇒ X
XL ⇒ B
$00:CCR
⇒ X
XL ⇒ CCR
TMP3
⇔ XD ⇔ XX ⇔ XY ⇔ XSP ⇔ X
6
$00:A
⇒ Y
YL ⇒ A
$00:B
⇒ Y
YL ⇒ B
$00:CCR
⇒ Y
YL ⇒ CCR
TMP3
⇔ YD ⇔ YX ⇔ YY ⇔ YSP ⇔ Y
7
$00:A
⇒ SP
SPL ⇒ A
$00:B
⇒ SP
SPL ⇒ B
$00:CCR
⇒ SP
SPL ⇒ CCR
TMP3
⇔ SP
D
⇔ SP
X
⇔ SP
Y
⇔ SP
SP
⇔ SP



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