eight_bit_computer.language_defs module

Defnitions for the machine code and microcode.


Extract an instruction byte from the bitdefs that make it up.

If more than one bitdef is passed it will be merged with the others prior to extraction.

Parameters:list (bitdefs) – List of bitdefs to potentially merge and extract
Returns:Bitstring of the instruction byte
Return type:str