User Tools

Site Tools


blog:pushbx

Comments on label delta arithmetic

Today I posted a stackoverflow question and answer on how to do arbitrary calculations on assembly language labels, How can I do arbitrary calculations on assembly language labels?. As a companion to that question, here is a collection of comments in which I have referred to label delta arithmetic before.

→ Read more...

2026-03-28 13:25:24 +0100 Mar Sat · ecm · 0 Comments

LZ-style match copy in a window-sized circular buffer

I consider this code "a small masterpiece of 8086 assembler programming", unlike LZEXE's online depacker which buffers the entire depacked data. This code enables streaming decompression with a buffer exactly the size of the match window, for arbitrarily large streams of data.

This is found in the code that depacks the debugger's extpak compressed Extension for lDebug library, which is included in the extpak.eld and list.eld files. The buffer size must be as small as possible to reduce the memory needed by the ELDs. Buffering the entire depacked data is not possible because that exceeds 100 KiB.

→ Read more...

2026-03-28 10:27:22 +0100 Mar Sat · ecm · 0 Comments

Older entries >>

blog/pushbx.txt · Last modified: 2022-04-19 14:24:13 +0200 Apr Tue by ecm