OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [Documents/] [CPU Instruction Set.htm] - Blame information for rev 279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 241 jshamlet
<html xmlns:v="urn:schemas-microsoft-com:vml"
2
xmlns:o="urn:schemas-microsoft-com:office:office"
3
xmlns:x="urn:schemas-microsoft-com:office:excel"
4
xmlns="http://www.w3.org/TR/REC-html40">
5
 
6
<head>
7
<meta name="Excel Workbook Frameset">
8
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
9
<meta name=ProgId content=Excel.Sheet>
10
<meta name=Generator content="Microsoft Excel 12">
11
<link rel=File-List href="CPU%20Instruction%20Set_files/filelist.xml">
12
<![if !supportTabStrip]>
13
<link id="shLink" href="CPU%20Instruction%20Set_files/sheet001.htm">
14
<link id="shLink" href="CPU%20Instruction%20Set_files/sheet002.htm">
15
 
16
<link id="shLink">
17
 
18
<script language="JavaScript">
19
<!--
20
 var c_lTabs=2;
21
 
22
 var c_rgszSh=new Array(c_lTabs);
23
 c_rgszSh[0] = "Instruction Set";
24
 c_rgszSh[1] = "CPU Options";
25
 
26
 
27
 
28
 var c_rgszClr=new Array(8);
29
 c_rgszClr[0]="window";
30
 c_rgszClr[1]="buttonface";
31
 c_rgszClr[2]="windowframe";
32
 c_rgszClr[3]="windowtext";
33
 c_rgszClr[4]="threedlightshadow";
34
 c_rgszClr[5]="threedhighlight";
35
 c_rgszClr[6]="threeddarkshadow";
36
 c_rgszClr[7]="threedshadow";
37
 
38
 var g_iShCur;
39
 var g_rglTabX=new Array(c_lTabs);
40
 
41
function fnGetIEVer()
42
{
43
 var ua=window.navigator.userAgent
44
 var msie=ua.indexOf("MSIE")
45
 if (msie>0 && window.navigator.platform=="Win32")
46
  return parseInt(ua.substring(msie+5,ua.indexOf(".", msie)));
47
 else
48
  return 0;
49
}
50
 
51
function fnBuildFrameset()
52
{
53
 var szHTML="<frameset rows=\"*,18\" border=0 width=0 frameborder=no framespacing=0>"+
54
  "<frame src=\""+document.all.item("shLink")[0].href+"\" name=\"frSheet\" noresize>"+
55
  "<frameset cols=\"54,*\" border=0 width=0 frameborder=no framespacing=0>"+
56
  "<frame src=\"\" name=\"frScroll\" marginwidth=0 marginheight=0 scrolling=no>"+
57
  "<frame src=\"\" name=\"frTabs\" marginwidth=0 marginheight=0 scrolling=no>"+
58
  "</frameset></frameset><plaintext>";
59
 
60
 with (document) {
61
  open("text/html","replace");
62
  write(szHTML);
63
  close();
64
 }
65
 
66
 fnBuildTabStrip();
67
}
68
 
69
function fnBuildTabStrip()
70
{
71
 var szHTML=
72
  "<html><head><style>.clScroll {font:8pt Courier New;color:"+c_rgszClr[6]+";cursor:default;line-height:10pt;}"+
73
  ".clScroll2 {font:10pt Arial;color:"+c_rgszClr[6]+";cursor:default;line-height:11pt;}</style></head>"+
74
  "<body onclick=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" onselectstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+" topmargin=0 leftmargin=0><table cellpadding=0 cellspacing=0 width=100%>"+
75
  "<tr><td colspan=6 height=1 bgcolor="+c_rgszClr[2]+"></td></tr>"+
76
  "<tr><td style=\"font:1pt\">&nbsp;<td>"+
77
  "<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(0);\" onmouseout=\"parent.fnMouseOutScroll(0);\"><a>&#171;</a></td>"+
78
  "<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(0);\" ondblclick=\"parent.fnScrollTabs(0);\" onmouseover=\"parent.fnMouseOverScroll(1);\" onmouseout=\"parent.fnMouseOutScroll(1);\"><a>&lt</a></td>"+
79
  "<td valign=top id=tdScroll class=\"clScroll2\" onclick=\"parent.fnScrollTabs(1);\" ondblclick=\"parent.fnScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(2);\" onmouseout=\"parent.fnMouseOutScroll(2);\"><a>&gt</a></td>"+
80
  "<td valign=top id=tdScroll class=\"clScroll\" onclick=\"parent.fnFastScrollTabs(1);\" onmouseover=\"parent.fnMouseOverScroll(3);\" onmouseout=\"parent.fnMouseOutScroll(3);\"><a>&#187;</a></td>"+
81
  "<td style=\"font:1pt\">&nbsp;<td></tr></table></body></html>";
82
 
83
 with (frames['frScroll'].document) {
84
  open("text/html","replace");
85
  write(szHTML);
86
  close();
87
 }
88
 
89
 szHTML =
90
  "<html><head>"+
91
  "<style>A:link,A:visited,A:active {text-decoration:none;"+"color:"+c_rgszClr[3]+";}"+
92
  ".clTab {cursor:hand;background:"+c_rgszClr[1]+";font:9pt Arial;padding-left:3px;padding-right:3px;text-align:center;}"+
93
  ".clBorder {background:"+c_rgszClr[2]+";font:1pt;}"+
94
  "</style></head><body onload=\"parent.fnInit();\" onselectstart=\"event.returnValue=false;\" ondragstart=\"event.returnValue=false;\" bgcolor="+c_rgszClr[4]+
95
  " topmargin=0 leftmargin=0><table id=tbTabs cellpadding=0 cellspacing=0>";
96
 
97
 var iCellCount=(c_lTabs+1)*2;
98
 
99
 var i;
100
 for (i=0;i<iCellCount;i+=2)
101
  szHTML+="<col width=1><col>";
102
 
103
 var iRow;
104
 for (iRow=0;iRow<6;iRow++) {
105
 
106
  szHTML+="<tr>";
107
 
108
  if (iRow==5)
109
   szHTML+="<td colspan="+iCellCount+"></td>";
110
  else {
111
   if (iRow==0) {
112
    for(i=0;i<iCellCount;i++)
113
     szHTML+="<td height=1 class=\"clBorder\"></td>";
114
   } else if (iRow==1) {
115
    for(i=0;i<c_lTabs;i++) {
116
     szHTML+="<td height=1 nowrap class=\"clBorder\">&nbsp;</td>";
117
     szHTML+=
118
      "<td id=tdTab height=1 nowrap class=\"clTab\" onmouseover=\"parent.fnMouseOverTab("+i+");\" onmouseout=\"parent.fnMouseOutTab("+i+");\">"+
119
      "<a href=\""+document.all.item("shLink")[i].href+"\" target=\"frSheet\" id=aTab>&nbsp;"+c_rgszSh[i]+"&nbsp;</a></td>";
120
    }
121
    szHTML+="<td id=tdTab height=1 nowrap class=\"clBorder\"><a id=aTab>&nbsp;</a></td><td width=100%></td>";
122
   } else if (iRow==2) {
123
    for (i=0;i<c_lTabs;i++)
124
     szHTML+="<td height=1></td><td height=1 class=\"clBorder\"></td>";
125
    szHTML+="<td height=1></td><td height=1></td>";
126
   } else if (iRow==3) {
127
    for (i=0;i<iCellCount;i++)
128
     szHTML+="<td height=1></td>";
129
   } else if (iRow==4) {
130
    for (i=0;i<c_lTabs;i++)
131
     szHTML+="<td height=1 width=1></td><td height=1></td>";
132
    szHTML+="<td height=1 width=1></td><td></td>";
133
   }
134
  }
135
  szHTML+="</tr>";
136
 }
137
 
138
 szHTML+="</table></body></html>";
139
 with (frames['frTabs'].document) {
140
  open("text/html","replace");
141
  charset=document.charset;
142
  write(szHTML);
143
  close();
144
 }
145
}
146
 
147
function fnInit()
148
{
149
 g_rglTabX[0]=0;
150
 var i;
151
 for (i=1;i<=c_lTabs;i++)
152
  with (frames['frTabs'].document.all.tbTabs.rows[1].cells[fnTabToCol(i-1)])
153
   g_rglTabX[i]=offsetLeft+offsetWidth-6;
154
}
155
 
156
function fnTabToCol(iTab)
157
{
158
 return 2*iTab+1;
159
}
160
 
161
function fnNextTab(fDir)
162
{
163
 var iNextTab=-1;
164
 var i;
165
 
166
 with (frames['frTabs'].document.body) {
167
  if (fDir==0) {
168
   if (scrollLeft>0) {
169
    for (i=0;i<c_lTabs&&g_rglTabX[i]<scrollLeft;i++);
170
    if (i<c_lTabs)
171
     iNextTab=i-1;
172
   }
173
  } else {
174
   if (g_rglTabX[c_lTabs]+6>offsetWidth+scrollLeft) {
175
    for (i=0;i<c_lTabs&&g_rglTabX[i]<=scrollLeft;i++);
176
    if (i<c_lTabs)
177
     iNextTab=i;
178
   }
179
  }
180
 }
181
 return iNextTab;
182
}
183
 
184
function fnScrollTabs(fDir)
185
{
186
 var iNextTab=fnNextTab(fDir);
187
 
188
 if (iNextTab>=0) {
189
  frames['frTabs'].scroll(g_rglTabX[iNextTab],0);
190
  return true;
191
 } else
192
  return false;
193
}
194
 
195
function fnFastScrollTabs(fDir)
196
{
197
 if (c_lTabs>16)
198
  frames['frTabs'].scroll(g_rglTabX[fDir?c_lTabs-1:0],0);
199
 else
200
  if (fnScrollTabs(fDir)>0) window.setTimeout("fnFastScrollTabs("+fDir+");",5);
201
}
202
 
203
function fnSetTabProps(iTab,fActive)
204
{
205
 var iCol=fnTabToCol(iTab);
206
 var i;
207
 
208
 if (iTab>=0) {
209
  with (frames['frTabs'].document.all) {
210
   with (tbTabs) {
211
    for (i=0;i<=4;i++) {
212
     with (rows[i]) {
213
      if (i==0)
214
       cells[iCol].style.background=c_rgszClr[fActive?0:2];
215
      else if (i>0 && i<4) {
216
       if (fActive) {
217
        cells[iCol-1].style.background=c_rgszClr[2];
218
        cells[iCol].style.background=c_rgszClr[0];
219
        cells[iCol+1].style.background=c_rgszClr[2];
220
       } else {
221
        if (i==1) {
222
         cells[iCol-1].style.background=c_rgszClr[2];
223
         cells[iCol].style.background=c_rgszClr[1];
224
         cells[iCol+1].style.background=c_rgszClr[2];
225
        } else {
226
         cells[iCol-1].style.background=c_rgszClr[4];
227
         cells[iCol].style.background=c_rgszClr[(i==2)?2:4];
228
         cells[iCol+1].style.background=c_rgszClr[4];
229
        }
230
       }
231
      } else
232
       cells[iCol].style.background=c_rgszClr[fActive?2:4];
233
     }
234
    }
235
   }
236
   with (aTab[iTab].style) {
237
    cursor=(fActive?"default":"hand");
238
    color=c_rgszClr[3];
239
   }
240
  }
241
 }
242
}
243
 
244
function fnMouseOverScroll(iCtl)
245
{
246
 frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[7];
247
}
248
 
249
function fnMouseOutScroll(iCtl)
250
{
251
 frames['frScroll'].document.all.tdScroll[iCtl].style.color=c_rgszClr[6];
252
}
253
 
254
function fnMouseOverTab(iTab)
255
{
256
 if (iTab!=g_iShCur) {
257
  var iCol=fnTabToCol(iTab);
258
  with (frames['frTabs'].document.all) {
259
   tdTab[iTab].style.background=c_rgszClr[5];
260
  }
261
 }
262
}
263
 
264
function fnMouseOutTab(iTab)
265
{
266
 if (iTab>=0) {
267
  var elFrom=frames['frTabs'].event.srcElement;
268
  var elTo=frames['frTabs'].event.toElement;
269
 
270
  if ((!elTo) ||
271
   (elFrom.tagName==elTo.tagName) ||
272
   (elTo.tagName=="A" && elTo.parentElement!=elFrom) ||
273
   (elFrom.tagName=="A" && elFrom.parentElement!=elTo)) {
274
 
275
   if (iTab!=g_iShCur) {
276
    with (frames['frTabs'].document.all) {
277
     tdTab[iTab].style.background=c_rgszClr[1];
278
    }
279
   }
280
  }
281
 }
282
}
283
 
284
function fnSetActiveSheet(iSh)
285
{
286
 if (iSh!=g_iShCur) {
287
  fnSetTabProps(g_iShCur,false);
288
  fnSetTabProps(iSh,true);
289
  g_iShCur=iSh;
290
 }
291
}
292
 
293
 window.g_iIEVer=fnGetIEVer();
294
 if (window.g_iIEVer>=4)
295
  fnBuildFrameset();
296
//-->
297
</script>
298
<![endif]><!--[if gte mso 9]><xml>
299
 <x:ExcelWorkbook>
300
  <x:ExcelWorksheets>
301
   <x:ExcelWorksheet>
302
    <x:Name>Instruction Set</x:Name>
303
    <x:WorksheetSource HRef="CPU%20Instruction%20Set_files/sheet001.htm"/>
304
   </x:ExcelWorksheet>
305
   <x:ExcelWorksheet>
306
    <x:Name>CPU Options</x:Name>
307
    <x:WorksheetSource HRef="CPU%20Instruction%20Set_files/sheet002.htm"/>
308
   </x:ExcelWorksheet>
309
  </x:ExcelWorksheets>
310
  <x:Stylesheet HRef="CPU%20Instruction%20Set_files/stylesheet.css"/>
311
  <x:WindowHeight>8010</x:WindowHeight>
312
  <x:WindowWidth>14805</x:WindowWidth>
313
  <x:WindowTopX>240</x:WindowTopX>
314
  <x:WindowTopY>105</x:WindowTopY>
315
  <x:ProtectStructure>False</x:ProtectStructure>
316
  <x:ProtectWindows>False</x:ProtectWindows>
317
 </x:ExcelWorkbook>
318
</xml><![endif]-->
319
</head>
320
 
321
<frameset rows="*,39" border=0 width=0 frameborder=no framespacing=0>
322
 <frame src="CPU%20Instruction%20Set_files/sheet001.htm" name="frSheet">
323
 <frame src="CPU%20Instruction%20Set_files/tabstrip.htm" name="frTabs" marginwidth=0 marginheight=0>
324
 <noframes>
325
  <body>
326
   <p>This page uses frames, but your browser doesn't support them.</p>
327
  </body>
328
 </noframes>
329
</frameset>
330
</html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.