Synthetic Programming (HP-41)


Synthetic programming is an advanced technique for programming the HP-41C and Elektronika B3-34 calculators, involving creating instructions that cannot be obtained using the standard capabilities of the calculator.
Some HP-41C instructions are coded in memory using multiple bytes. Some of these sequence of bytes correspond to instructions the calculator is able to execute, but these cannot be entered in the program memory using conventional program entry methods Synthetic programming uses a bug in the calculator firmware to enter those byte sequences as a sequence of other instructions, then partially skipping halfway through the first instruction, so that the calculator believes the end of the first instruction is actually the beginning of a new one.
It is not clear if the creators behind the HP-41 were aware of all these "black holes". HP did not officially support these techniques, but probably was intrigued by the strange operations and in some cases allowed enthusiasts to practice in their offices and helped to improve it among a whole sense of curiosity. It was kept as a kind of wonder, even secret, in technical schools.