diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2023-12-31 14:50:46 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2023-12-31 14:50:46 -0500 |
commit | 2261914a6b291bf4073cddf30a862df3c3a341e9 (patch) | |
tree | 3b03cec84c391039b60ec83df037fcf3057ce260 /libalee/corewords.cpp | |
parent | 22a89e994939824015a2ee23ac8a4d544a0882b6 (diff) |
distancepos constant
Diffstat (limited to 'libalee/corewords.cpp')
-rw-r--r-- | libalee/corewords.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libalee/corewords.cpp b/libalee/corewords.cpp index d47e092..8ff7ac6 100644 --- a/libalee/corewords.cpp +++ b/libalee/corewords.cpp @@ -241,7 +241,7 @@ void CoreWords::word_semic(State& state) { // Concludes word definition. dcell = Dictionary::MaxDistance; } state.dict.write(cell, - (state.dict.read(cell) & 0x1F) | static_cast<Cell>(dcell << 6)); + (state.dict.read(cell) & 0x1F) | static_cast<Cell>(dcell << Dictionary::DistancePos)); state.dict.latest(cell); } void CoreWords::word_jmp0(State& state) { // Jump if popped value equals zero. |