Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider supporting MOVE at toplevel #302

Open
tkers opened this issue Jan 5, 2019 · 0 comments
Open

Consider supporting MOVE at toplevel #302

tkers opened this issue Jan 5, 2019 · 0 comments

Comments

@tkers
Copy link
Member

tkers commented Jan 5, 2019

Right now move and friends are only available at run-time, or at compile-time from the host context. Consider supporting these words at compile-time in the target context too, in a way that they cross-copy memory from the host to the ROM.

The word mem, already works in a similar way: compiling data from host to ROM at the dictionary pointer.

Considerations:

  • Referencing both memory spaces might be confusing to the user
  • It's probably unlikely that you want to duplicate data in the ROM (with the amount of space available)
  • It's probably more common that you want to copy data from the host to the ROM (when using meta definitions or host computations)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant