From 5ee8f7e01dfbcb03c705f8bb6f252c2f1b829b46 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 26 Oct 2023 19:54:29 -0400 Subject: add .R PAD U.R U> UNUSED WITHIN --- alee-standalone.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'alee-standalone.cpp') diff --git a/alee-standalone.cpp b/alee-standalone.cpp index d2151c8..509db2f 100644 --- a/alee-standalone.cpp +++ b/alee-standalone.cpp @@ -90,13 +90,8 @@ void user_sys(State& state) state.dict.read(Dictionary::Base)); std::cout << buf << ' '; break; - case 1: // u. - { - Addr ucell = static_cast(state.pop()); - std::to_chars(buf, buf + sizeof(buf), ucell, - state.dict.read(Dictionary::Base)); - std::cout << buf << ' '; - } + case 1: // unused + state.push(static_cast(state.dict.capacity() - state.dict.here())); break; case 2: // emit std::cout << static_cast(state.pop()); -- cgit v1.2.3