|
|
@ -221,14 +221,6 @@ constexpr auto initialize()
|
|
|
|
, S{"+" }, [](auto) { fthp->top() += fthp->pop(); }, 0
|
|
|
|
, S{"+" }, [](auto) { fthp->top() += fthp->pop(); }, 0
|
|
|
|
, S{"-" }, [](auto) { fthp->top() -= fthp->pop(); }, 0
|
|
|
|
, S{"-" }, [](auto) { fthp->top() -= fthp->pop(); }, 0
|
|
|
|
, S{"*" }, [](auto) { fthp->top() *= fthp->pop(); }, 0
|
|
|
|
, S{"*" }, [](auto) { fthp->top() *= fthp->pop(); }, 0
|
|
|
|
, S{"M*" }, [](auto) {
|
|
|
|
|
|
|
|
dcell a = fthp->pop();
|
|
|
|
|
|
|
|
a *= fthp->pop();
|
|
|
|
|
|
|
|
fthp->push(a, a >> 8 * sizeof(cell)); }, 0
|
|
|
|
|
|
|
|
, S{"UM*" }, [](auto) {
|
|
|
|
|
|
|
|
daddr a = std::bit_cast<addr>(fthp->pop());
|
|
|
|
|
|
|
|
a *= std::bit_cast<addr>(fthp->pop());
|
|
|
|
|
|
|
|
fthp->push(a, a >> 8 * sizeof(addr)); }, 0
|
|
|
|
|
|
|
|
, S{"/" }, [](auto) { fthp->top() /= fthp->pop(); }, 0
|
|
|
|
, S{"/" }, [](auto) { fthp->top() /= fthp->pop(); }, 0
|
|
|
|
, S{"MOD" }, [](auto) { fthp->top() %= fthp->pop(); }, 0
|
|
|
|
, S{"MOD" }, [](auto) { fthp->top() %= fthp->pop(); }, 0
|
|
|
|
, S{"AND" }, [](auto) { fthp->top() &= fthp->pop(); }, 0
|
|
|
|
, S{"AND" }, [](auto) { fthp->top() &= fthp->pop(); }, 0
|
|
|
@ -330,7 +322,6 @@ constexpr auto initialize()
|
|
|
|
, S{"CHAR+" }, S{"1 +" }, 0
|
|
|
|
, S{"CHAR+" }, S{"1 +" }, 0
|
|
|
|
, S{"-ROT" }, S{"ROT ROT"}, 0
|
|
|
|
, S{"-ROT" }, S{"ROT ROT"}, 0
|
|
|
|
, S{"2DROP" }, S{"DROP DROP"}, 0
|
|
|
|
, S{"2DROP" }, S{"DROP DROP"}, 0
|
|
|
|
, S{"S>D" }, S{"DUP 0<"}, 0
|
|
|
|
|
|
|
|
, S{"0<" }, S{"0 <"}, 0
|
|
|
|
, S{"0<" }, S{"0 <"}, 0
|
|
|
|
, S{"0<>" }, S{"0 <>"}, 0
|
|
|
|
, S{"0<>" }, S{"0 <>"}, 0
|
|
|
|
, S{"<>" }, S{"= 0="}, 0
|
|
|
|
, S{"<>" }, S{"= 0="}, 0
|
|
|
|