mikaelpatel / Arduino-FVM

Byte Token Threaded Forth Virtual Machine (FVM) for Arduino

Home Page:https://mikaelpatel.github.io/Arduino-FVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow more than 128 kernel words

mikaelpatel opened this issue · comments

The current token mapping allows for at most 128 kernel and 128 application words. Byte positive values (0..127) are for kernel implementation and negative (-128..-1) for application.

The inner token interpreter has been updated and will allow up to 256 kernel words. This is done with an extended operation. The lookup function will return 0..255 and higher values for application word. There is a need for additional mapping tables when allowing threaded code in SRAM and/or EEPROM.