From bf7fe756a175a90dd82e970e5d620c6d8c459c17 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 11 Mar 2023 16:24:25 -0500 Subject: u. um* --- libalee/corewords.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libalee/corewords.cpp') diff --git a/libalee/corewords.cpp b/libalee/corewords.cpp index f22772c..136619c 100644 --- a/libalee/corewords.cpp +++ b/libalee/corewords.cpp @@ -222,6 +222,14 @@ execute: find(state, word); } break; + case 34: // um* + cell = state.pop(); + dcell = static_cast( + static_cast(state.pop()) * + static_cast(cell)); + state.push(dcell); + state.push(dcell >> (sizeof(Cell) * 8)); + break; default: state.push(index - WordCount); break; -- cgit v1.2.3