CPU12
FUZZY LOGIC SUPPORT
MOTOROLA
REFERENCE MANUAL
9-13
9.4.2.2 Abnormal Membership Function Case 2
Like the previous example, the membership function in case 2 is abnormal because
the sloping sides cross below the $FF cutoff level, but the left sloping side reaches the
$FF cutoff level before the input gets to point_2. In this case, the result follows the left
sloping side until it reaches the $FF cutoff level. At this point, the (grade_1 > $FF) term
of 4b kicks in, making the expression true so grade equals grade (no overwrite). The
result from here to point_2 becomes controlled by the “else” part of 4a (grade =
grade_2), and the result follows the right sloping side.
Figure 9-7 Abnormal Membership Function Case 2
9.4.2.3 Abnormal Membership Function Case 3
The membership function in case 3 is abnormal because the sloping sides cross below
the $FF cutoff level, and the left sloping side has infinite slope. In this case, 4a is not
true, so grade equals grade_2. 4b is true because slope_1 is zero, so 4b does not
overwrite grade.
Figure 9-8 Abnormal Membership Function Case 3
9.5 REV, REVW Instruction Details
This section provides a more detailed explanation of the rule evaluation instructions
(REV and REVW). The data structures used to specify rules are somewhat different
for the weighted versus unweighted versions of the instruction. One uses 8-bit offsets
in the encoded rules, while the other uses full 16-bit addresses. This affects the size
of the rule data structure and execution time.
Memory Definition: $60, $C0, $04, $04; Point_1, Point_2, Slope_1, Slope_2
Graphical Representation
How Interpreted
P1
P2
P1
P2
Left Side
Crosses $FF
ABN MEM 2
Memory Definition: $60, $80, $00, $04; Point_1, Point_2, Slope_1, Slope_2
Graphical Representation
How Interpreted
P1
P2
P1
P2
ABN MEM 3
Summary of Contents for CPU12
Page 8: ...MOTOROLA CPU12 viii REFERENCE MANUAL ...
Page 14: ...MOTOROLA INTRODUCTION CPU12 1 4 REFERENCE MANUAL ...
Page 20: ...MOTOROLA OVERVIEW CPU12 2 6 REFERENCE MANUAL ...
Page 38: ...MOTOROLA INSTRUCTION QUEUE CPU12 4 6 REFERENCE MANUAL ...
Page 300: ...MOTOROLA DEVELOPMENT AND DEBUG SUPPORT CPU12 8 16 REFERENCE MANUAL ...
Page 338: ...MOTOROLA MEMORY EXPANSION CPU12 10 8 REFERENCE MANUAL ...
Page 364: ...MOTOROLA INSTRUCTION REFERENCE CPU12 A 26 REFERENCE MANUAL ...
Page 386: ...MOTOROLA HIGH LEVEL LANGUAGE SUPPORT CPU12 C 6 REFERENCE MANUAL ...
Page 438: ...MOTOROLA SUMMARY OF CHANGES CPU12 S 2 REFERENCE MANUAL ...
Page 439: ......