Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HCS12 Datasheet(PDF) 320 Page - Freescale Semiconductor, Inc

Part # HCS12
Description  HCS12 Microcontrollers
PDF  452 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

HCS12 Datasheet(HTML) 320 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 316Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 317Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 318Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 319Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 320Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 321Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 322Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 323Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 324Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 320 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
320
Freescale Semiconductor
7.8.2 Reset Exception Processing
If reset caused the exception, processing continues to cycle 2.0. This cycle
sets the S, X, and I bits in the CCR. Cycles 3.0 through 5.0 are program
word fetches that refill the instruction queue. Fetches start at the address
pointed to by the reset vector. When the fetches are completed, exception
processing ends, and the CPU starts executing the instruction at the head
of the instruction queue.
7.8.3 Interrupt and Unimplemented Opcode Trap Exception Processing
If an exception was not caused by a reset, a return address is calculated.
• Cycles 2.1and 2.2 are both S cycles (stack a 16-bit word), but the
CPU12 performs different return address calculations for each type of
exception.
–
When an X- or I-related interrupt causes the exception, the return
address points to the next instruction that would have been
executed had processing not been interrupted.
–
When an exception is caused by an SWI opcode or by an
unimplemented opcode (see 7.6 Unimplemented Opcode Trap),
the return address points to the next address after the opcode.
• Once calculated, the return address is pushed onto the stack.
• Cycles 3.1 through 9.1 are identical to cycles 3.2 through 9.2 for the
rest of the sequence, except for optional setting of the X mask bit
performed in cycle 8.1 (see below).
• Cycle 3.1/3.2 is the first of three program word fetches that refill the
instruction queue.
• Cycle 4.1/4.2 pushes Y onto the stack.
• Cycle 5.1/5.2 pushes X onto the stack.
• Cycle 6.1/6.2 is the second of three program word fetches that refill
the instruction queue. During this cycle, the contents of the A and B
accumulators are concatenated into a 16-bit word in the order B:A.
This makes register order in the stack frame the same as that of the
M68HC11, M6801, and the M6800.
• Cycle 7.1/7.2 pushes the 16-bit word containing B:A onto the stack.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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