Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

150 lines
6.4 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>State machine for RE10 embedding level</TITLE>
  6. </HEAD>
  7. <BODY LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff">
  8. <P>BiDi level Finite State Machine <FONT SIZE=2><EM>(wchao: 12-22-98)</P></FONT></EM>
  9. <TABLE BORDER CELLSPACING=1 CELLPADDING=5 WIDTH=626>
  10. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  11. <P><FONT FACE="Courier New" SIZE=1><STRONG>Run</FONT></STRONG></TD>
  12. <TD WIDTH="8%" VALIGN="MIDDLE">
  13. <FONT FACE="Courier New" SIZE=1><STRONG><P>A(0)</FONT></STRONG></TD>
  14. <TD WIDTH="14%" VALIGN="MIDDLE">
  15. <FONT FACE="Courier New" SIZE=1><STRONG><P>B(1)</FONT></STRONG></TD>
  16. <TD WIDTH="14%" VALIGN="MIDDLE">
  17. <FONT FACE="Courier New" SIZE=1><STRONG><P>C(2)</FONT></STRONG></TD>
  18. <TD WIDTH="3%" VALIGN="MIDDLE">
  19. <P>&nbsp;</TD>
  20. <TD WIDTH="8%" VALIGN="MIDDLE">
  21. <FONT FACE="Courier New" SIZE=1><STRONG><P>X(1)</FONT></STRONG></TD>
  22. <TD WIDTH="19%" VALIGN="MIDDLE">
  23. <FONT FACE="Courier New" SIZE=1><STRONG><P>Y(2)</FONT></STRONG></TD>
  24. <TD WIDTH="19%" VALIGN="MIDDLE">
  25. <FONT FACE="Courier New" SIZE=1><STRONG><P>Z(2)</FONT></STRONG></TD>
  26. </TR>
  27. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  28. <FONT FACE="Courier New" SIZE=1><STRONG><P>chLTR</FONT></STRONG></TD>
  29. <TD WIDTH="8%" VALIGN="MIDDLE">
  30. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  31. <TD WIDTH="14%" VALIGN="MIDDLE">
  32. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  33. <TD WIDTH="14%" VALIGN="MIDDLE">
  34. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  35. <TD WIDTH="3%" VALIGN="MIDDLE">
  36. <P>&nbsp;</TD>
  37. <TD WIDTH="8%" VALIGN="MIDDLE">
  38. <FONT FACE="Courier New" SIZE=1><P>2/Y</FONT></TD>
  39. <TD WIDTH="19%" VALIGN="MIDDLE">
  40. <FONT FACE="Courier New" SIZE=1><P>2/Y</FONT></TD>
  41. <TD WIDTH="19%" VALIGN="MIDDLE">
  42. <FONT FACE="Courier New" SIZE=1><P>2*/Y</FONT></TD>
  43. </TR>
  44. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  45. <FONT FACE="Courier New" SIZE=1><STRONG><P>chRTL</FONT></STRONG></TD>
  46. <TD WIDTH="8%" VALIGN="MIDDLE">
  47. <FONT FACE="Courier New" SIZE=1><P>1/B</FONT></TD>
  48. <TD WIDTH="14%" VALIGN="MIDDLE">
  49. <FONT FACE="Courier New" SIZE=1><P>1/B</FONT></TD>
  50. <TD WIDTH="14%" VALIGN="MIDDLE">
  51. <FONT FACE="Courier New" SIZE=1><P>1/B</FONT></TD>
  52. <TD WIDTH="3%" VALIGN="MIDDLE">
  53. <P>&nbsp;</TD>
  54. <TD WIDTH="8%" VALIGN="MIDDLE">
  55. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  56. <TD WIDTH="19%" VALIGN="MIDDLE">
  57. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  58. <TD WIDTH="19%" VALIGN="MIDDLE">
  59. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  60. </TR>
  61. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  62. <FONT FACE="Courier New" SIZE=1><STRONG><P>digitLTR</FONT></STRONG></TD>
  63. <TD WIDTH="8%" VALIGN="MIDDLE">
  64. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  65. <TD WIDTH="14%" VALIGN="MIDDLE">
  66. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  67. <TD WIDTH="14%" VALIGN="MIDDLE">
  68. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  69. <TD WIDTH="3%" VALIGN="MIDDLE">
  70. <P>&nbsp;</TD>
  71. <TD WIDTH="8%" VALIGN="MIDDLE">
  72. <FONT FACE="Courier New" SIZE=1><P>2/Y</FONT></TD>
  73. <TD WIDTH="19%" VALIGN="MIDDLE">
  74. <FONT FACE="Courier New" SIZE=1><P>2/Y</FONT></TD>
  75. <TD WIDTH="19%" VALIGN="MIDDLE">
  76. <FONT FACE="Courier New" SIZE=1><P>2*/Y</FONT></TD>
  77. </TR>
  78. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  79. <FONT FACE="Courier New" SIZE=1><STRONG><P>digitRTL</FONT></STRONG></TD>
  80. <TD WIDTH="8%" VALIGN="MIDDLE">
  81. <FONT FACE="Courier New" SIZE=1><P>2/C</FONT></TD>
  82. <TD WIDTH="14%" VALIGN="MIDDLE">
  83. <FONT FACE="Courier New" SIZE=1><P>2/C</FONT></TD>
  84. <TD WIDTH="14%" VALIGN="MIDDLE">
  85. <FONT FACE="Courier New" SIZE=1><P>2/C</FONT></TD>
  86. <TD WIDTH="3%" VALIGN="MIDDLE">
  87. <P>&nbsp;</TD>
  88. <TD WIDTH="8%" VALIGN="MIDDLE">
  89. <FONT FACE="Courier New" SIZE=1><P>2/Z</FONT></TD>
  90. <TD WIDTH="19%" VALIGN="MIDDLE">
  91. <FONT FACE="Courier New" SIZE=1><P>2*/Z</FONT></TD>
  92. <TD WIDTH="19%" VALIGN="MIDDLE">
  93. <FONT FACE="Courier New" SIZE=1><P>2/Z</FONT></TD>
  94. </TR>
  95. <TR><TD WIDTH="16%" VALIGN="MIDDLE">
  96. <FONT FACE="Courier New" SIZE=1><STRONG><P>control</FONT></STRONG></TD>
  97. <TD WIDTH="8%" VALIGN="MIDDLE">
  98. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  99. <TD WIDTH="14%" VALIGN="MIDDLE">
  100. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  101. <TD WIDTH="14%" VALIGN="MIDDLE">
  102. <FONT FACE="Courier New" SIZE=1><P>0/A</FONT></TD>
  103. <TD WIDTH="3%" VALIGN="MIDDLE">
  104. <P>&nbsp;</TD>
  105. <TD WIDTH="8%" VALIGN="MIDDLE">
  106. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  107. <TD WIDTH="19%" VALIGN="MIDDLE">
  108. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  109. <TD WIDTH="19%" VALIGN="MIDDLE">
  110. <FONT FACE="Courier New" SIZE=1><P>1/X</FONT></TD>
  111. </TR>
  112. </TABLE>
  113. <P>&nbsp;</P>
  114. <TABLE CELLSPACING=0 BORDER=0 WIDTH=779>
  115. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  116. <P><FONT SIZE=2><STRONG>A : </STRONG><EM>(LTR char in LTR para)</FONT></EM></TD>
  117. <TD WIDTH="66%" VALIGN="MIDDLE">
  118. <FONT SIZE=2><STRONG><P>\ltrpara "</STRONG>ab<STRONG>", "</STRONG>+-<STRONG>", "</STRONG>12<STRONG>"</FONT></STRONG></TD>
  119. </TR>
  120. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  121. <FONT SIZE=2><STRONG><P>B : </STRONG><EM>(RTL char in LTR para) </FONT></EM></TD>
  122. <TD WIDTH="66%" VALIGN="MIDDLE">
  123. <FONT SIZE=2><STRONG><P>\ltrpara "{</STRONG>AB<STRONG>", "{</STRONG>-+<STRONG>"</FONT></STRONG></TD>
  124. </TR>
  125. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  126. <FONT SIZE=2><STRONG><P>C : </STRONG><EM>(AN in LTR para)</FONT></EM></TD>
  127. <TD WIDTH="66%" VALIGN="MIDDLE">
  128. <FONT SIZE=2><STRONG><P>\ltrpara "{</STRONG>AB<STRONG>{</STRONG>34<STRONG>"</FONT></STRONG></TD>
  129. </TR>
  130. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  131. <FONT SIZE=2><STRONG><P>X : </STRONG><EM>(RTL char in RTL para)</FONT></EM></TD>
  132. <TD WIDTH="66%" VALIGN="MIDDLE">
  133. <FONT SIZE=2><STRONG><P>\rtlpara "</STRONG>{AB<STRONG>", "</STRONG>{-+<STRONG>"</FONT></STRONG></TD>
  134. </TR>
  135. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  136. <FONT SIZE=2><STRONG><P>Y : </STRONG><EM>(LTR char in RTL para)</FONT></EM></TD>
  137. <TD WIDTH="66%" VALIGN="MIDDLE">
  138. <FONT SIZE=2><STRONG><P>\rtlpara "</STRONG>{<STRONG>{</STRONG>ab<STRONG>", "</STRONG>{<STRONG>{</STRONG>+-<STRONG>", "</STRONG>{<STRONG>{</STRONG>12<STRONG>", "</STRONG>{<STRONG>{</STRONG>ab12<STRONG>", "</STRONG>{<STRONG>{</STRONG>34<STRONG>}{</STRONG>ab<STRONG>"</FONT></STRONG></TD>
  139. </TR>
  140. <TR><TD WIDTH="34%" VALIGN="MIDDLE">
  141. <FONT SIZE=2><STRONG><P>Z : </STRONG><EM>(AN in RTL para)</FONT></EM></TD>
  142. <TD WIDTH="66%" VALIGN="MIDDLE">
  143. <FONT SIZE=2><STRONG><P>\rtlpara "</STRONG>{<STRONG>{</STRONG>34<STRONG>", "</STRONG>{AB<STRONG>{</STRONG>34<STRONG>", "</STRONG>{<STRONG>{</STRONG>ab<STRONG>}{</STRONG>34<STRONG>"</FONT></STRONG></TD>
  144. </TR>
  145. </TABLE>
  146. <U><FONT SIZE=1><P>where</U>: 12 : digitLTR; 34 : digitRTL; ab : chLTR; AB : chRTL; * : disconnect from preceding run</P></FONT></BODY>
  147. </HTML>