amforth

  1,822 downloads
5.9 GPL (GNU General Public License)    
2.7/5 28
A compact Forth interpreter and compiler

description

download

specifications

changelog

amforth is an open source and compact Forth compiler and interpreter implemented in assembly language and Forth itself.

Flash structure:

+------------------ 0000 --------------+
| Interrupt vectors |
| |
+------------------ 0026 --------------+
| initialization code |
| interrupt routines |
| "colon" dictionary |
| |
|LATEST: |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
+------------- nrww section -----------+
| inner interpreter (docol, next) |
| "primitive" dictionary |
| Link to "colon" dictionary |
+----------- flashend -----------------+

RAM:

+--------------- 0000 -----------------+
| 0-31: register set |
|31-59: io space |
+--------------------------------------+
|60-84: usart buffer |
|84.. : TIB, PAD, HLD buffers |
| HEAP: start of variable space |
| |
| ^ |
| | |
| data stack, growing downward |
+---------- ramsize - $80 -------------|
| ^ |
| | |
| return stack, growing downward |
+---------- ram size ------------------+
READ MORE   
Last updated on August 3rd, 2015
1  
amforth

0 User reviews so far.

SUBMIT