Rev Author Line No. Line
4985 kaklik 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title> Forth amforth </title>
6 <meta name="keywords" content="amforth programming language Forth ATmega ATMEL">
7 <meta name="description" content="amforth - laguage Forth for ATMEL ATmega">
8 <!-- AUTOINCLUDE START "Page/Head.en.ihtml" DO NOT REMOVE -->
9 <link rel="StyleSheet" href="../../../Web/CSS/MLAB.css" type="text/css" title="MLAB Basic Style">
10 <link rel="StyleSheet" href="../../../Web/CSS/MLAB_Print.css" type="text/css" media="print">
11 <link rel="shortcut icon" type="image/x-icon" href="../../../Web/PIC/MLAB.ico">
12 <script type="text/javascript" src="../../../Web/JS/MLAB_Menu.js"></script>
13 <!-- AUTOINCLUDE END -->
14 </head>
15  
16 <body lang="en">
17  
18 <!-- AUTOINCLUDE START "Page/Header.en.ihtml" DO NOT REMOVE -->
19 <!-- ============== HEADER ============== -->
20 <div class="Header">
21 <script type="text/javascript">
22 <!--
23 SetRelativePath("../../../");
24 DrawHeader();
25 // -->
26 </script>
27 <noscript>
28 <p><b> JavaScript is required for including of the header </b></p>
29 </noscript>
30 </div>
31 <!-- AUTOINCLUDE END -->
32  
33 <!-- AUTOINCLUDE START "Page/Menu.en.ihtml" DO NOT REMOVE -->
34 <!-- ============== MENU ============== -->
35 <div class="Menu">
36 <script type="text/javascript">
37 <!--
38 SetRelativePath("../../../");
39 DrawMenu();
40 // -->
41 </script>
42 <noscript>
43 <p><b> JavaScript is required for including of the menu </b><p>
44 </noscript>
45 </div>
46 <!-- AUTOINCLUDE END -->
47  
48 <!-- ============== TEXT ============== -->
49 <div class="Text">
50 <p class="Title">
51 amforth - Forth for ATmega
52 </p>
53 <p class="Subtitle">
54 This page provides cross reference of the language amforth. The list is
55 automaticaly generated drectly from assemble source files.
56 </p>
57  
58 <h1> Vesion </h1>
59  
60 <table class="Compact">
61 <tr>
62 <th colspan="2" class="center"> Basic information </th>
63 </tr>
64 <tr>
65 <td> amforth main page </td>
66 <td> <a href="http://amforth.sourceforge.net/">http://amforth.sourceforge.net/</a></td>
67 </tr>
68 <tr>
69 <td> amforth download page </td>
70 <td> <a href="http://sourceforge.net/projects/amforth">http://sourceforge.net/projects/amforth</a></td>
71 </tr>
72 <tr>
73 <td> Subversion server </td>
74 <td> <a href="https://amforth.svn.sourceforge.net/svnroot/amforth">https://amforth.svn.sourceforge.net/svnroot/amforth</a></td>
75 </tr>
76 <tr><th colspan="2">Subversion Info</th></tr><tr><td>URL</td><td> https://amforth.svn.sourceforge.net/svnroot/amforth/trunk</td></tr>
77 <tr><td>Repository Root</td><td> https://amforth.svn.sourceforge.net/svnroot/amforth</td></tr>
78 <tr><td>Repository UUID</td><td> 1be2a6a9-e81f-0410-9be0-e59bd151596a</td></tr>
79 <tr><td>Last Changed Author</td><td> mtrute</td></tr>
80 <tr><td>Last Changed Rev</td><td> 328</td></tr>
81 <tr><td>Last Changed Date</td><td> 2007-06-11 08:42:09 +0200 (Mon, 11 Jun 2007)</td></tr>
82 </table>
83  
84 <!--
85 <<ReadMe>>
86 -->
87  
88 <h1> Vocabulary </h1>
89  
90 <table>
91 <tr>
92 <th>Word</th>
93 <th>Label</th>
94 <th>Definition</th>
95 </tr>
96 <tr>
97 <td>!</td>
98 <td><a href="CodeAsm/store.html#STORE" title="VE_STORE">STORE</a></td>
99 <td>( n addr -- ) Memory<br>R( -- )<br>write 16bit to RAM memory (or IO or CPU registers)</td>
100 </tr>
101 <tr>
102 <td>#</td>
103 <td><a href="CodeAsm/sharp.html#SHARP" title="VE_SHARP">SHARP</a></td>
104 <td>( d1 -- d2) Numeric IO<br>R( -- )<br>compiles next digit to HLD</td>
105 </tr>
106 <tr>
107 <td>#&gt;</td>
108 <td><a href="CodeAsm/sharp_g.html#SHARP_G" title="VE_SHARP_G">SHARP_G</a></td>
109 <td>( d1 -- addr count ) Numeric IO<br>R( -- )<br>convert HLD buffer to a usable string</td>
110 </tr>
111 <tr>
112 <td>#int</td>
113 <td><a href="CodeAsm/intx.html#NUMINT" title="VE_NUMINT">NUMINT</a></td>
114 <td>( -- n ) Interrupt<br>R( -- )<br>number of interrupt vectors (0 based)</td>
115 </tr>
116 <tr>
117 <td>#s</td>
118 <td><a href="CodeAsm/sharp_s.html#SHARP_S" title="VE_SHARP_S">SHARP_S</a></td>
119 <td>( d1 -- 0) Numeric IO<br>R( -- )<br>call # until a value of zero is reached</td>
120 </tr>
121 <tr>
122 <td>#tib</td>
123 <td><a href="CodeAsm/sharptib.html#NUMBERTIB" title="VE_NUMBERTIB">NUMBERTIB</a></td>
124 <td>( -- addr ) System<br>R( -- )<br>address of variable holding the number of characters in TIB</td>
125 </tr>
126 <tr>
127 <td>'</td>
128 <td><a href="CodeAsm/tick.html#TICK" title="VE_TICK">TICK</a></td>
129 <td>( -- XT ) Dictionary<br>R( -- )<br>search dictionary, returns XT or throw an exception -13</td>
130 </tr>
131 <tr>
132 <td>(</td>
133 <td><a href="CodeAsm/lparenthesis.html#LPARENTHESIS" title="VE_LPARENTHESIS">LPARENTHESIS</a></td>
134 <td>( -- ) Compiler<br>R( -- )<br>skip everything up to the closing bracket on the same line</td>
135 </tr>
136 <tr>
137 <td>*</td>
138 <td><a href="CodeAsm/star.html#MUL" title="VE_MUL">MUL</a></td>
139 <td>( n1 n2 -- n3 ) Arithmetics<br>R( -- )<br>multiply routine</td>
140 </tr>
141 <tr>
142 <td>*/</td>
143 <td><a href="CodeAsm/starslash.html#STARSLASH" title="VE_STARSLASH">STARSLASH</a></td>
144 <td>(n1 n2 n3 -- n4) Arithmetics<br>R( -- )<br>signed multiply and division with double precision intermediate</td>
145 </tr>
146 <tr>
147 <td>*/mod</td>
148 <td><a href="CodeAsm/starslashmod.html#STARSLASHMOD" title="VE_STARSLASHMOD">STARSLASHMOD</a></td>
149 <td>( n1 n2 n3 -- rem quot) Arithmetics<br>R( -- )<br>signed multiply and division with double precision intermediate and remainder</td>
150 </tr>
151 <tr>
152 <td>+</td>
153 <td><a href="CodeAsm/plus.html#PLUS" title="VE_PLUS">PLUS</a></td>
154 <td>( n1 n2 -- n3) Arithmetics<br>R( -- )<br>addition</td>
155 </tr>
156 <tr>
157 <td>+!</td>
158 <td><a href="CodeAsm/plusstore.html#PLUSSTORE" title="VE_PLUSSTORE">PLUSSTORE</a></td>
159 <td>( n addr -- ) Arithmetics<br>R( -- )<br>add value to content of RAM address</td>
160 </tr>
161 <tr>
162 <td>+loop</td>
163 <td><a href="CodeAsm/plusloop.html#PLOOP" title="VE_PLOOP">PLOOP</a></td>
164 <td>( addr -- ) Control Structure<br>R( -- )<br>compile +loop and resolve branch</td>
165 </tr>
166 <tr>
167 <td>,</td>
168 <td><a href="CodeAsm/comma.html#COMMA" title="VE_COMMA">COMMA</a></td>
169 <td>( n -- ) Dictionary<br>R( -- )<br>compile 16 bit into flash at here.</td>
170 </tr>
171 <tr>
172 <td>-</td>
173 <td><a href="CodeAsm/minus.html#MINUS" title="VE_MINUS">MINUS</a></td>
174 <td>( n1 n2 -- n3 ) Arithmetics<br>R( -- )<br>subtract</td>
175 </tr>
176 <tr>
177 <td>.</td>
178 <td><a href="CodeAsm/dot.html#DOT" title="VE_DOT">DOT</a></td>
179 <td>( n -- ) Numeric IO<br>R( -- )<br>prints TOS in free number format</td>
180 </tr>
181 <tr>
182 <td>.&quot;</td>
183 <td><a href="CodeAsm/dotstring.html#DOTSTRING" title="VE_DOTSTRING">DOTSTRING</a></td>
184 <td>( -- ) Compiler<br>R( -- )<br>compiles string into dictionary to be typed at runtime</td>
185 </tr>
186 <tr>
187 <td>.&quot;</td>
188 <td><a href="CodeAsm/dotstring.html#DOTSTRING" title="VE_DOTSTRING">DOTSTRING</a></td>
189 <td>( -- ) Compiler<br>R( -- )<br>compiles string into dictionary to be typed at runtime</td>
190 </tr>
191 <tr>
192 <td>.s</td>
193 <td><a href="CodeAsm/dot-s.html#DOTS" title="VE_DOTS">DOTS</a></td>
194 <td>( -- ) Tools<br>R( -- )<br>stack dump</td>
195 </tr>
196 <tr>
197 <td>.s</td>
198 <td><a href="CodeAsm/dot-s.html#DOTS" title="VE_DOTS">DOTS</a></td>
199 <td>( -- ) Tools<br>R( -- )<br>stack dump</td>
200 </tr>
201 <tr>
202 <td>/</td>
203 <td><a href="CodeAsm/slash.html#SLASH" title="VE_SLASH">SLASH</a></td>
204 <td>( n1 n2 -- n3) Arithmetics<br>R( -- )<br>diviion</td>
205 </tr>
206 <tr>
207 <td>/int</td>
208 <td><a href="CodeAsm/intx.html#INTOFF" title="VE_INTOFF">INTOFF</a></td>
209 <td>( -- sreg ) Interrupt<br>R( -- )<br>turns off all interrupts and leaves SREG in TOS</td>
210 </tr>
211 <tr>
212 <td>/key</td>
213 <td><a href="CodeAsm/slashkey.html#SLASHKEY" title="VE_SLASHKEY">SLASHKEY</a></td>
214 <td>( -- f) Character IO<br>R( -- )<br>fetch 'key? vector and execute it if not zero. Leave true if a character can be read, false otherwise</td>
215 </tr>
216 <tr>
217 <td>/mod</td>
218 <td><a href="CodeAsm/slashmod.html#SLASHMOD" title="VE_SLASHMOD">SLASHMOD</a></td>
219 <td>( n1 n2 -- rem quot) Arithmetics<br>R( -- )<br>signed division n1/n2 with remainder</td>
220 </tr>
221 <tr>
222 <td>/string</td>
223 <td><a href="CodeAsm/slashstring.html#SLASHSTRING" title="VE_SLASHSTRING">SLASHSTRING</a></td>
224 <td>( addr1 u1 n-- addr2 u2 ) String<br>R( -- )<br>adjust string from addr1 to addr1+n, reduce length from u1 to u2</td>
225 </tr>
226 <tr>
227 <td>0</td>
228 <td><a href="CodeAsm/zero.html#ZERO" title="VE_ZERO">ZERO</a></td>
229 <td>( -- 0 ) Arithmetics<br>R( -- )<br>leaves the value 0 on TOS</td>
230 </tr>
231 <tr>
232 <td>0&lt;</td>
233 <td><a href="CodeAsm/lesszero.html#LESSZERO" title="VE_LESSZERO">LESSZERO</a></td>
234 <td>( n1 -- flag) Compare<br>R( -- )<br>compare with zero</td>
235 </tr>
236 <tr>
237 <td>0&lt;&gt;</td>
238 <td><a href="CodeAsm/notequalzero.html#NOTEQUALZERO" title="VE_NOTEQUALZERO">NOTEQUALZERO</a></td>
239 <td>( n -- flag ) Compare<br>R( -- )<br>compare with zero</td>
240 </tr>
241 <tr>
242 <td>0=</td>
243 <td><a href="CodeAsm/equalzero.html#EQUALZERO" title="VE_EQUALZERO">EQUALZERO</a></td>
244 <td>( n -- flag ) Compare<br>R( -- )<br>compare with 0 (zero)</td>
245 </tr>
246 <tr>
247 <td>0&gt;</td>
248 <td><a href="CodeAsm/greaterzero.html#GREATERZERO" title="VE_GREATERZERO">GREATERZERO</a></td>
249 <td>( n1 -- flag ) Compare<br>R( -- )<br>compare with zero</td>
250 </tr>
251 <tr>
252 <td>1+</td>
253 <td><a href="CodeAsm/1plus.html#1PLUS" title="VE_1PLUS">1PLUS</a></td>
254 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>optimized increment</td>
255 </tr>
256 <tr>
257 <td>1-</td>
258 <td><a href="CodeAsm/1minus.html#1MINUS" title="VE_1MINUS">1MINUS</a></td>
259 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>optimized decrement (CORE)</td>
260 </tr>
261 <tr>
262 <td>1ms</td>
263 <td><a href="CodeAsm/1ms.html#1MS" title="VE_1MS">1MS</a></td>
264 <td>( -- ) Time<br>R(--)<br>busy waits (almost) exactly 1 millisecond</td>
265 </tr>
266 <tr>
267 <td>2*</td>
268 <td><a href="CodeAsm/2star.html#2STAR" title="VE_2STAR">2STAR</a></td>
269 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>arithmetic shift left</td>
270 </tr>
271 <tr>
272 <td>2/</td>
273 <td><a href="CodeAsm/2slash.html#2SLASH" title="VE_2SLASH">2SLASH</a></td>
274 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>arithmetic shift right</td>
275 </tr>
276 <tr>
277 <td>:</td>
278 <td><a href="CodeAsm/colon.html#COLON" title="VE_COLON">COLON</a></td>
279 <td>( -- ) Compiler<br>R( -- )<br>create named entry in the dictionary</td>
280 </tr>
281 <tr>
282 <td>:noname</td>
283 <td><a href="CodeAsm/colon-noname.html#COLONNONAME" title="VE_COLONNONAME">COLONNONAME</a></td>
284 <td>( -- xt ) Compiler<br>R( -- )<br>create unnamed entry in the dictionary</td>
285 </tr>
286 <tr>
287 <td>;</td>
288 <td><a href="CodeAsm/semicolon.html#SEMICOLON" title="VE_SEMICOLON">SEMICOLON</a></td>
289 <td>( -- ) Compiler<br>R( -- )<br>finish colon defintion, compiles (exit) and returns to interpreter state</td>
290 </tr>
291 <tr>
292 <td>&lt;</td>
293 <td><a href="CodeAsm/less.html#LESS" title="VE_LESS">LESS</a></td>
294 <td>( n1 n2 -- flasg) Compare<br>R( -- )<br>compare two values</td>
295 </tr>
296 <tr>
297 <td>&lt;#</td>
298 <td><a href="CodeAsm/l_sharp.html#L_SHARP" title="VE_L_SHARP">L_SHARP</a></td>
299 <td>( -- ) Numeric IO<br>R( -- )<br>emties counted string at address from hld</td>
300 </tr>
301 <tr>
302 <td>&lt;&gt;</td>
303 <td><a href="CodeAsm/notequal.html#NOTEQUAL" title="VE_NOTEQUAL">NOTEQUAL</a></td>
304 <td>( n1 n2 -- flag) Compare<br>R( -- )<br>compare two values</td>
305 </tr>
306 <tr>
307 <td>=</td>
308 <td><a href="CodeAsm/equal.html#EQUAL" title="VE_EQUAL">EQUAL</a></td>
309 <td>( n1 n2 -- flag ) Compare<br>R( -- )<br>compares two values</td>
310 </tr>
311 <tr>
312 <td>&gt;</td>
313 <td><a href="CodeAsm/greater.html#GREATER" title="VE_GREATER">GREATER</a></td>
314 <td>( n1 n2 -- flag ) Compare<br>R( -- )<br>compares two values (signed)</td>
315 </tr>
316 <tr>
317 <td>&gt;&lt;</td>
318 <td><a href="CodeAsm/byteswap.html#BYTESWAP" title="VE_BYTESWAP">BYTESWAP</a></td>
319 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>swap the bytes of the TOS</td>
320 </tr>
321 <tr>
322 <td>&gt;in</td>
323 <td><a href="CodeAsm/g_in.html#G_IN" title="VE_G_IN">G_IN</a></td>
324 <td>( -- addr ) System<br>R( -- )<br>pointer to current read position in TIB</td>
325 </tr>
326 <tr>
327 <td>&gt;r</td>
328 <td><a href="CodeAsm/to_r.html#TO_R" title="VE_TO_R">TO_R</a></td>
329 <td>( n -- ) Stack<br>R( -- n)<br>move TOS to TOR</td>
330 </tr>
331 <tr>
332 <td>?do</td>
333 <td><a href="CodeAsm/qdo.html#QDO" title="VE_QDO">QDO</a></td>
334 <td>( -- addr ) Control Structure<br>R( -- )<br>start do .. [+]loop</td>
335 </tr>
336 <tr>
337 <td>?do</td>
338 <td><a href="CodeAsm/qdo.html#QDO" title="VE_QDO">QDO</a></td>
339 <td>( -- addr ) Control Structure<br>R( -- )<br>start do .. [+]loop</td>
340 </tr>
341 <tr>
342 <td>?dup</td>
343 <td><a href="CodeAsm/qdup.html#QDUP" title="VE_QDUP">QDUP</a></td>
344 <td>( n1 -- [ n1 n1 ] | 0) Stack<br>R( -- )<br>duplicate TOS if non-zero</td>
345 </tr>
346 <tr>
347 <td>@</td>
348 <td><a href="CodeAsm/fetch.html#FETCH" title="VE_FETCH">FETCH</a></td>
349 <td>( addr -- n ) Memory<br>R( -- )<br>read 1 cell from RAM (or IO or CPU register)</td>
350 </tr>
351 <tr>
352 <td>Edefer</td>
353 <td><a href="CodeAsm/edefer.html#EDEFER" title="VE_EDEFER">EDEFER</a></td>
354 <td>( n &lt;name&gt; -- ) Compiler<br>R( -- )<br>creates a defer vector which is kept in eeprom.</td>
355 </tr>
356 <tr>
357 <td>Edefer</td>
358 <td><a href="CodeAsm/edefer.html#EDEFER" title="VE_EDEFER">EDEFER</a></td>
359 <td>( n &lt;name&gt; -- ) Compiler<br>R( -- )<br>creates a defer vector which is kept in eeprom.</td>
360 </tr>
361 <tr>
362 <td>Rdefer</td>
363 <td><a href="CodeAsm/rdefer.html#RDEFER" title="VE_RDEFER">RDEFER</a></td>
364 <td>( n &lt;name&gt; -- ) Compiler<br>R( -- )<br>creates a RAM based defer vector</td>
365 </tr>
366 <tr>
367 <td>Rdefer</td>
368 <td><a href="CodeAsm/rdefer.html#RDEFER" title="VE_RDEFER">RDEFER</a></td>
369 <td>( n &lt;name&gt; -- ) Compiler<br>R( -- )<br>creates a RAM based defer vector</td>
370 </tr>
371 <tr>
372 <td>[</td>
373 <td><a href="CodeAsm/leftbracket.html#LBRACKET" title="VE_LBRACKET">LBRACKET</a></td>
374 <td>( -- ) Compiler<br>R( -- )<br>put system to interpreter state</td>
375 </tr>
376 <tr>
377 <td>[']</td>
378 <td><a href="CodeAsm/brackettick.html#BRACKETTICK" title="VE_BRACKETTICK">BRACKETTICK</a></td>
379 <td>( -- XT ) Compiler<br>R( -- )<br>what does ' in the interpreter mode do in colon definitions</td>
380 </tr>
381 <tr>
382 <td>\</td>
383 <td><a href="CodeAsm/backslash.html#BACKSLASH" title="VE_BACKSLASH">BACKSLASH</a></td>
384 <td>( -- ) Compiler<br>R( -- )<br>everything up to the end of the current line is a comment</td>
385 </tr>
386 <tr>
387 <td>]</td>
388 <td><a href="CodeAsm/rightbracket.html#RBRACKET" title="VE_RBRACKET">RBRACKET</a></td>
389 <td>( -- ) Compiler<br>R( -- )<br>turn on compiler</td>
390 </tr>
391 <tr>
392 <td>abort</td>
393 <td><a href="CodeAsm/abort.html#ABORT" title="VE_ABORT">ABORT</a></td>
394 <td>( n*x -- ) Exceptions<br>R( n*y -- )<br>send an exception -1</td>
395 </tr>
396 <tr>
397 <td>abort&quot;</td>
398 <td><a href="CodeAsm/abortstring.html#ABORTSTRING" title="VE_ABORTSTRING">ABORTSTRING</a></td>
399 <td>( n*x -- ) Exceptions<br>R( n*y -- )<br>check flag. If true emit some text and throw exception -2</td>
400 </tr>
401 <tr>
402 <td>abort&quot;</td>
403 <td><a href="CodeAsm/abortstring.html#ABORTSTRING" title="VE_ABORTSTRING">ABORTSTRING</a></td>
404 <td>( n*x -- ) Exceptions<br>R( n*y -- )<br>check flag. If true emit some text and throw exception -2</td>
405 </tr>
406 <tr>
407 <td>abs</td>
408 <td><a href="CodeAsm/abs.html#ABS" title="VE_ABS">ABS</a></td>
409 <td>( n1 -- u1 ) Arithmetics<br>R( -- )<br>get the absolute value</td>
410 </tr>
411 <tr>
412 <td>accept</td>
413 <td><a href="CodeAsm/accept.html#ACCEPT" title="VE_ACCEPT">ACCEPT</a></td>
414 <td>( addr n1 -- n2 ) System<br>R( -- )<br>reads a line with with KEY into addr until n2 characters are reveived or cr/lf detected.</td>
415 </tr>
416 <tr>
417 <td>again</td>
418 <td><a href="CodeAsm/again.html#AGAIN" title="VE_AGAIN">AGAIN</a></td>
419 <td>( addr -- ) Control Structure<br>R( -- )<br>go back to begin</td>
420 </tr>
421 <tr>
422 <td>allot</td>
423 <td><a href="CodeAsm/allot.html#ALLOT" title="VE_ALLOT">ALLOT</a></td>
424 <td>( n -- ) System<br>R( -- )<br>allocate memory in RAM</td>
425 </tr>
426 <tr>
427 <td>and</td>
428 <td><a href="CodeAsm/and.html#AND" title="VE_AND">AND</a></td>
429 <td>( n1 n2 -- n3 ) Logic<br>R( -- )<br>bitwise and</td>
430 </tr>
431 <tr>
432 <td>base</td>
433 <td><a href="CodeAsm/base.html#BASE" title="VE_BASE">BASE</a></td>
434 <td>( -- addr ) Numeric IO<br>R( -- )<br>base fo numeric IO</td>
435 </tr>
436 <tr>
437 <td>baud0</td>
438 <td><a href="CodeAsm/usart.html#BAUD0" title="VE_BAUD0">BAUD0</a></td>
439 <td>( -- v) System Value<br>R( -- )<br>returns usart0 baudrate</td>
440 </tr>
441 <tr>
442 <td>begin</td>
443 <td><a href="CodeAsm/begin.html#BEGIN" title="VE_BEGIN">BEGIN</a></td>
444 <td>( -- addr ) Control Structure<br>R( -- )<br>start a control structture</td>
445 </tr>
446 <tr>
447 <td>bl</td>
448 <td><a href="CodeAsm/bl.html#BL" title="VE_BL">BL</a></td>
449 <td>( -- 32 ) Character IO<br>R( -- )<br>put ascii code of the blank to the stack</td>
450 </tr>
451 <tr>
452 <td>c!</td>
453 <td><a href="CodeAsm/cstore.html#CSTORE" title="VE_CSTORE">CSTORE</a></td>
454 <td>( c addr -- ) Memory<br>R( -- )<br>store a byte to RAM address</td>
455 </tr>
456 <tr>
457 <td>c@</td>
458 <td><a href="CodeAsm/cfetch.html#CFETCH" title="VE_CFETCH">CFETCH</a></td>
459 <td>( addr - c1 ) Memory<br>R( -- )<br>fetch a single byte from RAM (or IO or CPU register)</td>
460 </tr>
461 <tr>
462 <td>case</td>
463 <td><a href="CodeAsm/case.html#CASE" title="VE_CASE">CASE</a></td>
464 <td>( -- 0 ) Control Structure<br>R( -- )</td>
465 </tr>
466 <tr>
467 <td>case</td>
468 <td><a href="CodeAsm/case.html#CASE" title="VE_CASE">CASE</a></td>
469 <td>( -- 0 ) Control Structure<br>R( -- )</td>
470 </tr>
471 <tr>
472 <td>catch</td>
473 <td><a href="CodeAsm/catch.html#CATCH" title="VE_CATCH">CATCH</a></td>
474 <td>( xt -- ) Exceptions<br>R( -- ) or R( ny -- )<br>execute the XT and restore stack frame if an exception is thrown</td>
475 </tr>
476 <tr>
477 <td>char</td>
478 <td><a href="CodeAsm/char.html#CHAR" title="VE_CHAR">CHAR</a></td>
479 <td>( -- c ) Tools<br>R( -- )<br>first character of the next word</td>
480 </tr>
481 <tr>
482 <td>cmove&gt;</td>
483 <td><a href="CodeAsm/cmove_g.html#CMOVE_G" title="VE_CMOVE_G">CMOVE_G</a></td>
484 <td>(addr-from addr-to n -- ) Memory<br>R( -- )<br>copy data in RAM</td>
485 </tr>
486 <tr>
487 <td>cold</td>
488 <td><a href="CodeAsm/cold.html#COLD" title="VE_COLD">COLD</a></td>
489 <td>( -- ) System<br>R( -- )<br>main entry word. executes turnkey operation and executes quit</td>
490 </tr>
491 <tr>
492 <td>compile</td>
493 <td><a href="CodeAsm/compile.html#COMPILE" title="VE_COMPILE">COMPILE</a></td>
494 <td>( -- ) Dictionary<br>R( -- )<br>copy the next flash cell to HERE</td>
495 </tr>
496 <tr>
497 <td>constant</td>
498 <td><a href="CodeAsm/constant.html#CONSTANT" title="VE_CONSTANT">CONSTANT</a></td>
499 <td>( n -- ) Compiler<br>R( -- )<br>create a named constant</td>
500 </tr>
501 <tr>
502 <td>count</td>
503 <td><a href="CodeAsm/count.html#COUNT" title="VE_COUNT">COUNT</a></td>
504 <td>( addr -- addr+1 n) String<br>R( -- )<br>addr is the address of a counted string in RAM</td>
505 </tr>
506 <tr>
507 <td>cr</td>
508 <td><a href="CodeAsm/cr.html#CR" title="VE_CR">CR</a></td>
509 <td>( -- ) Character IO<br>R( -- )<br>emits CR/LF</td>
510 </tr>
511 <tr>
512 <td>create</td>
513 <td><a href="CodeAsm/create.html#CREATE" title="VE_CREATE">CREATE</a></td>
514 <td>( -- ) Dictionary<br>R( -- )<br>create a complete dictionary header.</td>
515 </tr>
516 <tr>
517 <td>cscan</td>
518 <td><a href="CodeAsm/char-scan.html#CSCAN" title="VE_CSCAN">CSCAN</a></td>
519 <td>( addr1 n1 c -- addr1 n2 ) String<br>R( -- )<br>Scan string at addr1/n1 until first c, leaving addr1/n2, char at n2 is last non-c character</td>
520 </tr>
521 <tr>
522 <td>cskip</td>
523 <td><a href="CodeAsm/char-skip.html#CSKIP" title="VE_CSKIP">CSKIP</a></td>
524 <td>( addr1 n1 c -- addr2 n2 ) String<br>R( -- )<br>skips leading occurancies in string at addr1/n1 leaving addr2/n2 pointing to the 1st non-c character</td>
525 </tr>
526 <tr>
527 <td>d+</td>
528 <td><a href="CodeAsm/d-plus.html#DPLUS" title="VE_DPLUS">DPLUS</a></td>
529 <td>( d1 d2 -- d3) Arithmetics<br>R( -- )<br>add double cell values</td>
530 </tr>
531 <tr>
532 <td>d+</td>
533 <td><a href="CodeAsm/d-plus.html#DPLUS" title="VE_DPLUS">DPLUS</a></td>
534 <td>( d1 d2 -- d3) Arithmetics<br>R( -- )<br>add double cell values</td>
535 </tr>
536 <tr>
537 <td>d-</td>
538 <td><a href="CodeAsm/d-minus.html#DMINUS" title="VE_DMINUS">DMINUS</a></td>
539 <td>( d1 d2 -- d3 ) Arithmetics<br>R( -- )<br>subtract double cell values</td>
540 </tr>
541 <tr>
542 <td>d-</td>
543 <td><a href="CodeAsm/d-minus.html#DMINUS" title="VE_DMINUS">DMINUS</a></td>
544 <td>( d1 d2 -- d3 ) Arithmetics<br>R( -- )<br>subtract double cell values</td>
545 </tr>
546 <tr>
547 <td>d2*</td>
548 <td><a href="CodeAsm/d-2star.html#D2STAR" title="VE_D2STAR">D2STAR</a></td>
549 <td>( d1 -- d2 ) Arithmetics<br>R( -- )<br>shift a double cell left</td>
550 </tr>
551 <tr>
552 <td>d2*</td>
553 <td><a href="CodeAsm/d-2star.html#D2STAR" title="VE_D2STAR">D2STAR</a></td>
554 <td>( d1 -- d2 ) Arithmetics<br>R( -- )<br>shift a double cell left</td>
555 </tr>
556 <tr>
557 <td>d2/</td>
558 <td><a href="CodeAsm/d-2slash.html#D2SLASH" title="VE_D2SLASH">D2SLASH</a></td>
559 <td>( d1 -- d2 ) Arithmetics<br>R( -- )<br>shift a double cell value right</td>
560 </tr>
561 <tr>
562 <td>d&lt;</td>
563 <td><a href="CodeAsm/d-less.html#DLESS" title="VE_DLESS">DLESS</a></td>
564 <td>( d1 d2 -- flasg) Compare<br>R( -- )<br>compare two values</td>
565 </tr>
566 <tr>
567 <td>d&gt;</td>
568 <td><a href="CodeAsm/d-greater.html#DGREATER" title="VE_DGREATER">DGREATER</a></td>
569 <td>( d1 d2 -- flag ) Compare<br>R( -- )<br>compares two values (signed)</td>
570 </tr>
571 <tr>
572 <td>d&gt;s</td>
573 <td><a href="CodeAsm/d_to_s.html#D2S" title="VE_D2S">D2S</a></td>
574 <td>( d1 -- n1 ) Conversion<br>R( -- )<br>shrink double cell value to single cell.</td>
575 </tr>
576 <tr>
577 <td>decimal</td>
578 <td><a href="CodeAsm/decimal.html#DECIMAL" title="VE_DECIMAL">DECIMAL</a></td>
579 <td>( -- ) Numeric IO<br>R( -- )<br>set base to 10 (decimal)</td>
580 </tr>
581 <tr>
582 <td>defer!</td>
583 <td><a href="CodeAsm/defer-store.html#DEFERSTORE" title="VE_DEFERSTORE">DEFERSTORE</a></td>
584 <td>( xt1 xt2 -- ) System<br>R( -- )<br>stores xt1 as the xt to be executed when xt2 is called</td>
585 </tr>
586 <tr>
587 <td>defer@</td>
588 <td><a href="CodeAsm/defer-fetch.html#DEFERFETCH" title="VE_DEFERFETCH">DEFERFETCH</a></td>
589 <td>( xt1 -- xt2 ) System<br>R( -- )<br>returns the XT assoziates with the given XT</td>
590 </tr>
591 <tr>
592 <td>depth</td>
593 <td><a href="CodeAsm/depth.html#DEPTH" title="VE_DEPTH">DEPTH</a></td>
594 <td>( -- n ) Stack<br>R( -- )<br>currently used data stack size in cells</td>
595 </tr>
596 <tr>
597 <td>digit</td>
598 <td><a href="CodeAsm/digit.html#DIGIT" title="VE_DIGIT">DIGIT</a></td>
599 <td>( c base -- number flag ) Numeric IO<br>R( -- )<br>convert character to number, set flag if successful</td>
600 </tr>
601 <tr>
602 <td>dinvert</td>
603 <td><a href="CodeAsm/d-invert.html#DINVERT" title="VE_DINVERT">DINVERT</a></td>
604 <td>( d1 -- d2) Arithmetics<br>R( -- )<br>flip all bits in the double cell value</td>
605 </tr>
606 <tr>
607 <td>dinvert</td>
608 <td><a href="CodeAsm/d-invert.html#DINVERT" title="VE_DINVERT">DINVERT</a></td>
609 <td>( d1 -- d2) Arithmetics<br>R( -- )<br>flip all bits in the double cell value</td>
610 </tr>
611 <tr>
612 <td>do</td>
613 <td><a href="CodeAsm/do.html#DO" title="VE_DO">DO</a></td>
614 <td>( -- addr ) Control Structure<br>R( -- )<br>start do .. [+]loop</td>
615 </tr>
616 <tr>
617 <td>does&gt;</td>
618 <td><a href="CodeAsm/does.html#DOES" title="VE_DOES">DOES</a></td>
619 <td>( -- ) Compiler<br>R( -- )</td>
620 </tr>
621 <tr>
622 <td>dp</td>
623 <td><a href="CodeAsm/dp.html#DP" title="VE_DP">DP</a></td>
624 <td>( -- eaddr) System Pointer<br>R( -- )<br>first unused address in flash (NRWW is always used)</td>
625 </tr>
626 <tr>
627 <td>drop</td>
628 <td><a href="CodeAsm/drop.html#DROP" title="VE_DROP">DROP</a></td>
629 <td>( n -- ) Stack<br>R( -- )<br>drop TOS</td>
630 </tr>
631 <tr>
632 <td>dup</td>
633 <td><a href="CodeAsm/dup.html#DUP" title="VE_DUP">DUP</a></td>
634 <td>( n -- n n ) Stack<br>R( -- )<br>duplicate TOS</td>
635 </tr>
636 <tr>
637 <td>e!</td>
638 <td><a href="CodeAsm/estore.html#ESTORE" title="VE_ESTORE">ESTORE</a></td>
639 <td>( n addr -- ) Memory<br>R( -- )<br>write to eeprom address</td>
640 </tr>
641 <tr>
642 <td>e@</td>
643 <td><a href="CodeAsm/efetch.html#EFETCH" title="VE_EFETCH">EFETCH</a></td>
644 <td>( addr - n) Memory<br>R( -- )<br>read 2 bytes from eeprom</td>
645 </tr>
646 <tr>
647 <td>edp</td>
648 <td><a href="CodeAsm/edp.html#EDP" title="VE_EDP">EDP</a></td>
649 <td>( -- eaddr) System Pointer<br>R( -- )<br>first unused address in eeprom</td>
650 </tr>
651 <tr>
652 <td>else</td>
653 <td><a href="CodeAsm/else.html#ELSE" title="VE_ELSE">ELSE</a></td>
654 <td>( addr1 -- addr2) Compiler<br>R( -- )</td>
655 </tr>
656 <tr>
657 <td>emit</td>
658 <td><a href="CodeAsm/emit.html#EMIT" title="VE_EMIT">EMIT</a></td>
659 <td>( -- eaddr) Character IO<br>R( -- )<br>fetch the emit vector and execute it</td>
660 </tr>
661 <tr>
662 <td>emit?</td>
663 <td><a href="CodeAsm/emitq.html#EMITQ" title="VE_EMITQ">EMITQ</a></td>
664 <td>( -- c) Character IO<br>R( -- )<br>fetch emit? vector and execute it</td>
665 </tr>
666 <tr>
667 <td>endcase</td>
668 <td><a href="CodeAsm/endcase.html#ENDCASE" title="VE_ENDCASE">ENDCASE</a></td>
669 <td>( f -- ) Compiler<br>R( -- )</td>
670 </tr>
671 <tr>
672 <td>endcase</td>
673 <td><a href="CodeAsm/endcase.html#ENDCASE" title="VE_ENDCASE">ENDCASE</a></td>
674 <td>( f -- ) Compiler<br>R( -- )</td>
675 </tr>
676 <tr>
677 <td>endof</td>
678 <td><a href="CodeAsm/endof.html#ENDOF" title="VE_ENDOF">ENDOF</a></td>
679 <td>( addr1 -- addr2 ) Compiler<br>R( -- )</td>
680 </tr>
681 <tr>
682 <td>endof</td>
683 <td><a href="CodeAsm/endof.html#ENDOF" title="VE_ENDOF">ENDOF</a></td>
684 <td>( addr1 -- addr2 ) Compiler<br>R( -- )</td>
685 </tr>
686 <tr>
687 <td>execute</td>
688 <td><a href="CodeAsm/execute.html#EXECUTE" title="VE_EXECUTE">EXECUTE</a></td>
689 <td>( xt -- ) System<br>R( -- )<br>execute XT</td>
690 </tr>
691 <tr>
692 <td>exit</td>
693 <td><a href="CodeAsm/exit.html#EXIT" title="VE_EXIT">EXIT</a></td>
694 <td>( -- ) Compiler<br>R( xt -- )<br>end of current colon word</td>
695 </tr>
696 <tr>
697 <td>f_cpu</td>
698 <td><a href="CodeAsm/f_cpu.html#F_CPU" title="VE_F_CPU">F_CPU</a></td>
699 <td>( -- f_cou ) System<br>R( -- )<br>put the cpu frequency on stack</td>
700 </tr>
701 <tr>
702 <td>find</td>
703 <td><a href="CodeAsm/find.html#FIND" title="VE_FIND">FIND</a></td>
704 <td>( addr -- -- [ addr 0 ] | [ xt [-1|1]] ) Tools<br>R( -- )<br>search dictionary</td>
705 </tr>
706 <tr>
707 <td>handler</td>
708 <td><a href="CodeAsm/handler.html#HANDLER" title="VE_HANDLER">HANDLER</a></td>
709 <td>( -- addr ) Exceptions<br>R( -- )<br>used by catch/throw</td>
710 </tr>
711 <tr>
712 <td>heap</td>
713 <td><a href="CodeAsm/heap.html#HEAP" title="VE_HEAP">HEAP</a></td>
714 <td>( -- eaddr) System Pointer<br>R( -- )<br> address of first unallocated RAM</td>
715 </tr>
716 <tr>
717 <td>here</td>
718 <td><a href="CodeAsm/here.html#HERE" title="VE_HERE">HERE</a></td>
719 <td>( -- addr ) System Pointer<br>R( -- )</td>
720 </tr>
721 <tr>
722 <td>hex</td>
723 <td><a href="CodeAsm/hex.html#HEX" title="VE_HEX">HEX</a></td>
724 <td>( -- ) Numeric IO<br>R( -- )<br>set base to 16 (decimal)</td>
725 </tr>
726 <tr>
727 <td>hld</td>
728 <td><a href="CodeAsm/hld.html#HLD" title="VE_HLD">HLD</a></td>
729 <td>( -- addr ) Numeric IO<br>R( -- )<br>address of buffer for pictured numeric output</td>
730 </tr>
731 <tr>
732 <td>hold</td>
733 <td><a href="CodeAsm/hold.html#HOLD" title="VE_HOLD">HOLD</a></td>
734 <td>( c -- ) Numeric IO<br>R( -- )<br>prepend character to pictured numeric output buffer</td>
735 </tr>
736 <tr>
737 <td>i</td>
738 <td><a href="CodeAsm/i.html#I" title="VE_I">I</a></td>
739 <td>( -- n ) Control Structure<br>R( loop-sys -- loop-sys)<br>current loop counter</td>
740 </tr>
741 <tr>
742 <td>i!</td>
743 <td><a href="CodeAsm/istore.html#ISTORE" title="VE_ISTORE">ISTORE</a></td>
744 <td>( n addr -- ) Memory<br>R( -- )<br>writes a cell in flash</td>
745 </tr>
746 <tr>
747 <td>i@</td>
748 <td><a href="CodeAsm/ifetch.html#IFETCH" title="VE_IFETCH">IFETCH</a></td>
749 <td>( addr -- n1 ) Memory<br>R( -- )<br>reads a cell from flash, addr is cell address, not byte addres first byte gets into the lower word on tos</td>
750 </tr>
751 <tr>
752 <td>icount</td>
753 <td><a href="CodeAsm/icount.html#ICOUNT" title="VE_ICOUNT">ICOUNT</a></td>
754 <td>( adr -- adr n ) Tools<br>R( -- )<br>get count byte out of packed counted string in flash</td>
755 </tr>
756 <tr>
757 <td>idump</td>
758 <td><a href="CodeAsm/idump.html#IDUMP" title="VE_IDUMP">IDUMP</a></td>
759 <td>( addr len -- ) Tools<br>R( -- )<br>dumps flash memory beginning with address addr and len cells long</td>
760 </tr>
761 <tr>
762 <td>idump</td>
763 <td><a href="CodeAsm/idump.html#IDUMP" title="VE_IDUMP">IDUMP</a></td>
764 <td>( addr len -- ) Tools<br>R( -- )<br>dumps flash memory beginning with address addr and len cells long</td>
765 </tr>
766 <tr>
767 <td>if</td>
768 <td><a href="CodeAsm/if.html#IF" title="VE_IF">IF</a></td>
769 <td>( -- addr ) Control Structure<br>R( -- )<br>start conditional branch</td>
770 </tr>
771 <tr>
772 <td>immediate</td>
773 <td><a href="CodeAsm/immediate.html#IMMEDIATE" title="VE_IMMEDIATE">IMMEDIATE</a></td>
774 <td>( -- ) Compiler<br>R( -- )<br>set immediate flag</td>
775 </tr>
776 <tr>
777 <td>int</td>
778 <td><a href="CodeAsm/intx.html#INTON" title="VE_INTON">INTON</a></td>
779 <td>( -- ) Interrupt<br>R( -- )<br>turns on all interrupts</td>
780 </tr>
781 <tr>
782 <td>int!</td>
783 <td><a href="CodeAsm/intx.html#INTSTORE" title="VE_INTSTORE">INTSTORE</a></td>
784 <td>( xt i -- ) Interrupt<br>R( -- )<br>stores XT as interrupt vector i</td>
785 </tr>
786 <tr>
787 <td>int@</td>
788 <td><a href="CodeAsm/intx.html#INTFETCH" title="VE_INTFETCH">INTFETCH</a></td>
789 <td>( i -- xt ) Interrupt<br>R( -- )<br>fetches XT from interrupt vector i</td>
790 </tr>
791 <tr>
792 <td>interpret</td>
793 <td><a href="CodeAsm/interpret.html#INTERPRET" title="VE_INTERPRET">INTERPRET</a></td>
794 <td>( -- ) System<br>R(i*x - j*x )<br>interpret input word by word. may throw exceptions</td>
795 </tr>
796 <tr>
797 <td>invert</td>
798 <td><a href="CodeAsm/invert.html#INVERT" title="VE_INVERT">INVERT</a></td>
799 <td>( n1 -- n2) Arithmetics<br>R( -- )<br>1-complement of TOS</td>
800 </tr>
801 <tr>
802 <td>is</td>
803 <td><a href="CodeAsm/is.html#IS" title="VE_IS">IS</a></td>
804 <td>( xt1 c&lt;char&gt; -- ) System<br>R( --)<br>stores xt into defer or compiles code to do so at runtime</td>
805 </tr>
806 <tr>
807 <td>is</td>
808 <td><a href="CodeAsm/is.html#IS" title="VE_IS">IS</a></td>
809 <td>( xt1 c&lt;char&gt; -- ) System<br>R( --)<br>stores xt into defer or compiles code to do so at runtime</td>
810 </tr>
811 <tr>
812 <td>itype</td>
813 <td><a href="CodeAsm/itype.html#ITYPE" title="VE_ITYPE">ITYPE</a></td>
814 <td>( addr n -- ) Tools<br>R( -- )<br>reads packed string from flash and emit it</td>
815 </tr>
816 <tr>
817 <td>j</td>
818 <td><a href="CodeAsm/j.html#J" title="VE_J">J</a></td>
819 <td>( -- n ) Control Structure<br>R( loop-sys1 loop-sys2 -- loop-sys1 loop-sys2)<br>loop counter of outer loop</td>
820 </tr>
821 <tr>
822 <td>key</td>
823 <td><a href="CodeAsm/key.html#KEY" title="VE_KEY">KEY</a></td>
824 <td>( -- c ) Character IO<br>R( -- )<br>fetch key vector and execute it</td>
825 </tr>
826 <tr>
827 <td>key?</td>
828 <td><a href="CodeAsm/keyq.html#KEYQ" title="VE_KEYQ">KEYQ</a></td>
829 <td>( -- f) Character IO<br>R( -- )<br>fetch 'key? vector and execute it. Leave true if a character can be read, false otherwise</td>
830 </tr>
831 <tr>
832 <td>leave</td>
833 <td><a href="CodeAsm/leave.html#LEAVE" title="VE_LEAVE">LEAVE</a></td>
834 <td>( -- )<br>R(next limit counter -- next )<br>runtime of leave</td>
835 </tr>
836 <tr>
837 <td>leave</td>
838 <td><a href="CodeAsm/leave.html#LEAVE" title="VE_LEAVE">LEAVE</a></td>
839 <td>( -- )<br>R(next limit counter -- next )<br>runtime of leave</td>
840 </tr>
841 <tr>
842 <td>literal</td>
843 <td><a href="CodeAsm/literal.html#LITERAL" title="VE_LITERAL">LITERAL</a></td>
844 <td>( n -- ) Compiler<br>R( -- )<br>compile a literal in colon defintions</td>
845 </tr>
846 <tr>
847 <td>log2</td>
848 <td><a href="CodeAsm/log2.html#LOG2" title="VE_LOG2">LOG2</a></td>
849 <td>( n1 -- n2 ) Arithmetics<br>R( -- )<br>logarithm base 2 or highest set bitnumber</td>
850 </tr>
851 <tr>
852 <td>loop</td>
853 <td><a href="CodeAsm/loop.html#LOOP" title="VE_LOOP">LOOP</a></td>
854 <td>( addr -- ) Control Structure<br>R( -- )<br>cpmpile (loop) and resolve branch</td>
855 </tr>
856 <tr>
857 <td>lshift</td>
858 <td><a href="CodeAsm/lshift.html#LSHIFT" title="VE_LSHIFT">LSHIFT</a></td>
859 <td>( n1 n2 -- n3) Arithmetics<br>R( -- )<br>logical shift left</td>
860 </tr>
861 <tr>
862 <td>m*</td>
863 <td><a href="CodeAsm/mstar.html#MSTAR" title="VE_MSTAR">MSTAR</a></td>
864 <td>( n1 n2 -- d) Arithmetics<br>R( -- )<br>multiply 2 cells to a double cell</td>
865 </tr>
866 <tr>
867 <td>max</td>
868 <td><a href="CodeAsm/max.html#MAX" title="VE_MAX">MAX</a></td>
869 <td>( n1 n2 -- n1|n2 ) Compare<br>R( -- )<br>compare two values, leave the bigger one</td>
870 </tr>
871 <tr>
872 <td>min</td>
873 <td><a href="CodeAsm/min.html#MIN" title="VE_MIN">MIN</a></td>
874 <td>( n1 n2 -- n1|n2 ) Compare<br>R( -- )<br>compare two values leave the smaller one</td>
875 </tr>
876 <tr>
877 <td>mod</td>
878 <td><a href="CodeAsm/mod.html#MOD" title="VE_MOD">MOD</a></td>
879 <td>( n1 n2 -- n3) Arithmetics<br>R( -- )<br>remainder of division</td>
880 </tr>
881 <tr>
882 <td>negate</td>
883 <td><a href="CodeAsm/negate.html#NEGATE" title="VE_NEGATE">NEGATE</a></td>
884 <td>( n1 -- n2 ) Logic<br>R( -- )<br>2-complement</td>
885 </tr>
886 <tr>
887 <td>noop</td>
888 <td><a href="CodeAsm/noop.html#NOOP" title="VE_NOOP">NOOP</a></td>
889 <td>( -- ) Tools<br>R( -- )<br>do nothing</td>
890 </tr>
891 <tr>
892 <td>not</td>
893 <td><a href="CodeAsm/not.html#NOT" title="VE_NOT">NOT</a></td>
894 <td>( flag -- flag' ) Logic<br>R( -- )<br>identical to 0=</td>
895 </tr>
896 <tr>
897 <td>number</td>
898 <td><a href="CodeAsm/number.html#NUMBER" title="VE_NUMBER">NUMBER</a></td>
899 <td>(addr -- n ) Numeric IO<br>R( -- )<br>convert a word to a number, throw exception -1 on error</td>
900 </tr>
901 <tr>
902 <td>of</td>
903 <td><a href="CodeAsm/of.html#OF" title="VE_OF">OF</a></td>
904 <td>( -- ) Compiler<br>R( -- )<br>see case</td>
905 </tr>
906 <tr>
907 <td>of</td>
908 <td><a href="CodeAsm/of.html#OF" title="VE_OF">OF</a></td>
909 <td>( -- ) Compiler<br>R( -- )<br>see case</td>
910 </tr>
911 <tr>
912 <td>or</td>
913 <td><a href="CodeAsm/or.html#OR" title="VE_OR">OR</a></td>
914 <td>( n1 n2 -- n3 ) Logic<br>R( -- )<br>logical or</td>
915 </tr>
916 <tr>
917 <td>over</td>
918 <td><a href="CodeAsm/over.html#OVER" title="VE_OVER">OVER</a></td>
919 <td>( n1 n2 -- n1 n2 n1 ) Stack<br>R( -- )<br>stack manipulation</td>
920 </tr>
921 <tr>
922 <td>pad</td>
923 <td><a href="CodeAsm/pad.html#PAD" title="VE_PAD">PAD</a></td>
924 <td>( -- addr ) System Pointer<br>R( -- )<br>scratch buffer.</td>
925 </tr>
926 <tr>
927 <td>parse</td>
928 <td><a href="CodeAsm/parse.html#PARSE" title="VE_PARSE">PARSE</a></td>
929 <td>( char &quot;ccc&quot; -- c-addr u ) String<br>R( -- )<br>in input buffer parse ccc delimited string by the delimiter char.</td>
930 </tr>
931 <tr>
932 <td>pause</td>
933 <td><a href="CodeAsm/pause.html#PAUSE" title="VE_PAUSE">PAUSE</a></td>
934 <td>( -- ) Multitasking<br>R( -- )<br>fetch pause vector and execute it. may make a context/task switch</td>
935 </tr>
936 <tr>
937 <td>quit</td>
938 <td><a href="CodeAsm/quit.html#QUIT" title="VE_QUIT">QUIT</a></td>
939 <td>( -- ) System<br>R( -- )<br>main loop of amforth. accept - interpret in an endless loop</td>
940 </tr>
941 <tr>
942 <td>r&gt;</td>
943 <td><a href="CodeAsm/r_from.html#R_FROM" title="VE_R_FROM">R_FROM</a></td>
944 <td>( -- n ) Stack<br>R( n --)<br>move TOR to TOS</td>
945 </tr>
946 <tr>
947 <td>r@</td>
948 <td><a href="CodeAsm/r_fetch.html#R_FETCH" title="VE_R_FETCH">R_FETCH</a></td>
949 <td>( -- n) Stack<br>R( n -- n )<br>fetch content of TOR</td>
950 </tr>
951 <tr>
952 <td>recurse</td>
953 <td><a href="CodeAsm/recurse.html#RECURSE" title="VE_RECURSE">RECURSE</a></td>
954 <td>( -- ) Compiler<br>R( -- )<br>compile XT of the word beeing currently defined into dictionary (! not conforming to ANS!)</td>
955 </tr>
956 <tr>
957 <td>refill</td>
958 <td><a href="CodeAsm/refill.html#REFILL" title="VE_REFILL">REFILL</a></td>
959 <td>( -- f ) IO<br>R( -- )<br>refills the input buffer</td>
960 </tr>
961 <tr>
962 <td>repeat</td>
963 <td><a href="CodeAsm/repeat.html#REPEAT" title="VE_REPEAT">REPEAT</a></td>
964 <td>(addr1 -- addr2 ) Control Structure<br>R( -- )<br>go back to begin</td>
965 </tr>
966 <tr>
967 <td>rot</td>
968 <td><a href="CodeAsm/rot.html#ROT" title="VE_ROT">ROT</a></td>
969 <td>( n1 n2 n3 -- n2 n3 n1) Stack<br>R( -- )<br>stack manupulation</td>
970 </tr>
971 <tr>
972 <td>rp</td>
973 <td><a href="CodeAsm/rp0.html#RP" title="VE_RP">RP</a></td>
974 <td>( -- addr) Stackpointer<br>R( -- )<br>address of variable to store the return stack pointer for inactive tasks</td>
975 </tr>
976 <tr>
977 <td>rp!</td>
978 <td><a href="CodeAsm/rpstore.html#RP_STORE" title="VE_RP_STORE">RP_STORE</a></td>
979 <td>( n -- ) Stackpointer<br>R( -- xy)<br>set return stack pointer</td>
980 </tr>
981 <tr>
982 <td>rp0</td>
983 <td><a href="CodeAsm/rp0.html#RP0" title="VE_RP0">RP0</a></td>
984 <td>( -- addr) Stackpointer<br>R( -- )<br>start value of return stack</td>
985 </tr>
986 <tr>
987 <td>rp@</td>
988 <td><a href="CodeAsm/rpfetch.html#RP_FETCH" title="VE_RP_FETCH">RP_FETCH</a></td>
989 <td>( -- n) Stackpointer<br>R( -- )<br>current return stack pointer address</td>
990 </tr>
991 <tr>
992 <td>rshift</td>
993 <td><a href="CodeAsm/rshift.html#RSHIFT" title="VE_RSHIFT">RSHIFT</a></td>
994 <td>( n1 n2 -- n3 ) Arithmetics<br>R( -- )<br>logical shift right</td>
995 </tr>
996 <tr>
997 <td>rx0</td>
998 <td><a href="CodeAsm/usart.html#RX0" title="VE_RX0">RX0</a></td>
999 <td>( -- c) Hardware Access<br>R( --)<br>get 1 character from input queue, wait if needed</td>
1000 </tr>
1001 <tr>
1002 <td>rx0?</td>
1003 <td><a href="CodeAsm/usart.html#RX0Q" title="VE_RX0Q">RX0Q</a></td>
1004 <td>( -- f) Hardware Access<br>R( --)<br>check if unread characters are in the input queue.</td>
1005 </tr>
1006 <tr>
1007 <td>s&quot;</td>
1008 <td><a href="CodeAsm/squote.html#SQUOTE" title="VE_SQUOTE">SQUOTE</a></td>
1009 <td>( &lt;cchar&gt; -- ) Compiler<br>R( -- )<br>compiles a string to flash, at runtime leaves ( -- addr count) on stack</td>
1010 </tr>
1011 <tr>
1012 <td>s&quot;</td>
1013 <td><a href="CodeAsm/squote.html#SQUOTE" title="VE_SQUOTE">SQUOTE</a></td>
1014 <td>( &lt;cchar&gt; -- ) Compiler<br>R( -- )<br>compiles a string to flash, at runtime leaves ( -- addr count) on stack</td>
1015 </tr>
1016 <tr>
1017 <td>s,</td>
1018 <td><a href="CodeAsm/scomma.html#SCOMMA" title="VE_SCOMMA">SCOMMA</a></td>
1019 <td>( addr len -- ) Compiler<br>R( -- )<br>compiles a string from RAM to Flash</td>
1020 </tr>
1021 <tr>
1022 <td>s&gt;d</td>
1023 <td><a href="CodeAsm/s_to_d.html#S2D" title="VE_S2D">S2D</a></td>
1024 <td>( n1 -- d1 ) Conversion<br>R( -- )<br>extend (signed) single cell value to double cell</td>
1025 </tr>
1026 <tr>
1027 <td>sign</td>
1028 <td><a href="CodeAsm/sign.html#SIGN" title="VE_SIGN">SIGN</a></td>
1029 <td>( n -- ) Numeric IO<br>R( -- )<br>place a - in HLD if value is negative</td>
1030 </tr>
1031 <tr>
1032 <td>sleep</td>
1033 <td><a href="CodeAsm/sleep.html#SLEEP" title="VE_SLEEP">SLEEP</a></td>
1034 <td>( -- ) Interrupt<br>R( -- )<br>calls the MCU sleep instruction. Not useful itself!</td>
1035 </tr>
1036 <tr>
1037 <td>source</td>
1038 <td><a href="CodeAsm/source.html#SOURCE" title="VE_SOURCE">SOURCE</a></td>
1039 <td>( addr1 u1 n-- addr2 u2 ) System<br>R( -- )<br>adjust string from addr1 to addr1+n, reduce length from u1 to u2</td>
1040 </tr>
1041 <tr>
1042 <td>sp</td>
1043 <td><a href="CodeAsm/sp0.html#SP" title="VE_SP">SP</a></td>
1044 <td>( -- addr) Stackpointer<br>R( -- )<br>address of variable to store data stack pointer for inactive tasks</td>
1045 </tr>
1046 <tr>
1047 <td>sp!</td>
1048 <td><a href="CodeAsm/spstore.html#SP_STORE" title="VE_SP_STORE">SP_STORE</a></td>
1049 <td>( addr -- i*x) Stackpointer<br>R( -- )<br>data stack pointer changed to addr</td>
1050 </tr>
1051 <tr>
1052 <td>sp0</td>
1053 <td><a href="CodeAsm/sp0.html#SP0" title="VE_SP0">SP0</a></td>
1054 <td>( -- addr) Stackpointer<br>R( -- )<br>start of data stack</td>
1055 </tr>
1056 <tr>
1057 <td>sp@</td>
1058 <td><a href="CodeAsm/spfetch.html#SP_FETCH" title="VE_SP_FETCH">SP_FETCH</a></td>
1059 <td>( -- n) Stackpointer<br>R( -- )<br>current data stack pointer</td>
1060 </tr>
1061 <tr>
1062 <td>space</td>
1063 <td><a href="CodeAsm/space.html#SPACE" title="VE_SPACE">SPACE</a></td>
1064 <td>( -- ) Character IO<br>R( -- )<br>emits a space (bl)</td>
1065 </tr>
1066 <tr>
1067 <td>state</td>
1068 <td><a href="CodeAsm/state.html#STATE" title="VE_STATE">STATE</a></td>
1069 <td>( -- addr ) Compiler<br>R( -- )<br>system state</td>
1070 </tr>
1071 <tr>
1072 <td>swap</td>
1073 <td><a href="CodeAsm/swap.html#SWAP" title="VE_SWAP">SWAP</a></td>
1074 <td>( n1 n2 -- n2 n1) Stack<br>R( -- )<br>stack manipulation</td>
1075 </tr>
1076 <tr>
1077 <td>then</td>
1078 <td><a href="CodeAsm/then.html#THEN" title="VE_THEN">THEN</a></td>
1079 <td>( addr -- ) Compiler<br>R( -- )<br>finish if</td>
1080 </tr>
1081 <tr>
1082 <td>throw</td>
1083 <td><a href="CodeAsm/throw.html#THROW" title="VE_THROW">THROW</a></td>
1084 <td>( n -- ) Exceptions<br>R( -- )<br>throw an exception</td>
1085 </tr>
1086 <tr>
1087 <td>tib</td>
1088 <td><a href="CodeAsm/tib.html#TIB" title="VE_TIB">TIB</a></td>
1089 <td>( -- addr ) System Pointer<br>R( -- )<br>terminal input buffer address</td>
1090 </tr>
1091 <tr>
1092 <td>to</td>
1093 <td><a href="CodeAsm/to.html#TO" title="VE_TO">TO</a></td>
1094 <td>( n &lt;name&gt; -- ) Tools<br>R( --)<br>store the TOS to value (an EEPROM 16bit cell)</td>
1095 </tr>
1096 <tr>
1097 <td>turnkey</td>
1098 <td><a href="CodeAsm/turnkey.html#TURNKEY" title="VE_TURNKEY">TURNKEY</a></td>
1099 <td>( -- eaddr) System Pointer<br>R( -- )<br>address of the variable that holds an XT to be started by cold before quit takes over</td>
1100 </tr>
1101 <tr>
1102 <td>tx0</td>
1103 <td><a href="CodeAsm/usart.html#TX0" title="VE_TX0">TX0</a></td>
1104 <td>(c -- ) Hardware Access<br>R( --)<br>put 1 character into output queue, wait if needed, enable UDRIE0 interrupt</td>
1105 </tr>
1106 <tr>
1107 <td>tx0?</td>
1108 <td><a href="CodeAsm/usart.html#TX0Q" title="VE_TX0Q">TX0Q</a></td>
1109 <td>( -- f) Hardware Access<br>R( --)<br>check if a character can be appended to output queue.</td>
1110 </tr>
1111 <tr>
1112 <td>type</td>
1113 <td><a href="CodeAsm/type.html#TYPE" title="VE_TYPE">TYPE</a></td>
1114 <td>( addr n -- ) Character IO<br>R( -- )<br>emits a string</td>
1115 </tr>
1116 <tr>
1117 <td>u*/mod</td>
1118 <td><a href="CodeAsm/ustarslashmod.html#USTARSLASHMOD" title="VE_USTARSLASHMOD">USTARSLASHMOD</a></td>
1119 <td>( u1 u2 u3 -- rem quot) Arithmetics<br>R( -- )<br>unsigned division with remainder u3 * u2 / u1</td>
1120 </tr>
1121 <tr>
1122 <td>u.</td>
1123 <td><a href="CodeAsm/udot.html#UDOT" title="VE_UDOT">UDOT</a></td>
1124 <td>( n -- ) Numeric IO<br>R( -- )<br>unsigned numeric output</td>
1125 </tr>
1126 <tr>
1127 <td>u.</td>
1128 <td><a href="CodeAsm/udot.html#UDOT" title="VE_UDOT">UDOT</a></td>
1129 <td>( n -- ) Numeric IO<br>R( -- )<br>unsigned numeric output</td>
1130 </tr>
1131 <tr>
1132 <td>u/mod</td>
1133 <td><a href="CodeAsm/uslashmod.html#USLASHMOD" title="VE_USLASHMOD">USLASHMOD</a></td>
1134 <td>(u1 u2 -- rem quot) Arithmetics<br>R( -- )<br>unsigned division with remainder</td>
1135 </tr>
1136 <tr>
1137 <td>u&lt;</td>
1138 <td><a href="CodeAsm/uless.html#ULESS" title="VE_ULESS">ULESS</a></td>
1139 <td>( u1 u2 -- flasg) Compare<br>R( -- )<br>compare values u1 &lt; u2 (unsigned)</td>
1140 </tr>
1141 <tr>
1142 <td>u&gt;</td>
1143 <td><a href="CodeAsm/ugreater.html#UGREATER" title="VE_UGREATER">UGREATER</a></td>
1144 <td>( u1 u2 -- flag ) Compare<br>R( -- )<br>compares u1 &gt; u2 (unsigned)</td>
1145 </tr>
1146 <tr>
1147 <td>um/mod</td>
1148 <td><a href="CodeAsm/umslashmod.html#UMSLASHMOD" title="VE_UMSLASHMOD">UMSLASHMOD</a></td>
1149 <td>( ud u2 -- rem quot) Arithmetics<br>R( -- )<br>unsigned division ud / u2 with remainder</td>
1150 </tr>
1151 <tr>
1152 <td>unloop</td>
1153 <td><a href="CodeAsm/unloop.html#UNLOOP" title="VE_UNLOOP">UNLOOP</a></td>
1154 <td>( -- ) Control Structure<br>R(loop-sys -- )<br>remove loop-sys</td>
1155 </tr>
1156 <tr>
1157 <td>until</td>
1158 <td><a href="CodeAsm/until.html#UNTIL" title="VE_UNTIL">UNTIL</a></td>
1159 <td>( addr -- ) Compiler<br>R( -- )<br>finish begin with conditional branch</td>
1160 </tr>
1161 <tr>
1162 <td>unused</td>
1163 <td><a href="CodeAsm/unused.html#UNUSED" title="VE_UNUSED">UNUSED</a></td>
1164 <td>( -- n ) Tools<br>R( -- )<br>number of unused flash cells</td>
1165 </tr>
1166 <tr>
1167 <td>up!</td>
1168 <td><a href="CodeAsm/up.html#UP_STORE" title="VE_UP_STORE">UP_STORE</a></td>
1169 <td>( addr -- ) System<br>R( -- )<br>set user pointer</td>
1170 </tr>
1171 <tr>
1172 <td>up@</td>
1173 <td><a href="CodeAsm/up.html#UP_FETCH" title="VE_UP_FETCH">UP_FETCH</a></td>
1174 <td>( -- addr ) System<br>R( -- )<br>get user pointer</td>
1175 </tr>
1176 <tr>
1177 <td>usart0</td>
1178 <td><a href="CodeAsm/usart.html#USART0" title="VE_USART0">USART0</a></td>
1179 <td>( -- ) Hardware Access<br>R( --)<br>initialize usart0</td>
1180 </tr>
1181 <tr>
1182 <td>user</td>
1183 <td><a href="CodeAsm/user.html#USER" title="VE_USER">USER</a></td>
1184 <td>( n -- ) Compiler<br>R( -- )<br>define a new user variable</td>
1185 </tr>
1186 <tr>
1187 <td>value</td>
1188 <td><a href="CodeAsm/value.html#VALUE" title="VE_VALUE">VALUE</a></td>
1189 <td>( n &lt;name&gt; -- ) Compiler<br>R( -- )<br>allocate space for 1 cell in EEPROM. used in conjunction with TO</td>
1190 </tr>
1191 <tr>
1192 <td>variable</td>
1193 <td><a href="CodeAsm/variable.html#VARIABLE" title="VE_VARIABLE">VARIABLE</a></td>
1194 <td>( -- ) Compiler<br>R( -- )<br>create a variable entry and allocate RAM space for it</td>
1195 </tr>
1196 <tr>
1197 <td>ver</td>
1198 <td><a href="CodeAsm/ver.html#VER" title="VE_VER">VER</a></td>
1199 <td>( -- ) Tools<br>R( -- )<br>emits the version string</td>
1200 </tr>
1201 <tr>
1202 <td>wdr</td>
1203 <td><a href="CodeAsm/wdr.html#WDR" title="VE_WDR">WDR</a></td>
1204 <td>( -- ) Interrupt<br>R( -- )<br>calls the MCU wdr instruction</td>
1205 </tr>
1206 <tr>
1207 <td>while</td>
1208 <td><a href="CodeAsm/while.html#WHILE" title="VE_WHILE">WHILE</a></td>
1209 <td>( dest -- orig dest ) Control Structure<br>R( -- )<br>control structure</td>
1210 </tr>
1211 <tr>
1212 <td>word</td>
1213 <td><a href="CodeAsm/word.html#WORD" title="VE_WORD">WORD</a></td>
1214 <td>( c -- addr ) Tools<br>R( -- )<br>skip leading delimiter characters and parses TIB to the next delimiter. copy the word into PAD</td>
1215 </tr>
1216 <tr>
1217 <td>words</td>
1218 <td><a href="CodeAsm/words.html#WORDS" title="VE_WORDS">WORDS</a></td>
1219 <td>( -- ) Tools<br>R( -- )<br>emits a list of all (visible) words in the dictionary</td>
1220 </tr>
1221 <tr>
1222 <td>words</td>
1223 <td><a href="CodeAsm/words.html#WORDS" title="VE_WORDS">WORDS</a></td>
1224 <td>( -- ) Tools<br>R( -- )<br>emits a list of all (visible) words in the dictionary</td>
1225 </tr>
1226 <tr>
1227 <td>xor</td>
1228 <td><a href="CodeAsm/xor.html#XOR" title="VE_XOR">XOR</a></td>
1229 <td>( n1 n2 -- n3) Logic<br>R( -- )<br>exclusive or</td>
1230 </tr>
1231 </table>
1232  
1233 </div>
1234  
1235 <!-- AUTOINCLUDE START "Page/Footer.en.ihtml" DO NOT REMOVE -->
1236 <!-- ============== FOOTER ============== -->
1237 <div class="Footer">
1238 <script type="text/javascript">
1239 <!--
1240 SetRelativePath("../../../");
1241 DrawFooter();
1242 // -->
1243 </script>
1244 <noscript>
1245 <p><b> JavaScript is required for including of the footer </b></p>
1246 </noscript>
1247 </div>
1248 <!-- AUTOINCLUDE END -->
1249  
1250 </body>
1251 </html>