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

X  

HCS12 Datasheet(PDF) 357 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) 357 Page - Freescale Semiconductor, Inc

Back Button HCS12 Datasheet HTML 353Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 354Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 355Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 356Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 357Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 358Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 359Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 360Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 361Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 357 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
Freescale Semiconductor
357
Since there is more than one flow path through the REV instruction, cycle
numbers have a decimal place. This decimal place indicates which of
several possible paths is being used. The CPU normally moves forward by
one digit at a time within the same flow (flow number is indicated after the
decimal point in the cycle number). There are two exceptions possible to this
orderly sequence through an instruction. The first is a branch back to an
earlier cycle number to form a loop as in 6.0 to 4.0. The second type of
sequence change is from one flow to a parallel flow within the same
instruction such as 4.0 to 5.2, which occurs if the REV instruction senses an
interrupt. In this second type of sequence branch, the whole number
advances by one and the flow number changes to a new value (the digit
after the decimal point).
In cycle 1.0, the CPU12 does an optional program word access to replace
the $18 prebyte of the REV instruction. Notice that cycle 7.0 is also an O
type cycle. One or the other of these will be a program word fetch, while the
other will be a free cycle where the CPU does not access the bus. Although
the $18 page prebyte is a required part of the REV instruction, it is treated
by the CPU12 as a somewhat separate single cycle instruction.
Rule evaluation begins at cycle 2.0 with a byte read of the first element in
the rule list. Usually this would be the first antecedent of the first rule, but the
REV instruction can be interrupted, so this could be a read of any byte in the
rule list. The X index register is incremented so it points to the next element
in the rule list. Cycle 3.0 is needed to satisfy the required delay between a
read and when data is valid to the CPU. Some internal CPU housekeeping
activity takes place during this cycle, but there is no bus activity. By cycle
4.0, the rule element that was read in cycle 2.0 is available to the CPU.
Cycle 4.0 is the first cycle of the main three cycle rule evaluation loop.
Depending upon whether rule antecedents or consequents are being
processed, the loop will consist of cycles 4.0, 5.0, 6.0, or the sequence 4.0,
5.0, 6.1. This loop is executed once for every byte in the rule list, including
the $FE separators and the $FF end-of-rules marker.
At each cycle 4.0, a fuzzy input or fuzzy output is read, except during the
loop passes associated with the $FE and $FF marker bytes, where no bus
access takes place during cycle 4.0. The read access uses the Y index
register as the base address and the previously read rule byte (Rx) as an
unsigned offset from Y. The fuzzy input or output value read here will be
used during the next cycle 6.0 or 6.1. Besides being used as the offset from
Y for this read, the previously read Rx is checked to see if it is a separator
character ($FE). If Rx was $FE and the V bit was one, this indicates a switch



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