aw / fiveforths

32-bit RISC-V Forth for microcontrollers
https://fiveforths.a1w.ca
MIT License
66 stars 3 forks source link

STORE primitive is incorrect #14

Closed aw closed 1 year ago

aw commented 1 year ago

After some testing, it appears the STORE primitive is incorrect. Its definition:

# ! ( x addr -- )       Store x at addr

Is actually doing the opposite and trying to store addr at x.