let's find out much compression of opcodes (not including their immediate operands) would reduce the code size of Super Mario Bros.
https://gist.github.com/notwa/1aba32c1dd5fa60862aa63e7b7665b6f
the answer is not quite 30%. i used Golomb coding here, but Huffman yields a very similar result.
also this code is kinda bleh (i even just spotted a var called 'asdf' and an off-by-one) but i don't feel like working on it anymore tonight.
quick and *very* non-exhaustive test shows MM only(?) has ~25% more code and compresses a couple percent better.
also neither of these games use more than 128 unique instructions, so you could just drop a bit and get 12.5% for free*.
* not including the LUT cost, but this is all theoretical anyway.