From 3ce063187bcf8864f73e43a716c1ca2fcdfd38a6 Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Sat, 28 Feb 2026 20:30:44 +0000 Subject: [PATCH] Fix 2DUP --- wipforth.wat | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/wipforth.wat b/wipforth.wat index 960875c..c19b4bd 100644 --- a/wipforth.wat +++ b/wipforth.wat @@ -212,12 +212,8 @@ call $next) (func $twodup - global.get $sp - i32.const 4 - i32.add - i32.load - global.get $sp - i32.load + global.get $sp i32.load + global.get $sp i32.const 4 i32.add i32.load call $push call $push call $next)