From 5d4e2957c3eba4bca62a45fe68e1eee7b1eff272 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 25 Aug 2026 11:59:57 -0400 Subject: [PATCH] 2078347557474849137 --- ...-smaller-code-size-possible-with-custom.md | 4 +- .../index.md | 46 +++++++++++++++++++ .../index.md | 33 ------------- archive/threads/NOTimothyLottes/index.md | 2 +- 4 files changed, 49 insertions(+), 36 deletions(-) rename archive/threads/NOTimothyLottes/{2026-07-18-i-realized-at-some-point-i-can-have-most => 2026-07-18-all-0-6-argument-syscall-options-in-32-bytes}/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md (89%) create mode 100644 archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/index.md delete mode 100644 archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/index.md diff --git a/archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md b/archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md similarity index 89% rename from archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md rename to archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md index 3e7fdb5..ee3d6a2 100644 --- a/archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md +++ b/archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom.md @@ -7,7 +7,7 @@ author: "Boris Chuprin" handle: noop_dev post_id: "2078359568636080568" date: 2026-07-18 -archived: 2026-08-23 +archived: 2026-08-25 draft: true tags: - archive @@ -32,4 +32,4 @@ parent_post_id: "2078349730204078527" ## Related -- Spine: [[archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most]] +- Spine: [[archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes]] diff --git a/archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/index.md b/archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/index.md new file mode 100644 index 0000000..eb7050f --- /dev/null +++ b/archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/index.md @@ -0,0 +1,46 @@ +--- +title: "All {0-6} argument syscall options in 32-bytes." +type: archive +source: twitter +source_url: "https://x.com/NOTimothyLottes/status/2078347557474849137" +author: "NOTimothyLottes" +handle: NOTimothyLottes +post_id: "2078347557474849137" +date: 2026-07-18 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - NOTimothyLottes +description: "All {0-6} argument syscall options in 32-bytes." +in_reply_to: "" +--- + +## Source + +- URL: https://x.com/NOTimothyLottes/status/2078347557474849137 +- Author: NOTimothyLottes (@NOTimothyLottes) +- Posted: 2026-07-18 05:14:06 + +## Thread + +**1/** + +All {0-6} argument syscall options in 32-bytes. The plan is to embed the interpreter inside the words with a 3-byte overhead {AD (lodsd), FF E0 (jmp rax)} so levering lots of x86-64 stuff for minimal size + +![](https://pbs.twimg.com/media/HNfFmXoXkAAMHM9?format=png&name=orig) + +**2/** + +Everything forced in lower 32-bit, but still building around 64-bit support. Since I'm not using x86-64 CALL/RET I can free up the stack ops strictly for the data stack. + +![](https://pbs.twimg.com/media/HNfGRZvXEAEtaKH?format=png&name=orig) + +**3/** + +I realized at some point I can have most interpreted forth-style words in an aligned 8-bytes. So can make a very small interpreter. + +![](https://pbs.twimg.com/media/HNfHl-dXcAAf6Om?format=png&name=orig) + +Branches: [[archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom]] diff --git a/archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/index.md b/archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/index.md deleted file mode 100644 index f258e02..0000000 --- a/archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/index.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: "I realized at some point I can have most interpreted forth-style words in an aligned 8-bytes." -type: archive -source: twitter -source_url: "https://x.com/NOTimothyLottes/status/2078349730204078527" -author: "NOTimothyLottes" -handle: NOTimothyLottes -post_id: "2078349730204078527" -date: 2026-07-18 -archived: 2026-08-23 -draft: false -tags: - - archive - - twitter - - NOTimothyLottes -description: "I realized at some point I can have most interpreted forth-style words in an aligned 8-bytes." -in_reply_to: "" ---- - -## Source - -- URL: https://x.com/NOTimothyLottes/status/2078349730204078527 -- Author: NOTimothyLottes (@NOTimothyLottes) -- Posted: 2026-07-18 05:22:44 - -## Thread - -**1/** - -I realized at some point I can have most interpreted forth-style words in an aligned 8-bytes. So can make a very small interpreter. - -![](https://pbs.twimg.com/media/HNfHl-dXcAAf6Om?format=png&name=orig) -Branches: [[archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most/2026-07-18-noop_dev-even-smaller-code-size-possible-with-custom]] diff --git a/archive/threads/NOTimothyLottes/index.md b/archive/threads/NOTimothyLottes/index.md index a44a27d..47380e8 100644 --- a/archive/threads/NOTimothyLottes/index.md +++ b/archive/threads/NOTimothyLottes/index.md @@ -93,7 +93,7 @@ tags: - [[archive/threads/NOTimothyLottes/2026-07-14-another-round-of-getting-optimized-error-checking]] - [[archive/threads/NOTimothyLottes/2026-07-15-one-advantage-of-sar-aka-signed-is-that-the-shift]] - [[archive/threads/NOTimothyLottes/2026-07-17-oh-f-it-the-urge-to-drop-the-c-baggage-was-too]] -- [[archive/threads/NOTimothyLottes/2026-07-18-i-realized-at-some-point-i-can-have-most]] +- [[archive/threads/NOTimothyLottes/2026-07-18-all-0-6-argument-syscall-options-in-32-bytes]] - [[archive/threads/NOTimothyLottes/2026-07-19-the-aim-of-course-keep-the-stuff-that-doesnt-need]] - [[archive/threads/NOTimothyLottes/2026-07-22-working-through-rough-draft-of-assembly-for-a]] - [[archive/threads/NOTimothyLottes/2026-08-02-re-fpga-land-alus-im-firmly-distracted-by-an]]