From 078edef880b89f8eb8ab6dc89e9b454eb55f244e Mon Sep 17 00:00:00 2001 From: Doug Masten Date: Sat, 27 Jun 2020 04:17:05 -0500 Subject: [PATCH] Optimize match offset code in 6809 LZSA2 depacker --- asm/6809/unlzsa2b.s | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/asm/6809/unlzsa2b.s b/asm/6809/unlzsa2b.s index 668ed1b..0402c1f 100644 --- a/asm/6809/unlzsa2b.s +++ b/asm/6809/unlzsa2b.s @@ -1,4 +1,4 @@ -; unlzsa2b.s - 6809 backward decompression routine for raw LZSA2 - 175 bytes +; unlzsa2b.s - 6809 backward decompression routine for raw LZSA2 - 174 bytes ; compress with lzsa -f2 -r -b ; ; in: x = last byte of compressed data @@ -119,10 +119,9 @@ lz2lowof ldb ,-x ; load low 8 bits of offset lz2gotof nega ; reverse sign of offset in D negb sbca #0 - std