Skip to content

Instantly share code, notes, and snippets.

@rustyoz
rustyoz / bungao_compression
Created April 30, 2012 06:46
A compression algorithm
set a, text_uncompressed
set b, compress_to_here
JSR compress
SET A, compress_to_here
add b, 1
jsr decompress
sub pc, 1
;compress
;takes A as string start