[sdiy] Analysis of the TB-303 CPU timing

Rainer Buchty rainer at buchty.net
Mon Mar 20 16:05:51 CET 2017


On Mon, 20 Mar 2017, KRiSh wrote:

> as far as i remember, disassemblers are not guaranteed to output exactly
> the original code.

You're mixing up disassemblers and decompilers.

The first one turns machine code into human-readable form. This is a 1:1 
conversion and outputs exactly the machine code representation.

Decompilers try to recreate a higher-level language representation and 
approximate the original high-level language source code. Depending on 
the target architecture, they're nowadays doing surprisingly well with 
even reconstructing structs or objects, call frames, etc., but of course 
it will not result in true copy of the original source code.

That old stuff, however, did not even see C, yet a higher-level language 
than C or object-oriented stuff. It was handwoven assembly code for 
reasons of timing and code density.

Rainer




More information about the Synth-diy mailing list