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

X  

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

Back Button HCS12 Datasheet HTML 346Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 347Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 348Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 349Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 350Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 351Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 352Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 353Page - Freescale Semiconductor, Inc HCS12 Datasheet HTML 354Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 350 / 452 page
background image
S12CPUV2 Reference Manual, Rev. 4.0
350
Freescale Semiconductor
Figure 9-5. MEM Instruction Flow Diagram
In 4b, slope_1 is zero if the left side of the trapezoid has infinite slope
(vertical). If so, the result (grade) should be $FF at and to the right of point_1
everywhere within the trapezoid as far as the left side is concerned. The
grade_1 greater than $FF term corresponds to the input being to the right of
where the left sloping side passes the $FF cutoff level. If either of these
conditions is true, the result (grade) is left at the value it got from 4a. The
“else” condition in 4b corresponds to the input falling on the sloping portion
of the left side of the trapezoid (or possibly outside the trapezoid), so the
result is grade equal grade_1. If the input was outside the trapezoid,
flag_d12n would be one and grade_1 and grade_2 would have been forced
to $00 in cycle 3. The else condition of 4b would set the result to $00.
1 - R
READ WORD @ 0,X — Point_1 AND Point_2
2 - R
READ WORD @ –2,X — Slope_1 AND Slope_2
2a — Delta_1 = ACCA – Point_1
2b — Delta_2 = Point_2 – ACCA
2c — IF (Delta_1 OR Delta_2) < 0 THEN flag_d12n = 1 ELSE flag_d12n = 0
3 - f
NO BUS ACCESS
3a — IF flag_d12n = 1 THEN Grade_1 = 0 ELSE Grade_1 = Slope_1 * Delta_1
3b — IF flag_d12n = 1 THEN Grade_2 = 0 ELSE Grade_2 = Slope_2 * Delta_2
4 - O
IF MISALIGNED THEN READ PROGRAM WORD TO FILL INSTRUCTION QUEUE ELSE NO BUS ACCESS
4a — IF (((Slope_2 = 0) OR (Grade_2 > $FF)) AND (flag_d12n = 0)) THEN GRADE = $FF
ELSE GRADE = Grade_2
4b — IF (((Slope_1 = 0) OR (Grade_1 > $FF)) AND (flag_d12n = 0)) THEN GRADE = GRADE
ELSE GRADE = Grade_1
5 - w
WRITE BYTE @ –1,Y — FUZZY INPUT RESULT (GRADE)
START
END
X = X + 4
Y = Y + 1



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