summary refs log tree commit diff
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-09-12 20:49:03 -0700
committerIrene Knapp <ireneista@irenes.space>2026-09-12 20:49:03 -0700
commit83cd94b2529dc7879d0b155965a36db6a5952f56 (patch)
tree07e319a9c7c86c2afeed2af1fb69c80d13b16a9e
parent010625ab1a82f95a2d5dd51939a25636c5fdcbf9 (diff)
swap the order of parameters to hexdump-between
it was confusing from the start, and we had one too many issues with failing to remember it. finally taken care of :)

Force-Push: yes
Change-Id: I9782621f747e84d50d1794e3f1669cb5afb77038
-rw-r--r--dynamic.e8
1 files changed, 4 insertions, 4 deletions
diff --git a/dynamic.e b/dynamic.e
index af5d9b2..d792137 100644
--- a/dynamic.e
+++ b/dynamic.e
@@ -180,15 +180,15 @@
   newline 5 ndrop ;
 
 
-~ (end, start --)
+~ (start, end --)
 : hexdump-between
-  dup 16 1- invert &
+  swap dup 16 1- invert &
   { dup 3 pick > }
   { 3dup hexdump-row 16 + } while 3 ndrop ;
 
 
 ~ (start, length --)
-: hexdump-from swap dup 3unroll + swap hexdump-between ;
+: hexdump-from swap dup 3unroll + hexdump-between ;
 
 
 ~ (start --)
@@ -199,7 +199,7 @@
 : describe-hex
   dup word-heading
   dup guess-entry-end swap entry-to-execution-token
-  hexdump-between ;
+  swap hexdump-between ;
 
 
 ~ (entry pointer --)