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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [Documents/] [CPU Instruction Set_files/] [sheet001.htm] - Blame information for rev 335

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

Line No. Rev Author Line
1 328 jshamlet
<html xmlns:v="urn:schemas-microsoft-com:vml"
2
xmlns:o="urn:schemas-microsoft-com:office:office"
3 241 jshamlet
xmlns:x="urn:schemas-microsoft-com:office:excel"
4
xmlns="http://www.w3.org/TR/REC-html40">
5
 
6
<head>
7
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
8
<meta name=ProgId content=Excel.Sheet>
9
<meta name=Generator content="Microsoft Excel 12">
10
<link id=Main-File rel=Main-File href="../CPU%20Instruction%20Set.htm">
11
<link rel=File-List href=filelist.xml>
12
<link rel=Stylesheet href=stylesheet.css>
13
<style>
14
<!--table
15
        {mso-displayed-decimal-separator:"\.";
16
        mso-displayed-thousand-separator:"\,";}
17
@page
18
        {margin:.75in .7in .75in .7in;
19
        mso-header-margin:.3in;
20
        mso-footer-margin:.3in;}
21
-->
22
</style>
23
<![if !supportTabStrip]><script language="JavaScript">
24
<!--
25
function fnUpdateTabs()
26
 {
27
  if (parent.window.g_iIEVer>=4) {
28
   if (parent.document.readyState=="complete"
29
    && parent.frames['frTabs'].document.readyState=="complete")
30
   parent.fnSetActiveSheet(0);
31
  else
32
   window.setTimeout("fnUpdateTabs();",150);
33
 }
34
}
35
 
36
if (window.name!="frSheet")
37
 window.location.replace("../CPU%20Instruction%20Set.htm");
38
else
39
 fnUpdateTabs();
40
//-->
41
</script>
42
<![endif]>
43
</head>
44
 
45
<body link=blue vlink=purple>
46
 
47 328 jshamlet
<table border=0 cellpadding=0 cellspacing=0 width=1406 style='border-collapse:
48
 collapse;table-layout:fixed;width:1056pt'>
49
 <col width=98 style='mso-width-source:userset;mso-width-alt:3584;width:74pt'>
50 241 jshamlet
 <col class=xl67 width=74 style='mso-width-source:userset;mso-width-alt:2706;
51
 width:56pt'>
52
 <col class=xl67 width=61 style='mso-width-source:userset;mso-width-alt:2230;
53
 width:46pt'>
54 328 jshamlet
 <col class=xl66 width=138 style='mso-width-source:userset;mso-width-alt:5046;
55
 width:104pt'>
56
 <col class=xl112 width=140 style='mso-width-source:userset;mso-width-alt:5120;
57
 width:105pt'>
58 241 jshamlet
 <col width=64 style='width:48pt'>
59 328 jshamlet
 <col width=679 style='mso-width-source:userset;mso-width-alt:24832;width:509pt'>
60 241 jshamlet
 <col class=xl65 width=64 style='width:48pt'>
61 328 jshamlet
 <col width=88 style='mso-width-source:userset;mso-width-alt:3218;width:66pt'>
62 272 jshamlet
 <tr height=35 style='height:26.25pt'>
63 328 jshamlet
  <td height=35 width=98 style='height:26.25pt;width:74pt'></td>
64 241 jshamlet
  <td class=xl67 width=74 style='width:56pt'></td>
65
  <td class=xl67 width=61 style='width:46pt'></td>
66 328 jshamlet
  <td class=xl66 width=138 style='width:104pt'></td>
67
  <td class=xl111 width=140 style='width:105pt'>Open8 Instruction Set</td>
68 241 jshamlet
  <td width=64 style='width:48pt'></td>
69 328 jshamlet
  <td width=679 style='width:509pt'></td>
70 241 jshamlet
  <td class=xl65 width=64 style='width:48pt'></td>
71 328 jshamlet
  <td width=88 style='width:66pt'></td>
72 241 jshamlet
 </tr>
73
 <tr height=20 style='height:15.0pt'>
74
  <td height=20 style='height:15.0pt'></td>
75
  <td colspan=2 class=xl67 style='mso-ignore:colspan'></td>
76
  <td class=xl66></td>
77 328 jshamlet
  <td class=xl112></td>
78 241 jshamlet
  <td colspan=2 style='mso-ignore:colspan'></td>
79
  <td class=xl65></td>
80 328 jshamlet
  <td></td>
81 241 jshamlet
 </tr>
82
 <tr height=20 style='height:15.0pt'>
83
  <td height=20 class=xl69 style='height:15.0pt'>Instruction</td>
84
  <td class=xl70>Opcode</td>
85 328 jshamlet
  <td class=xl70>Sub-Op</td>
86
  <td class=xl110>Operand 1</td>
87
  <td class=xl113 width=140 style='width:105pt'>Operand 2</td>
88 241 jshamlet
  <td class=xl71>Flags</td>
89 328 jshamlet
  <td class=xl72 width=679 style='width:509pt'>Description</td>
90 241 jshamlet
  <td></td>
91
  <td class=xl105>Legend</td>
92
 </tr>
93
 <tr height=20 style='height:15.0pt'>
94
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>INC R0-07</td>
95
  <td class=xl77 style='border-top:none;border-left:none'>00000</td>
96
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
97 328 jshamlet
  <td class=xl77 style='border-left:none'>-</td>
98
  <td class=xl77 style='border-left:none'>-</td>
99 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
100 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Increment
101 241 jshamlet
  Register (Rn + 1 -&gt; Rn)</td>
102
  <td></td>
103
  <td class=xl76>ALU/MATH</td>
104
 </tr>
105
 <tr height=20 style='height:15.0pt'>
106
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>ADC R0-07</td>
107
  <td class=xl77 style='border-top:none;border-left:none'>00001</td>
108
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
109 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
110
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
111 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
112 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Add
113 241 jshamlet
  with Carry (Rn + R0 + C -&gt; R0)</td>
114
  <td></td>
115
  <td class=xl79 style='border-top:none'>LOAD/STORE</td>
116
 </tr>
117
 <tr height=20 style='height:15.0pt'>
118
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>TX0 R0-R7</td>
119
  <td class=xl77 style='border-top:none;border-left:none'>00010</td>
120
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
121 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
122
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
123 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
124 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Transfer
125 241 jshamlet
  Rn to R0 (Rn -&gt; R0)</td>
126
  <td></td>
127
  <td class=xl82 style='border-top:none'>BRANCH</td>
128
 </tr>
129
 <tr height=20 style='height:15.0pt'>
130
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>OR<span
131
  style='mso-spacerun:yes'>  </span>R0-R7</td>
132
  <td class=xl77 style='border-top:none;border-left:none'>00011</td>
133
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
134 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
135
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
136 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
137 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Logical
138 241 jshamlet
  OR of Rn and R0 (Rn | R0 -&gt; R0)</td>
139
  <td></td>
140
  <td class=xl94 style='border-top:none'>STACK/FLOW</td>
141
 </tr>
142
 <tr height=20 style='height:15.0pt'>
143
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>AND R0-R7</td>
144
  <td class=xl77 style='border-top:none;border-left:none'>00100</td>
145
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
146 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
147
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
148 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
149 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Logical
150 241 jshamlet
  AND of Rn and R0 (Rn &amp; R0 -&gt; R0)</td>
151
  <td></td>
152
  <td class=xl104 style='border-top:none'>SOFT INTS</td>
153
 </tr>
154
 <tr height=20 style='height:15.0pt'>
155
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>CLR R0</td>
156
  <td class=xl77 style='border-top:none;border-left:none'>00101</td>
157
  <td class=xl77 style='border-top:none;border-left:none'>000</td>
158 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
159
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
160 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
161 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Special
162 241 jshamlet
  case of XOR (R0^R0 -&gt; R0)</td>
163
  <td colspan=2 style='mso-ignore:colspan'></td>
164
 </tr>
165
 <tr height=20 style='height:15.0pt'>
166
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>XOR R0-R7</td>
167
  <td class=xl77 style='border-top:none;border-left:none'>00101</td>
168
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
169 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
170
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
171 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
172 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Logical
173 241 jshamlet
  XOR or Rn and R0 (Rn ^ R0 -&gt; R0)</td>
174
  <td colspan=2 style='mso-ignore:colspan'></td>
175
 </tr>
176 311 jshamlet
 <tr height=60 style='height:45.0pt'>
177
  <td height=60 class=xl88 style='height:45.0pt;border-top:none'>ROL R0-R7</td>
178
  <td class=xl89 style='border-top:none;border-left:none'>00110</td>
179
  <td class=xl89 style='border-top:none;border-left:none'>xxx</td>
180 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
181
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
182 311 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>N,Z,(C*)</td>
183 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Rotate
184 311 jshamlet
  Rn Left - Exact behavior is configurable through the generic
185
  &quot;Rotate_Ignores_Carry&quot; By default, if FALSE, the carry is included
186
  in the rotation:<span style='mso-spacerun:yes'>   </span>Rn(6:0) &amp; C
187
  -&gt; Rn ; Rn(7) -&gt; C. If the generic is set TRUE, the carry bit is both
188 328 jshamlet
  excluded from the rotation as well as not altered: Rn(6:0)&amp;Rn(7) -&gt;
189
  Rn.</td>
190 241 jshamlet
  <td colspan=2 style='mso-ignore:colspan'></td>
191
 </tr>
192 311 jshamlet
 <tr height=60 style='height:45.0pt'>
193
  <td height=60 class=xl88 style='height:45.0pt;border-top:none'>ROR R0-R7</td>
194
  <td class=xl89 style='border-top:none;border-left:none'>00111</td>
195
  <td class=xl89 style='border-top:none;border-left:none'>xxx</td>
196 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
197
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
198 311 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>N,Z,(C*)</td>
199 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Rotate
200 311 jshamlet
  Rn Right - Exact behavior is configurable through the generic
201
  &quot;Rotate_Ignores_Carry&quot; By default, if FALSE, the carry is included
202
  in the rotation: C &amp; Rn(7:1) -&gt; Rn ; Rn(0) -&gt; C. If the generic is
203
  set TRUE, the carry bit is both excluded from the rotation as well as not
204
  altered: Rn(0)&amp;Rn(7:1)-&gt; Rn.</td>
205 241 jshamlet
  <td colspan=2 style='mso-ignore:colspan'></td>
206
 </tr>
207
 <tr height=20 style='height:15.0pt'>
208
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>DEC R0-R7</td>
209
  <td class=xl77 style='border-top:none;border-left:none'>01000</td>
210
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
211 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
212
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
213 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
214 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Decrement
215 241 jshamlet
  Rn (Rn - 1 -&gt; Rn)</td>
216
  <td colspan=2 style='mso-ignore:colspan'></td>
217
 </tr>
218
 <tr height=20 style='height:15.0pt'>
219
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>SBC R0-R7</td>
220
  <td class=xl77 style='border-top:none;border-left:none'>01001</td>
221
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
222 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
223
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
224 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
225 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Subtract
226 241 jshamlet
  Rn from R0 with carry (R0 - Rn - C -&gt; R0)</td>
227
  <td colspan=2 style='mso-ignore:colspan'></td>
228
 </tr>
229
 <tr height=20 style='height:15.0pt'>
230
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>ADD R0-R7</td>
231
  <td class=xl77 style='border-top:none;border-left:none'>01010</td>
232
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
233 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
234
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
235 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
236 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Add
237 241 jshamlet
  Rn and R0 (R0 + Rn -&gt; R0)</td>
238
  <td colspan=2 style='mso-ignore:colspan'></td>
239
 </tr>
240
 <tr height=20 style='height:15.0pt'>
241
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_Z</td>
242
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
243
  <td class=xl89 style='border-top:none;border-left:none'>000</td>
244 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
245
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
246 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>Z</td>
247 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
248 241 jshamlet
  the ZERO flag in the status register</td>
249
  <td colspan=2 style='mso-ignore:colspan'></td>
250
 </tr>
251
 <tr height=20 style='height:15.0pt'>
252
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_C</td>
253
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
254
  <td class=xl89 style='border-top:none;border-left:none'>001</td>
255 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
256
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
257 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>C</td>
258 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
259 241 jshamlet
  the CARRY flag in the status register</td>
260
  <td colspan=2 style='mso-ignore:colspan'></td>
261
 </tr>
262
 <tr height=20 style='height:15.0pt'>
263
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_N</td>
264
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
265
  <td class=xl89 style='border-top:none;border-left:none'>010</td>
266 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
267
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
268 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>N</td>
269 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
270 241 jshamlet
  the NEGATIVE bit in the status register</td>
271
  <td colspan=2 style='mso-ignore:colspan'></td>
272
 </tr>
273
 <tr height=20 style='height:15.0pt'>
274
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_I</td>
275
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
276
  <td class=xl89 style='border-top:none;border-left:none'>011</td>
277 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
278
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
279 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>I</td>
280 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>set
281 241 jshamlet
  the INTERRUPT bit in the status register</td>
282
  <td colspan=2 style='mso-ignore:colspan'></td>
283
 </tr>
284
 <tr height=20 style='height:15.0pt'>
285
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_GP4</td>
286
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
287
  <td class=xl89 style='border-top:none;border-left:none'>100</td>
288 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
289
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
290 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>4</td>
291 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
292 241 jshamlet
  General Purpose Flag 1 in the status register</td>
293
  <td colspan=2 style='mso-ignore:colspan'></td>
294
 </tr>
295
 <tr height=20 style='height:15.0pt'>
296
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_GP5</td>
297
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
298
  <td class=xl89 style='border-top:none;border-left:none'>101</td>
299 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
300
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
301 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>5</td>
302 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
303 241 jshamlet
  General Purpose Flag 2 in the status register</td>
304
  <td colspan=2 style='mso-ignore:colspan'></td>
305
 </tr>
306
 <tr height=20 style='height:15.0pt'>
307
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_GP6</td>
308
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
309
  <td class=xl89 style='border-top:none;border-left:none'>110</td>
310 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
311
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
312 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>6</td>
313 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
314 241 jshamlet
  General Purpose Flag 3 in the status register</td>
315
  <td colspan=2 style='mso-ignore:colspan'></td>
316
 </tr>
317
 <tr height=20 style='height:15.0pt'>
318
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>STP PSR_GP7</td>
319
  <td class=xl89 style='border-top:none;border-left:none'>01011</td>
320
  <td class=xl89 style='border-top:none;border-left:none'>111</td>
321 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
322
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
323 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>7</td>
324 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Set
325 241 jshamlet
  General Purpose Flag 4 in the status register</td>
326
  <td colspan=2 style='mso-ignore:colspan'></td>
327
 </tr>
328
 <tr height=20 style='height:15.0pt'>
329
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>BTT 0-7</td>
330
  <td class=xl77 style='border-top:none;border-left:none'>01100</td>
331
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
332 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
333
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
334 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
335 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Test
336 241 jshamlet
  the nth bit in R0 (!R0(n) -&gt; Z, R0(7) -&gt; N)</td>
337
  <td colspan=2 style='mso-ignore:colspan'></td>
338
 </tr>
339
 <tr height=20 style='height:15.0pt'>
340
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_Z</td>
341
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
342
  <td class=xl89 style='border-top:none;border-left:none'>000</td>
343 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
344
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
345 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>Z</td>
346 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
347 241 jshamlet
  the ZERO flag in the status register</td>
348
  <td colspan=2 style='mso-ignore:colspan'></td>
349
 </tr>
350
 <tr height=20 style='height:15.0pt'>
351
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_C</td>
352
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
353
  <td class=xl89 style='border-top:none;border-left:none'>001</td>
354 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
355
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
356 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>C</td>
357 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
358 241 jshamlet
  the CARRY flag in the status register</td>
359
  <td colspan=2 style='mso-ignore:colspan'></td>
360
 </tr>
361
 <tr height=20 style='height:15.0pt'>
362
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_N</td>
363
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
364
  <td class=xl89 style='border-top:none;border-left:none'>010</td>
365 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
366
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
367 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>N</td>
368 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
369 241 jshamlet
  the NEGATIVE bit in the status register</td>
370
  <td colspan=2 style='mso-ignore:colspan'></td>
371
 </tr>
372
 <tr height=20 style='height:15.0pt'>
373
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_I</td>
374
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
375
  <td class=xl89 style='border-top:none;border-left:none'>011</td>
376 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
377
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
378 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>I</td>
379 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
380 241 jshamlet
  the INTERRUPT bit in the status register</td>
381
  <td colspan=2 style='mso-ignore:colspan'></td>
382
 </tr>
383
 <tr height=20 style='height:15.0pt'>
384
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_GP4</td>
385
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
386
  <td class=xl89 style='border-top:none;border-left:none'>100</td>
387 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
388
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
389 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>4</td>
390 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
391 241 jshamlet
  General Purpose Flag 1 in the status register</td>
392
  <td colspan=2 style='mso-ignore:colspan'></td>
393
 </tr>
394
 <tr height=20 style='height:15.0pt'>
395
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_GP5</td>
396
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
397
  <td class=xl89 style='border-top:none;border-left:none'>101</td>
398 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
399
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
400 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>5</td>
401 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
402 241 jshamlet
  General Purpose Flag 2 in the status register</td>
403
  <td colspan=2 style='mso-ignore:colspan'></td>
404
 </tr>
405
 <tr height=20 style='height:15.0pt'>
406
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_GP6</td>
407
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
408
  <td class=xl89 style='border-top:none;border-left:none'>110</td>
409 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
410
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
411 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>6</td>
412 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
413 241 jshamlet
  General Purpose Flag 3 in the status register</td>
414
  <td colspan=2 style='mso-ignore:colspan'></td>
415
 </tr>
416
 <tr height=20 style='height:15.0pt'>
417
  <td height=20 class=xl88 style='height:15.0pt;border-top:none'>CLP PSR_GP7</td>
418
  <td class=xl89 style='border-top:none;border-left:none'>01101</td>
419
  <td class=xl89 style='border-top:none;border-left:none'>111</td>
420 328 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
421
  <td class=xl89 style='border-top:none;border-left:none'>-</td>
422 241 jshamlet
  <td class=xl89 style='border-top:none;border-left:none'>7</td>
423 328 jshamlet
  <td class=xl90 width=679 style='border-top:none;border-left:none;width:509pt'>Clear
424 241 jshamlet
  General Purpose Flag 4 in the status register</td>
425
  <td colspan=2 style='mso-ignore:colspan'></td>
426
 </tr>
427
 <tr height=20 style='height:15.0pt'>
428
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>T0X R0-R7</td>
429
  <td class=xl77 style='border-top:none;border-left:none'>01110</td>
430
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
431 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
432
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
433 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,Z</td>
434 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Transfer
435 241 jshamlet
  R0 to Rn (R0 -&gt; Rn)</td>
436
  <td colspan=2 style='mso-ignore:colspan'></td>
437
 </tr>
438
 <tr height=20 style='height:15.0pt'>
439
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>CMP R0-R7</td>
440
  <td class=xl77 style='border-top:none;border-left:none'>01111</td>
441
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
442 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
443
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
444 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>N,C,Z</td>
445 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Compare
446 241 jshamlet
  R0 to Rn (Performs R0 - Rn, but only sets flags)</td>
447
  <td colspan=2 style='mso-ignore:colspan'></td>
448
 </tr>
449
 <tr height=20 style='height:15.0pt'>
450
  <td height=20 class=xl91 style='height:15.0pt;border-top:none'>PSH R0-R7</td>
451
  <td class=xl92 style='border-top:none;border-left:none'>10000</td>
452
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
453
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
454 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
455
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
456
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Push
457 241 jshamlet
  Rn to the stack</td>
458
  <td colspan=2 style='mso-ignore:colspan'></td>
459
 </tr>
460
 <tr height=20 style='height:15.0pt'>
461
  <td height=20 class=xl91 style='height:15.0pt;border-top:none'>POP R0-R7</td>
462
  <td class=xl92 style='border-top:none;border-left:none'>10001</td>
463
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
464 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
465
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
466 241 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>N,Z</td>
467 328 jshamlet
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Pop
468 241 jshamlet
  Rn from the stack</td>
469
  <td colspan=2 style='mso-ignore:colspan'></td>
470
 </tr>
471
 <tr height=20 style='height:15.0pt'>
472
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNZ</td>
473
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
474
  <td class=xl86 style='border-top:none;border-left:none'>000</td>
475 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
476
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
477 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
478 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
479 241 jshamlet
  if the ZERO flag is NOT set (Branch on Not Zero)</td>
480
  <td colspan=2 style='mso-ignore:colspan'></td>
481
 </tr>
482
 <tr height=20 style='height:15.0pt'>
483
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNC</td>
484
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
485
  <td class=xl86 style='border-top:none;border-left:none'>001</td>
486 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
487
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
488 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
489 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
490 241 jshamlet
  if the CARRY flag is NOT set (Branch on Not Carry)</td>
491
  <td colspan=2 style='mso-ignore:colspan'></td>
492
 </tr>
493
 <tr height=20 style='height:15.0pt'>
494
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNN</td>
495
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
496
  <td class=xl86 style='border-top:none;border-left:none'>010</td>
497 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
498
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
499 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
500 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
501 241 jshamlet
  if the NEGATIVE flag is NOT set (Branch on Not Negative)</td>
502
  <td colspan=2 style='mso-ignore:colspan'></td>
503
 </tr>
504
 <tr height=20 style='height:15.0pt'>
505
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNI</td>
506
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
507
  <td class=xl86 style='border-top:none;border-left:none'>011</td>
508 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
509
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
510 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
511 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
512 241 jshamlet
  if the INTERRUPT flag is NOT set (Branch on Not Interrupt)</td>
513
  <td colspan=2 style='mso-ignore:colspan'></td>
514
 </tr>
515
 <tr height=20 style='height:15.0pt'>
516
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNGP4</td>
517
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
518
  <td class=xl86 style='border-top:none;border-left:none'>100</td>
519 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
520
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
521 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
522 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
523 241 jshamlet
  if General Purpose Flag 4 is NOT set</td>
524
  <td colspan=2 style='mso-ignore:colspan'></td>
525
 </tr>
526
 <tr height=20 style='height:15.0pt'>
527
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNGP5</td>
528
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
529
  <td class=xl86 style='border-top:none;border-left:none'>101</td>
530 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
531
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
532 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
533 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
534 241 jshamlet
  if General Purpose Flag 5 is NOT set</td>
535
  <td colspan=2 style='mso-ignore:colspan'></td>
536
 </tr>
537
 <tr height=20 style='height:15.0pt'>
538
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNGP6</td>
539
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
540
  <td class=xl86 style='border-top:none;border-left:none'>110</td>
541 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
542
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
543 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
544 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
545 241 jshamlet
  if General Purpose Flag 6 is NOT set</td>
546
  <td colspan=2 style='mso-ignore:colspan'></td>
547
 </tr>
548
 <tr height=20 style='height:15.0pt'>
549
  <td height=20 class=xl85 style='height:15.0pt;border-top:none'>BNGP7</td>
550
  <td class=xl86 style='border-top:none;border-left:none'>10010</td>
551
  <td class=xl86 style='border-top:none;border-left:none'>111</td>
552 328 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>Signed Branch Offset</td>
553
  <td class=xl115 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
554 241 jshamlet
  <td class=xl86 style='border-top:none;border-left:none'>-</td>
555 328 jshamlet
  <td class=xl87 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
556 241 jshamlet
  if General Purpose Flag 7 is NOT set</td>
557
  <td colspan=2 style='mso-ignore:colspan'></td>
558
 </tr>
559
 <tr height=20 style='height:15.0pt'>
560
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRZ</td>
561
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
562
  <td class=xl83 style='border-top:none;border-left:none'>000</td>
563 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
564
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
565 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
566 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
567 241 jshamlet
  if the ZERO flag is set (Branch on Zero)</td>
568
  <td colspan=2 style='mso-ignore:colspan'></td>
569
 </tr>
570
 <tr height=20 style='height:15.0pt'>
571
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRC</td>
572
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
573
  <td class=xl83 style='border-top:none;border-left:none'>001</td>
574 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
575
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
576 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
577 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
578 241 jshamlet
  if the CARRY flag is set (Branch on Carry)</td>
579
  <td colspan=2 style='mso-ignore:colspan'></td>
580
 </tr>
581
 <tr height=20 style='height:15.0pt'>
582
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRN</td>
583
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
584
  <td class=xl83 style='border-top:none;border-left:none'>010</td>
585 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
586
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
587 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
588 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
589 241 jshamlet
  if the NEGATIVE flag is set (Branch on Negative)</td>
590
  <td colspan=2 style='mso-ignore:colspan'></td>
591
 </tr>
592
 <tr height=20 style='height:15.0pt'>
593
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRI</td>
594
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
595
  <td class=xl83 style='border-top:none;border-left:none'>011</td>
596 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
597
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
598 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
599 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
600 241 jshamlet
  if the INTERRUPT flag is set (Branch on Interrupt)</td>
601
  <td colspan=2 style='mso-ignore:colspan'></td>
602
 </tr>
603
 <tr height=20 style='height:15.0pt'>
604
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRGP4</td>
605
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
606
  <td class=xl83 style='border-top:none;border-left:none'>100</td>
607 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
608
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
609 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
610 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
611 241 jshamlet
  if General Purpose Flag 4 is set</td>
612
  <td colspan=2 style='mso-ignore:colspan'></td>
613
 </tr>
614
 <tr height=20 style='height:15.0pt'>
615
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRGP5</td>
616
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
617
  <td class=xl83 style='border-top:none;border-left:none'>101</td>
618 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
619
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
620 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
621 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
622 241 jshamlet
  if General Purpose Flag 5 is set</td>
623
  <td colspan=2 style='mso-ignore:colspan'></td>
624
 </tr>
625
 <tr height=20 style='height:15.0pt'>
626
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRGP6</td>
627
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
628
  <td class=xl83 style='border-top:none;border-left:none'>110</td>
629 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
630
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
631 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
632 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
633 241 jshamlet
  if General Purpose Flag 6 is set</td>
634
  <td colspan=2 style='mso-ignore:colspan'></td>
635
 </tr>
636
 <tr height=20 style='height:15.0pt'>
637
  <td height=20 class=xl82 style='height:15.0pt;border-top:none'>BRGP7</td>
638
  <td class=xl83 style='border-top:none;border-left:none'>10011</td>
639
  <td class=xl83 style='border-top:none;border-left:none'>111</td>
640 328 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>Signed Branch Offset</td>
641
  <td class=xl116 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
642 241 jshamlet
  <td class=xl83 style='border-top:none;border-left:none'>-</td>
643 328 jshamlet
  <td class=xl84 width=679 style='border-top:none;border-left:none;width:509pt'>Branch
644 241 jshamlet
  if General Purpose Flag 7 is set</td>
645
  <td colspan=2 style='mso-ignore:colspan'></td>
646
 </tr>
647
 <tr height=20 style='height:15.0pt'>
648
  <td height=20 class=xl97 style='height:15.0pt;border-top:none'>DBNZ R0-R7</td>
649
  <td class=xl98 style='border-top:none;border-left:none'>10100</td>
650
  <td class=xl98 style='border-top:none;border-left:none'>xxx</td>
651 328 jshamlet
  <td class=xl98 style='border-top:none;border-left:none'>Signed Branch Offset</td>
652
  <td class=xl121 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
653 241 jshamlet
  <td class=xl98 style='border-top:none;border-left:none'>N,C,Z</td>
654 328 jshamlet
  <td class=xl99 width=679 style='border-top:none;border-left:none;width:509pt'>Decrement
655 241 jshamlet
  and Branch if Not Zero (Rn - 1 -&gt; Rn)</td>
656
  <td colspan=2 style='mso-ignore:colspan'></td>
657
 </tr>
658
 <tr height=20 style='height:15.0pt'>
659
  <td height=20 class=xl100 style='height:15.0pt;border-top:none'>INT 0-7</td>
660
  <td class=xl101 style='border-top:none;border-left:none'>10101</td>
661
  <td class=xl101 style='border-top:none;border-left:none'>xxx</td>
662
  <td class=xl101 style='border-top:none;border-left:none'>-</td>
663 328 jshamlet
  <td class=xl117 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
664
  <td class=xl101 style='border-top:none;border-left:none'>-</td>
665
  <td class=xl102 width=679 style='border-top:none;border-left:none;width:509pt'>Trigger
666 241 jshamlet
  Interrupt n (Triggers the specified interrupt, then pauses the processor
667
  until the ISR executes)</td>
668
  <td colspan=2 style='mso-ignore:colspan'></td>
669
 </tr>
670
 <tr height=20 style='height:15.0pt'>
671
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>MUL R0-R7</td>
672
  <td class=xl77 style='border-top:none;border-left:none'>10110</td>
673
  <td class=xl103 style='border-top:none;border-left:none'>xxx</td>
674 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
675
  <td class=xl114 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
676 241 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>Z</td>
677 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Multiply
678 241 jshamlet
  Rn by R0 with results stored in R1:R0 (Rn * R0 -&gt; R1:R0)</td>
679
  <td colspan=2 style='mso-ignore:colspan'></td>
680
 </tr>
681
 <tr height=20 style='height:15.0pt'>
682
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>RSP</td>
683
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
684
  <td class=xl95 style='border-top:none;border-left:none'>000</td>
685
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
686 328 jshamlet
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
687
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
688
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Reset
689 241 jshamlet
  (or Retrieve/Relocate) the Stack Pointer <font class="font5">(See CPU options
690
  for exact behavior)</font></td>
691
  <td colspan=2 style='mso-ignore:colspan'></td>
692
 </tr>
693
 <tr height=20 style='height:15.0pt'>
694
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>RTS</td>
695
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
696
  <td class=xl95 style='border-top:none;border-left:none'>001</td>
697
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
698 328 jshamlet
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
699
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
700
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Return
701 241 jshamlet
  from Subroutine (only pops the return address and jumps - does not affect
702
  flags)</td>
703
  <td colspan=2 style='mso-ignore:colspan'></td>
704
 </tr>
705
 <tr height=20 style='height:15.0pt'>
706
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>RTI</td>
707
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
708
  <td class=xl95 style='border-top:none;border-left:none'>010</td>
709
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
710 328 jshamlet
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
711
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
712
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Return
713 241 jshamlet
  from Interrupt (restores both the address and the status register)</td>
714
  <td colspan=2 style='mso-ignore:colspan'></td>
715
 </tr>
716
 <tr height=20 style='height:15.0pt'>
717 328 jshamlet
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>BRK/NOP/WAI</td>
718 241 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
719
  <td class=xl95 style='border-top:none;border-left:none'>011</td>
720
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
721 328 jshamlet
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
722
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
723
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Break
724 241 jshamlet
  or Wait for Interrupt (See CPU options for exact behavior)</td>
725
  <td colspan=2 style='mso-ignore:colspan'></td>
726
 </tr>
727
 <tr height=20 style='height:15.0pt'>
728
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>JMP</td>
729
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
730
  <td class=xl95 style='border-top:none;border-left:none'>100</td>
731 328 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>Address Low</td>
732
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>Address
733
  High</td>
734 241 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
735 328 jshamlet
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Jump
736 241 jshamlet
  to Address (Address is assumed to be stored after the instruction)</td>
737
  <td colspan=2 style='mso-ignore:colspan'></td>
738
 </tr>
739
 <tr height=20 style='height:15.0pt'>
740
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>SMSK</td>
741
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
742
  <td class=xl95 style='border-top:none;border-left:none'>101</td>
743
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
744 328 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
745
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
746
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Set
747 241 jshamlet
  the Interrupt Mask to the contents of R0 (R0 -&gt; MASK)</td>
748
  <td colspan=2 style='mso-ignore:colspan'></td>
749
 </tr>
750
 <tr height=20 style='height:15.0pt'>
751
  <td height=20 class=xl94 style='height:15.0pt;border-top:none'>GMSK</td>
752
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
753
  <td class=xl95 style='border-top:none;border-left:none'>110</td>
754
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
755 328 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
756
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
757
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Get
758 241 jshamlet
  the Interrupt Mask and store to R0 (MASK -&gt; R0)</td>
759
  <td colspan=2 style='mso-ignore:colspan'></td>
760
 </tr>
761
 <tr height=21 style='mso-height-source:userset;height:15.75pt'>
762
  <td height=21 class=xl94 style='height:15.75pt;border-top:none'>JSR</td>
763
  <td class=xl95 style='border-top:none;border-left:none'>10111</td>
764
  <td class=xl95 style='border-top:none;border-left:none'>111</td>
765 328 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>Address Low</td>
766
  <td class=xl118 width=140 style='border-top:none;border-left:none;width:105pt'>Address
767
  High</td>
768 241 jshamlet
  <td class=xl95 style='border-top:none;border-left:none'>-</td>
769 328 jshamlet
  <td class=xl96 width=679 style='border-top:none;border-left:none;width:509pt'>Jump
770 241 jshamlet
  to Subroutine (pushes the return address, then jumps to the address specified
771
  in subsequent bytes)</td>
772
  <td colspan=2 style='mso-ignore:colspan'></td>
773
 </tr>
774
 <tr height=20 style='height:15.0pt'>
775
  <td height=20 class=xl76 style='height:15.0pt;border-top:none'>UPP R0-R7</td>
776
  <td class=xl77 style='border-top:none;border-left:none'>11000</td>
777
  <td class=xl77 style='border-top:none;border-left:none'>xxx</td>
778 328 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>-</td>
779
  <td class=xl114 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
780 277 jshamlet
  <td class=xl77 style='border-top:none;border-left:none'>C</td>
781 328 jshamlet
  <td class=xl78 width=679 style='border-top:none;border-left:none;width:509pt'>Increment
782 241 jshamlet
  Register Pair (Rn+1:Rn + 1 -&gt; Rn+1:Rn)</td>
783
  <td colspan=2 style='mso-ignore:colspan'></td>
784
 </tr>
785
 <tr height=20 style='height:15.0pt'>
786
  <td height=20 class=xl79 style='height:15.0pt;border-top:none'>STA R0-R7</td>
787
  <td class=xl80 style='border-top:none;border-left:none'>11001</td>
788
  <td class=xl80 style='border-top:none;border-left:none'>xxx</td>
789 328 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>Address Low</td>
790
  <td class=xl119 width=140 style='border-top:none;border-left:none;width:105pt'>Address
791
  High</td>
792 241 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>-</td>
793 328 jshamlet
  <td class=xl81 width=679 style='border-top:none;border-left:none;width:509pt'>Store
794 241 jshamlet
  Rn to Fixed Address (Address follows instruction)</td>
795
  <td colspan=2 style='mso-ignore:colspan'></td>
796
 </tr>
797
 <tr height=20 style='height:15.0pt'>
798
  <td height=20 class=xl79 style='height:15.0pt;border-top:none'>STX R0-R7(+)</td>
799
  <td class=xl80 style='border-top:none;border-left:none'>11010</td>
800
  <td class=xl80 style='border-top:none;border-left:none'>xxx</td>
801 328 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>-</td>
802
  <td class=xl119 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
803 277 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>(C*)</td>
804 328 jshamlet
  <td class=xl81 width=679 style='border-top:none;border-left:none;width:509pt'>Store
805 241 jshamlet
  R0 to Address referenced by Rn+1:Rn (See CPU options for exact behavior)</td>
806
  <td colspan=2 style='mso-ignore:colspan'></td>
807
 </tr>
808 328 jshamlet
 <tr height=40 style='height:30.0pt'>
809
  <td height=40 class=xl79 style='height:30.0pt;border-top:none'>STO R0-R7(+)</td>
810 241 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>11011</td>
811
  <td class=xl80 style='border-top:none;border-left:none'>xxx</td>
812 328 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>Address Offset</td>
813
  <td class=xl119 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
814 277 jshamlet
  <td class=xl80 style='border-top:none;border-left:none'>(C*)</td>
815 328 jshamlet
  <td class=xl81 width=679 style='border-top:none;border-left:none;width:509pt'>Store
816
  R0 to Address referenced by Rn+1:Rn + Offset (Offset is stored in subsequent
817
  byte) (See CPU options for exact behavior)</td>
818 241 jshamlet
  <td colspan=2 style='mso-ignore:colspan'></td>
819
 </tr>
820
 <tr height=20 style='height:15.0pt'>
821
  <td height=20 class=xl91 style='height:15.0pt;border-top:none'>LDI R0-R7</td>
822
  <td class=xl92 style='border-top:none;border-left:none'>11100</td>
823
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
824 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>Immediate Data</td>
825
  <td class=xl120 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
826 241 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>N,Z</td>
827 328 jshamlet
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Load
828 241 jshamlet
  Rn with Immediate Data (IMM -&gt; Rn) (Data is stored in subsequent byte)</td>
829
  <td colspan=2 style='mso-ignore:colspan'></td>
830
 </tr>
831
 <tr height=20 style='height:15.0pt'>
832
  <td height=20 class=xl91 style='height:15.0pt;border-top:none'>LDA R0-R7</td>
833
  <td class=xl92 style='border-top:none;border-left:none'>11101</td>
834
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
835 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>Address Low</td>
836
  <td class=xl120 width=140 style='border-top:none;border-left:none;width:105pt'>Address
837
  High</td>
838 241 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>N,Z</td>
839 328 jshamlet
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Load
840 241 jshamlet
  Rn from Fixed Address (Address follows instruction)</td>
841
  <td colspan=2 style='mso-ignore:colspan'></td>
842
 </tr>
843
 <tr height=20 style='height:15.0pt'>
844
  <td height=20 class=xl91 style='height:15.0pt;border-top:none'>LDX R0-R7(+)</td>
845
  <td class=xl92 style='border-top:none;border-left:none'>11110</td>
846
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
847 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>-</td>
848
  <td class=xl120 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
849 277 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>N,Z,(C*)</td>
850 328 jshamlet
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Load
851 241 jshamlet
  R0 from Address referenced by Rn+1:Rn (See CPU options for exact behavior)</td>
852
  <td colspan=2 style='mso-ignore:colspan'></td>
853
 </tr>
854
 <tr height=40 style='height:30.0pt'>
855
  <td height=40 class=xl91 style='height:30.0pt;border-top:none'>LDO R0-R7(+)</td>
856
  <td class=xl92 style='border-top:none;border-left:none'>11111</td>
857
  <td class=xl92 style='border-top:none;border-left:none'>xxx</td>
858 328 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>Address Offset</td>
859
  <td class=xl120 width=140 style='border-top:none;border-left:none;width:105pt'>-</td>
860 277 jshamlet
  <td class=xl92 style='border-top:none;border-left:none'>N,Z,(C*)</td>
861 328 jshamlet
  <td class=xl93 width=679 style='border-top:none;border-left:none;width:509pt'>Load
862
  R0 from Address referenced by Rn+1:Rn + Offset<span
863 241 jshamlet
  style='mso-spacerun:yes'>  </span>(Offset is stored in subsequent byte) (See
864
  CPU options for exact behavior)</td>
865
  <td colspan=2 style='mso-ignore:colspan'></td>
866
 </tr>
867
 <tr height=20 style='height:15.0pt'>
868
  <td height=20 style='height:15.0pt'></td>
869
  <td colspan=2 class=xl67 style='mso-ignore:colspan'></td>
870
  <td class=xl66></td>
871 328 jshamlet
  <td class=xl112></td>
872 241 jshamlet
  <td colspan=2 style='mso-ignore:colspan'></td>
873
  <td class=xl65></td>
874 328 jshamlet
  <td></td>
875 241 jshamlet
 </tr>
876
 <tr height=60 style='height:45.0pt'>
877
  <td height=60 style='height:45.0pt'></td>
878
  <td colspan=2 class=xl67 style='mso-ignore:colspan'></td>
879
  <td class=xl66></td>
880 328 jshamlet
  <td class=xl112></td>
881
  <td></td>
882
  <td class=xl122 width=679 style='width:509pt'>Note - Indexed instructions
883
  with (+) after the operand optionally allow for auto-incrementing of the
884
  register pair. For example, LDX R4++ is equivalent to LDX R5 when
885
  auto-incrementing is turned on) See CPU options for exact behavior)</td>
886 241 jshamlet
  <td class=xl65></td>
887 328 jshamlet
  <td></td>
888 241 jshamlet
 </tr>
889
 <![if supportMisalignedColumns]>
890
 <tr height=0 style='display:none'>
891 328 jshamlet
  <td width=98 style='width:74pt'></td>
892 241 jshamlet
  <td width=74 style='width:56pt'></td>
893
  <td width=61 style='width:46pt'></td>
894 328 jshamlet
  <td width=138 style='width:104pt'></td>
895
  <td width=140 style='width:105pt'></td>
896 241 jshamlet
  <td width=64 style='width:48pt'></td>
897 328 jshamlet
  <td width=679 style='width:509pt'></td>
898 241 jshamlet
  <td width=64 style='width:48pt'></td>
899 328 jshamlet
  <td width=88 style='width:66pt'></td>
900 241 jshamlet
 </tr>
901
 <![endif]>
902
</table>
903
 
904
</body>
905
 
906
</html>

powered by: WebSVN 2.1.0

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