aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2023-02-24 08:50:46 -0500
committerClyne Sullivan <clyne@bitgloo.com>2023-02-24 08:50:46 -0500
commit914a75b2097090595d12015b750f97dc55bf7dcd (patch)
tree8d61a2e999d74a69b70640fddf6058c56065a034
parentdac0553eb5a4bd7b8b6ce408c18bd4d2779e094f (diff)
fix decimal and hex
-rw-r--r--core.fth4
1 files changed, 2 insertions, 2 deletions
diff --git a/core.fth b/core.fth
index 4f7ef81..85744a7 100644
--- a/core.fth
+++ b/core.fth
@@ -36,8 +36,8 @@
: postpone 1 3 cells ! ; imm
: _input 4 cells ;
-: decimal 1 1+ base ! 1010 base ! ;
-: hex 1 1+ base ! 10000 base ! ;
+: decimal 10 base ! ;
+: hex 16 base ! ;
: ['] ' postpone literal ; imm
: [ 0 state ! ; imm