Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG LCD_DISCO_F746NG mbed
FVM
FORTH Virtual Machine¶
Architecture¶
double stack VM with separate data and return stacks
Command Set¶
Control flow¶
0x00 nop 0x01 jmp <addr> 0x02 ?jmp <addr> 0x03 call <addr> 0x04 ret 0x05 lit <value> ( -- value ) 0xFF bye
Input/Output¶
0x10 key ( -- char ) 0x11 emit 0x12 ?key ( -- bool ) 0x13 ?emit ( -- bool )