-
-
Save TG9541/9c3908995d39b1ea8bad4a2ff755e944 to your computer and use it in GitHub Desktop.
GET and print variable as fixed point in STM8 eForth interpreter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAM | |
#require TOKEN | |
#require >IN | |
#require .ID | |
#require .0 | |
NVM | |
: GET ( string -- ) | |
\ interpretion semantics: get and print variable | |
>IN @ TOKEN CR .ID ." =" | |
>IN ! ' EXECUTE | |
@ .0 | |
; | |
RAM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment