Interactive FORTH console

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 )

All wikipages